Can LLMs Solve ASP Problems? Insights from a Benchmarking Study (Extended Version)
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Answer Set Programming (ASP) is a powerful paradigm for non-monotonic reasoning. Recently, large language models (LLMs) have demonstrated promising capabilities in logical reasoning. Despite this potential, current evaluations of LLM capabilities in ASP are often limited. Existing works normally employ overly simplified ASP programs, do not support negation, disjunction, or multiple answer sets. Furthermore, there is a lack of benchmarks that introduce tasks specifically designed for ASP solving. To bridge this gap, we introduce ASPBench, a comprehensive ASP benchmark, including three ASP specific tasks: ASP entailment, answer set verification, and answer set computation. Our extensive evaluations on ASPBench reveal that while 14 state-of-the-art LLMs, including deepseek-r1, o4-mini, and gemini-2.5-flash-thinking, perform relatively well on the first two simpler tasks, they struggle with answer set computation, which is the core of ASP solving. These findings offer insights into the current limitations of LLMs in ASP solving. This highlights the need for new approaches that integrate symbolic reasoning capabilities more effectively. The code and dataset are available at https://github.com/HomuraT/ASPBench.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 23 of its 56 references that are in the map. First posted on arXiv 26 Jul 2025.
Builds on
23 of 56 references.
Closest ancestors · 9
Same direction, newest first
- 2025Logical Reasoning in Large Language Models: A Survey13 Feb
- 2024RULEBREAKERS: Challenging LLMs at the Crossroads between Formal Logic and Human-like Reasoning21 Oct
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools18 Jun
- 2024Are LLMs classical or nonmonotonic reasoners? Lessons from generics5 Jun
- 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMs18 Feb
- 2024LLMs for Relational Reasoning: How Far are We?17 Jan
- 2023Language Models can be Logical Solvers10 Nov
- 2023Specializing Smaller Language Models towards Multi-Step Reasoning30 Jan
- 2022MURMUR: Modular Multi-Step Reasoning for Semi-Structured Data-to-Text Generation16 Dec
Other references · 14
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
- 2020Transformers as Soft Reasoners over Languagecited by 265
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2025A Survey of Large Language Model Agents for Question Answeringcited by 46
- 2024What Makes Math Word Problems Challenging for LLMs?cited by 19
- 2024Large Language Models as Code Executors: An Exploratory Studycited by 12
- 2024Python Symbolic Execution with LLM-powered Code Generationcited by 10
- 2024Towards Automatic Composition of ASP Programs from Natural Language Specificationscited by 7
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026LLMs as ASP Programmers: Self-Correction Enables Task-Agnostic Nonmonotonic Reasoning
- 2026ASP-Bench: From Natural Language to Logic Programs
- 2025Question Answering with LLMs and Learning from Answer Sets
- 2024LLM+Reasoning+Planning for Supporting Incomplete User Queries in Presence of APIs
- 2023Leveraging Large Language Models to Generate Answer Set Programs
- 2025An Empirical Study of Conformal Prediction in LLM with ASP Scaffolds for Robust Reasoning
- 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models
- 2025QuestBench: Can LLMs ask the right question to acquire information in reasoning tasks?