mlsanityData to 7 Oct 2026

Can LLMs Solve ASP Problems? Insights from a Benchmarking Study (Extended Version)

arXiv 2507.19749 ↗First posted 26 Jul 2025cs.AIcited by 1

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

  1. 2025Logical Reasoning in Large Language Models: A Survey13 Feb
  2. 2024RULEBREAKERS: Challenging LLMs at the Crossroads between Formal Logic and Human-like Reasoning21 Oct
  3. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools18 Jun
  4. 2024Are LLMs classical or nonmonotonic reasoners? Lessons from generics5 Jun
  5. 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMs18 Feb
  6. 2024LLMs for Relational Reasoning: How Far are We?17 Jan
  7. 2023Language Models can be Logical Solvers10 Nov
  8. 2023Specializing Smaller Language Models towards Multi-Step Reasoning30 Jan
  9. 2022MURMUR: Modular Multi-Step Reasoning for Semi-Structured Data-to-Text Generation16 Dec

Other references · 14

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  2. 2020Scaling Laws for Neural Language Modelscited by 6,411
  3. 2024A Survey on Large Language Models for Code Generationcited by 646
  4. 2023Large Language Models for Information Retrieval: A Surveycited by 331
  5. 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
  6. 2020Transformers as Soft Reasoners over Languagecited by 265
  7. 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
  8. 2025A Survey of Large Language Model Agents for Question Answeringcited by 46
  9. 2024What Makes Math Word Problems Challenging for LLMs?cited by 19
  10. 2024Large Language Models as Code Executors: An Exploratory Studycited by 12
  11. 2024Python Symbolic Execution with LLM-powered Code Generationcited by 10
  12. 2024Towards Automatic Composition of ASP Programs from Natural Language Specificationscited by 7
2 more
  1. 2024Can Language Models Pretend Solvers? Logic Code Simulation with LLMscited by 4
  2. 2024Can Large Language Models Understand DL-Lite Ontologies? An Empirical Studycited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026LLMs as ASP Programmers: Self-Correction Enables Task-Agnostic Nonmonotonic Reasoning
  2. 2026ASP-Bench: From Natural Language to Logic Programs
  3. 2025Question Answering with LLMs and Learning from Answer Sets
  4. 2024LLM+Reasoning+Planning for Supporting Incomplete User Queries in Presence of APIs
  5. 2023Leveraging Large Language Models to Generate Answer Set Programs
  6. 2025An Empirical Study of Conformal Prediction in LLM with ASP Scaffolds for Robust Reasoning
  7. 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models
  8. 2025QuestBench: Can LLMs ask the right question to acquire information in reasoning tasks?