arXiv Computation and Language

Solver-Like Behavior in Large Language Models as Formalizers

The paper investigates large language models (LLMs) that act as formalizers, translating problems into formal programs while leaving the search to a solver. It discovers that the LLMs’ reasoning traces often perform the solver’s work—assigning, testing, and ruling out values—before the program is executed, a phenomenon termed solver‑like behavior (SLB). SLB is prevalent in 85% of traces, consumes 24% of reasoning tokens, and is more common in imperative Python than in declarative languages, yet it does not improve accuracy and can propagate errors. "whyItMatters":"The study shows that evaluating formalizers solely by their program outputs can be misleading, as the reasoning trace may already contain the answer and its errors, highlighting the need to assess how programs are derived."

arXiv Machine Learning
Nov 2

h1: A Taste of the Bitter Lesson in Automated Theorem Proving

The paper introduces h1, a simple agentic loop that interfaces a language model with Lean 4, avoiding complex human-designed workflows. h1 achieves state‑of‑the‑art performance on benchmarks such as PutnamBench, FATE‑X, and FormalConjectures100‑Solved, solving eight open problems and matching or surpassing specialized systems like Goedel‑Architect and AlphaProof Nexus. Experiments show that an efficient Lean interface is crucial for cost and success, suggesting that future evaluations should prioritize execution feedback over elaborate workflows.

By Skander Moalla, Ahmad Rammal, Niket Patel, Remi Munos, Julia Kempe
arXiv AI
Oct 19

Repairing LLM-Generated Specifications with Deterministic Diagnosis

The paper introduces DRAGO, a framework that repairs formal specifications generated by large language models (LLMs) using deterministic, formalism‑specific diagnosis instead of ungrounded LLM critiques. DRAGO selectively rewrites specifications only when the diagnosed error weight decreases, reducing regressions from 11.8% to 1.3% and improving answer accuracy by 12.9 percentage points over zero‑shot formalization and 8.7 percentage points over LLM‑diagnostic repair across five benchmarks. Additionally, the authors identified and corrected rendering defects in Planetarium that caused half of its floor‑tile split instances to be inconsistent with reference formalizations.

By Giovanni Vaccarino, Emanuele La Malfa, Dehai Min, Hanrong Zhang, Pier Luca Lanzi, Lu Cheng, Michael J. Wooldridge, Philip S. Yu, Sara Bernardini
arXiv AI
Oct 31

Verifiable LLM-Guided Focal SMT Solving for Quantified Arrays

The paper introduces LinguaArray, a framework that uses large language models (LLMs) to suggest a small set of focal ground terms or constraints—called a Semantic Focus Set—in quantified array SMT solving. The LLM’s suggestions are then verified by a conventional SMT solver, which remains the sole source of proof. Experiments on 1,015 SMT-LIB instances show that LinguaArray solves up to 69.1% of cases and increases the number of solved instances by 105%–397% compared to the backends alone.

By Kunhang Lv, Rui Han, Fuqi Jia, Yuhang Dong, Feifei Ma, Jian Zhang
arXiv Computation and Language
Nov 11

Catch It Where It Happens: Real Time Error Correction During LLM Reasoning

The paper introduces a real‑time, deterministic verification method for large language models (LLMs) that checks reasoning steps as they are generated, using code-based validation rather than additional model calls. By validating steps in symbolic mathematics with a computer algebra system, the approach identifies errors immediately and allows the model to continue from the correct point. Experiments on the ASyMoB benchmark with three open‑weight models show accuracy gains of 1.4–5.6 percentage points and a 1.8–14.9% reduction in incorrect answers, with only a 6–7% increase in token usage.

By Rotem Elimelech, Michael Shalyt, Ido Kaminer
arXiv AI
Nov 5

Reasoning-Trace Overflow in Code Generation: An Empirical Study of Explicit Reasoning Models

The paper investigates how explicit reasoning in language models can lead to a "reasoning‑trace overflow," where the model spends most of its 32k‑token output budget on reasoning rather than producing code. Across seven models and six code benchmarks, overflow is rare on simple tasks but common on harder benchmarks, often due to repetitive reasoning loops. The study shows that disabling reasoning can sometimes be competitive, while prompt steering and budgeted transitions can mitigate overflow and improve token efficiency.

By Lukas Twist, Helen Yannakoudakis, Jie M. Zhang
arXiv Computation and Language
Aug 28

TRACES: Tagging Reasoning Steps for Adaptive Cost-Efficient Early-Stopping

TRACES (Tagging Reasoning Steps for Adaptive Cost‑Efficient Early‑Stopping) is a lightweight framework that tags reasoning steps of large‑language models in real time, enabling adaptive, cost‑efficient early stopping during inference. By monitoring the types of steps generated, the method identifies when models shift their reasoning after arriving at a correct answer, allowing for interpretable stopping criteria. Experiments on mathematical reasoning benchmarks (MATH500, GSM8K, AIME) and knowledge benchmarks (MMLU, GPQA) show token reductions of 20–50% while preserving accuracy, with more conservative thresholds needed for harder tasks such as BeyondAIME and IMO AnswerBench.

By Yannis Belkhiter, Seshu Tirupathi, Giulio Zizzo, John D. Kelleher