Bridging Natural Language and ASP: A Hybrid Approach Using LLMs and AMR Parsing
Connar Hite, Sean Saud, Raef Taha, Nayim Rahman, Tanvir Atahary, Scott Douglass, and Tarek Taha

TL;DR
This paper introduces a hybrid system combining large language models and AMR parsing to translate natural language into ASP programs, enabling automated solving of logic puzzles with improved explainability.
Contribution
It presents a novel hybrid approach that minimizes LLM use and leverages AMR parsing for systematic ASP generation, advancing natural language to logic programming translation.
Findings
Successfully generates complete ASP programs from natural language puzzles
Reduces reliance on LLMs by using AMR for systematic constraint generation
Demonstrates effectiveness on example logic puzzles
Abstract
Answer Set Programming (ASP) is a declarative programming paradigm based on logic programming and non-monotonic reasoning. It is a tremendously powerful tool for describing and solving combinatorial problems. Like any other language, ASP requires users to learn how it works and the syntax involved. It is becoming increasingly required for those unfamiliar with programming languages to interact with code. This paper proposes a novel method of translating unconstrained English into ASP programs for logic puzzles using an LLM and Abstract Meaning Representation (AMR) graphs. Everything from ASP rules, facts, and constraints is generated to fully represent and solve the desired problem. Example logic puzzles are used to demonstrate the capabilities of the system. While most current methods rely entirely on an LLM, our system minimizes the role of the LLM only to complete straightforward…
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
TopicsLogic, Reasoning, and Knowledge · Semantic Web and Ontologies · Multi-Agent Systems and Negotiation
