mlsanityData to 7 Oct 2026

Understanding Formal Reasoning Failures in LLMs as Abstract Interpreters

arXiv 2503.12686 ↗First posted 16 Mar 2025cs.LG cs.PL cs.SEcited by 1

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Large language models (LLMs) are increasingly used for program verification, and yet little is known about how they reason about program semantics during this process. In this work, we focus on abstract interpretation based-reasoning for invariant generation and introduce two novel prompting strategies that aim to elicit such reasoning from LLMs. We evaluate these strategies across several state-of-the-art LLMs on 22 programs from the SV-COMP benchmark suite widely used in software verification. We analyze both the soundness of the generated invariants and the key thematic patterns in the models' reasoning errors. This work aims to highlight new research opportunities at the intersection of LLMs and program verification for applying LLMs to verification tasks and advancing their reasoning capabilities in this application.

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 18 of its 43 references that are in the map. First posted on arXiv 16 Mar 2025.

Builds on

18 of 43 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Code Llama: Open Foundation Models for Code24 Aug

Other references · 17

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  5. 2024Qwen2 Technical Reportcited by 2,076
  6. 2024How to use and interpret activation patchingcited by 191
  7. 2024HelpSteer2-Preference: Complementing Ratings with Preferencescited by 129
  8. 2023Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Modelscited by 92
  9. 2023Diagnostic Reasoning Prompts Reveal the Potential for Large Language Model Interpretability in Medicinecited by 83
  10. 2023Finding Inductive Loop Invariants using Large Language Modelscited by 35
  11. 2023Ranking LLM-Generated Loop Invariants for Program Verificationcited by 33
  12. 2024Enhancing Automated Loop Invariant Generation for Complex Programs with Large Language Modelscited by 7
5 more
  1. 2025Unsupervised Concept Vector Extraction for Bias Control in LLMscited by 7
  2. 2024PromptExp: Multi-granularity Prompt Explanation of Large Language Modelscited by 6
  3. 2024Frame Representation Hypothesis: Multi-Token LLM Interpretability and Concept-Guided Text Generationcited by 5
  4. 2024Interpretable Cross-Examination Technique (ICE-T): Using highly informative features to boost LLM performancecited by 2
  5. 2024Uniform Discretized Integrated Gradients: An effective attribution based method for explaining large language modelscited by 2

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. 2025Can LLMs Reason About Program Semantics? A Comprehensive Evaluation of LLMs on Formal Specification Inference
  2. 2025Integrating Symbolic Execution with LLMs for Automated Generation of Program Specifications
  3. 2026A2RBench: An Automatic Paradigm for Formally Verifiable Abstract Reasoning Benchmark Generation
  4. 2026LGMT: Logic-Grounded Metamorphic Testing for Evaluating the Reasoning Reliability of LLMs
  5. 2025LLMs Lean on Priors, Not Programming Language Semantics
  6. 2026Automated Lemma Discovery in Agentic Program Verification
  7. 2026Inferring Code Correctness from Specification
  8. 2025Beyond Correctness: Exposing LLM-generated Logical Flaws in Reasoning via Multi-step Automated Theorem Proving