Exploring Neural Models for Parsing Natural Language into First-Order Logic
Hrituraj Singh, Milan Aggrawal, Balaji Krishnamurthy

TL;DR
This paper investigates neural sequence-to-sequence models for parsing natural language into First-Order Logic, introducing variable alignment and entity categorization to improve logical consistency.
Contribution
It proposes novel enhancements to neural FOL parsing models, including variable alignment and auxiliary entity category prediction, advancing the accuracy and consistency of semantic parsing.
Findings
Variable alignment improves FOL parsing accuracy.
Entity category prediction enhances logical consistency.
Extensive evaluations demonstrate the effectiveness of proposed methods.
Abstract
Semantic parsing is the task of obtaining machine-interpretable representations from natural language text. We consider one such formal representation - First-Order Logic (FOL) and explore the capability of neural models in parsing English sentences to FOL. We model FOL parsing as a sequence to sequence mapping task where given a natural language sentence, it is encoded into an intermediate representation using an LSTM followed by a decoder which sequentially generates the predicates in the corresponding FOL formula. We improve the standard encoder-decoder model by introducing a variable alignment mechanism that enables it to align variables across predicates in the predicted FOL. We further show the effectiveness of predicting the category of FOL entity - Unary, Binary, Variables and Scoped Entities, at each decoder step as an auxiliary task on improving the consistency of generated…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Speech and dialogue systems
MethodsSigmoid Activation · Tanh Activation · Long Short-Term Memory
