Exploring Neural Models for Parsing Natural Language into First-Order Logic
Not on the map. Why?
Abstract (arXiv)
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 FOL. We perform rigorous evaluations and extensive ablations. We also aim to release our code as well as large scale FOL dataset along with models to aid further research in logic-based parsing and inference in NLP.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 3; 2023: 3; 2024: 2; 2025: 2; 2026: 2.
16 papers.
Sort:
By area:
- 2022FOLIO: Natural Language Reasoning with First-Order Logiccited by 233
- 2023Harnessing the Power of Large Language Models for Natural Language to First-Order Logic Translationcited by 59
- 2021Logic-Driven Context Extension and Data Augmentation for Logical Reasoning of Textcited by 46
- 2022Formal Specifications from Natural Languagecited by 33
- 2024Autoformalizing Natural Language to First-Order Logic: A Case Study in Logical Fallacy Detectioncited by 18
- 2025Logic Jailbreak: Efficiently Unlocking LLM Safety Restrictions Through Formal Logical Expressioncited by 16
- 2021Neural Unification for Logic Reasoning over Natural Languagecited by 8
- 2025StepProof: Step-by-step verification of natural language mathematical proofscited by 6
- 2023Hermes: Unlocking Security Analysis of Cellular Network Protocols by Synthesizing Finite State Machines from Natural Language Specificationscited by 4
- 2021Neural-Symbolic Integration for Interactive Learning and Conceptual Groundingcited by 3
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspectivecited by 3
- 2021HySTER: A Hybrid Spatio-Temporal Event Reasonercited by 2
4 more
- 2024Understanding Enthymemes in Argument Maps: Bridging Argument Mining and Logic-based Argumentationcited by 2
- 2026Neuro-Symbolic Strong-AI Robots with Closed Knowledge Assumption: Learning and Deductionscited by 1
- 2026Fixing FOLIO and MALLS: Verified Annotations and an LLM-assisted Framework to Focus Human Relabelingcited by 1
- 2023Continual Reasoning: Non-Monotonic Reasoning in Neurosymbolic AI using Continual Learningcited by 0
- 2026Fixing FOLIO and MALLS: Verified Annotations and an LLM-assisted Framework to Focus Human Relabeling1 Jun 2026
- 2026Neuro-Symbolic Strong-AI Robots with Closed Knowledge Assumption: Learning and Deductions18 Feb 2026
- 2025StepProof: Step-by-step verification of natural language mathematical proofs12 Jun 2025
- 2025Logic Jailbreak: Efficiently Unlocking LLM Safety Restrictions Through Formal Logical Expression18 May 2025
- 2024Understanding Enthymemes in Argument Maps: Bridging Argument Mining and Logic-based Argumentation16 Aug 2024
- 2024Autoformalizing Natural Language to First-Order Logic: A Case Study in Logical Fallacy Detection18 Apr 2024
- 2023Hermes: Unlocking Security Analysis of Cellular Network Protocols by Synthesizing Finite State Machines from Natural Language Specifications6 Oct 2023
- 2023Harnessing the Power of Large Language Models for Natural Language to First-Order Logic Translation24 May 2023
- 2023Continual Reasoning: Non-Monotonic Reasoning in Neurosymbolic AI using Continual Learning3 May 2023
- 2022FOLIO: Natural Language Reasoning with First-Order Logic2 Sep 2022
- 2022Formal Specifications from Natural Language4 Jun 2022
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspective10 Feb 2022
4 more
- 2021Neural-Symbolic Integration for Interactive Learning and Conceptual Grounding22 Dec 2021
- 2021Neural Unification for Logic Reasoning over Natural Language17 Sep 2021
- 2021Logic-Driven Context Extension and Data Augmentation for Logical Reasoning of Text8 May 2021
- 2021HySTER: A Hybrid Spatio-Temporal Event Reasoner17 Jan 2021
- 2021Logic-Driven Context Extension and Data Augmentation for Logical Reasoning of Textcited by 46
- 2022Formal Specifications from Natural Languagecited by 33
- 2024Autoformalizing Natural Language to First-Order Logic: A Case Study in Logical Fallacy Detectioncited by 18
- 2021Neural Unification for Logic Reasoning over Natural Languagecited by 8
- 2025StepProof: Step-by-step verification of natural language mathematical proofscited by 6
- 2023Hermes: Unlocking Security Analysis of Cellular Network Protocols by Synthesizing Finite State Machines from Natural Language Specificationscited by 4
- 2021Neural-Symbolic Integration for Interactive Learning and Conceptual Groundingcited by 3
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspectivecited by 3
- 2021HySTER: A Hybrid Spatio-Temporal Event Reasonercited by 2
- 2024Understanding Enthymemes in Argument Maps: Bridging Argument Mining and Logic-based Argumentationcited by 2
- 2026Neuro-Symbolic Strong-AI Robots with Closed Knowledge Assumption: Learning and Deductionscited by 1
- 2026Fixing FOLIO and MALLS: Verified Annotations and an LLM-assisted Framework to Focus Human Relabelingcited by 1
- 2026Fixing FOLIO and MALLS: Verified Annotations and an LLM-assisted Framework to Focus Human Relabeling1 Jun 2026
- 2026Neuro-Symbolic Strong-AI Robots with Closed Knowledge Assumption: Learning and Deductions18 Feb 2026
- 2025StepProof: Step-by-step verification of natural language mathematical proofs12 Jun 2025
- 2024Understanding Enthymemes in Argument Maps: Bridging Argument Mining and Logic-based Argumentation16 Aug 2024
- 2024Autoformalizing Natural Language to First-Order Logic: A Case Study in Logical Fallacy Detection18 Apr 2024
- 2023Hermes: Unlocking Security Analysis of Cellular Network Protocols by Synthesizing Finite State Machines from Natural Language Specifications6 Oct 2023
- 2022Formal Specifications from Natural Language4 Jun 2022
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspective10 Feb 2022
- 2021Neural-Symbolic Integration for Interactive Learning and Conceptual Grounding22 Dec 2021
- 2021Neural Unification for Logic Reasoning over Natural Language17 Sep 2021
- 2021Logic-Driven Context Extension and Data Augmentation for Logical Reasoning of Text8 May 2021
- 2021HySTER: A Hybrid Spatio-Temporal Event Reasoner17 Jan 2021