mlsanityData to 14 Oct 2026

LLMs as ASP Programmers: Self-Correction Enables Task-Agnostic Nonmonotonic Reasoning

arXiv 2604.27960 ↗First posted 30 Apr 2026cs.AIcited by 0

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Recent large language models (LLMs) have achieved impressive reasoning milestones but continue to struggle with high computational costs, logical inconsistencies, and sharp performance degradation on high-complexity problems. While neuro-symbolic methods attempt to mitigate these issues by coupling LLMs with symbolic reasoners, existing approaches typically rely on monotonic logics (e.g., SMT) that cannot represent defeasible reasoning -- essential components of human cognition. We present "LLM+ASP," a framework that translates natural language into Answer Set Programming (ASP), a nonmonotonic formalism based on stable model semantics. Unlike prior "LLM+ASP" approaches that require manually authored knowledge modules, domain-specific prompts, or evaluation restricted to single problem classes, our framework operates without any per-task engineering and applies uniformly across diverse reasoning tasks. Our system utilizes an automated self-correction loop where structured feedback from the ASP solver enables iterative refinement. Evaluating across six diverse benchmarks, we demonstrate that: (1) stable model semantics allow LLMs to naturally express default rules and exceptions, outperforming SMT-based alternatives by significant margins on nonmonotonic tasks; (2) iterative self-correction is the primary driver of performance, effectively replacing the need for handcrafted domain knowledge; (3) compact in-context reference guides substantially outperform verbose documentation, revealing a "context rot" phenomenon where excessive context hinders constraint adherence.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 16 of its 47 references that are in the map. First posted on arXiv 30 Apr 2026.

Builds on

16 of 47 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025Sudoku-Bench: Evaluating creative reasoning with Sudoku variants22 May
  2. 2025Can LLMs reason over extended multilingual contexts? Towards long-context evaluation beyond retrieval and haystacks17 Apr

Other references · 14

  1. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  2. 2024OpenAI o1 System Cardcited by 1,244
  3. 2023Teaching Large Language Models to Self-Debugcited by 988
  4. 2024Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMscited by 570
  5. 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 501
  6. 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 464
  7. 2025Reasoning Models Don't Always Say What They Thinkcited by 415
  8. 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 302
  9. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 197
  10. 2024On the Self-Verification Limitations of Large Language Models on Reasoning and Planning Taskscited by 142
  11. 2023Translating Natural Language to Planning Goals with Large-Language Modelscited by 133
  12. 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokenscited by 41
2 more
  1. 2025Exploring LLM Reasoning Through Controlled Prompt Variationscited by 10
  2. 2024CLMASP: Coupling Large Language Models with Answer Set Programming for Robotic Task Planningcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Can LLMs Solve ASP Problems? Insights from a Benchmarking Study (Extended Version)
  2. 2023Leveraging Large Language Models to Generate Answer Set Programs
  3. 2024LLM-ARC: Enhancing LLMs with an Automated Reasoning Critic
  4. 2026ASP-Bench: From Natural Language to Logic Programs
  5. 2024Leveraging LLMs for Hypothetical Deduction in Logical Inference: A Neuro-Symbolic Approach
  6. 2025Question Answering with LLMs and Learning from Answer Sets
  7. 2024Learning From Correctness Without Prompting Makes LLM Efficient Reasoner
  8. 2023Reliable Natural Language Understanding with Large Language Models and Answer Set Programming