paper-with-me

홈 › Papers

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

2026-04-30 · Adam Ishay, Joohyung Lee 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.

📄 PDF Abstract BibTeX arXiv:2604.27960

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMs

2024-06-03 · Ryo Kamoi, Yusen Zhang, Nan Zhang, Jiawei Han 외

Self-correction is an approach to improving responses from large language models (LLMs) by refining the responses using LLMs during inference. Prior work has proposed various self-correction frameworks using different so…

Survey

CorrectionLM: Self-Corrections with SLM for Dialogue State Tracking

2024-10-23 · Chia-Hsuan Lee, Hao Cheng, Mari Ostendorf

Large language models (LLMs) have demonstrated self-improvement capabilities via feedback and refinement, but current small language models (SLMs) have had limited success in this area. Existing correction approaches oft…

Dialogue State Tracking

SHARE: An SLM-based Hierarchical Action CorREction Assistant for Text-to-SQL

2025-05-31 · Ge Qu, Jinyang Li, Bowen Qin, Xiaolong Li 외

Current self-correction approaches in text-to-SQL face two critical limitations: 1) Conventional self-correction methods rely on recursive self-calls of LLMs, resulting in multiplicative computational overhead, and 2) LL…

Text to SQLText-To-SQL

Do AI models help produce verified bug fixes?

2025-07-21 · Li Huang, Ilgiz Mustafin, Marco Piccioni, Alessandro Schena 외 arxiv

Among areas of software engineering where AI techniques -- particularly, Large Language Models -- seem poised to yield dramatic improvements, an attractive candidate is Automatic Program Repair (APR), the production of s…

Program Repair

Effective Large Language Model Debugging with Best-first Tree Search

2024-07-26 · Jialin Song, Jonathan Raiman, Bryan Catanzaro

Large Language Models (LLMs) show promise in code generation tasks. However, their code-writing abilities are often limited in scope: while they can successfully implement simple functions, they struggle with more comple…

Code GenerationLanguage ModelingLanguage ModellingLarge Language Model