arXiv Machine Learning

Try Again, Don't Look Back: Blind Resampling Outperforms Self-Repair in Small Code Models

arXiv:2607. 26117v1 Announce Type: cross Abstract: Self-repair - returning a failed program to the model together with its test output and asking for a correction - is a standard component of code agents, and is almost always evaluated against a baseline that does not retry at all.

arXiv AI
Aug 26

Feedback That Backfires: Why Small Language Model Agents Repeat the Call They Just Watched Fail

The study investigates why small language model agents tend to repeat a tool call that just failed. By recording the failed call and its error message in the transcript, the authors measure a negative corrective gain—agents are more likely to repeat the failed action, with a drop of about 1.03 nats per token. The problem is traced to the harness design rather than the model’s understanding of errors, and the authors show that replacing the verbatim call with a runtime-generated description of the failure can reduce this backfiring effect by 76%.

By Esmail Gumaan
arXiv AI
Sep 2

Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair

The study evaluates whether fault localization improves test‑guided code repair by comparing three approaches—blind whole‑solution resampling, spectrum‑based localized infilling, and random‑span infilling—across multiple large language models and benchmarks. Results show that localization is rarely available (only 9.0% of failing candidates), and when it is, localized infilling performs worse than blind resampling, with only suggestive evidence of a benefit over random spans. The findings suggest that targeted edits may not provide a consistent advantage over broader, untargeted repair attempts in current large‑model settings.

By Anik Jha
arXiv AI
6d ago

Consistency Is Not Correction: Separating Confidence, Abstention, and Recovery in LLM Agents

The paper investigates the relationship between confidence signals used by large language model (LLM) agents and three distinct properties: discrimination (ranking answers), selective prediction (withholding some answers), and correction utility (improving answers). It provides an exact decomposition of correction utility into gated recoveries minus gated harms, establishing a bound that limits how many correct recoveries a gate can achieve before it must be run. Experiments on two model scales show that this bound is tight, revealing that many existing verification methods fail to demonstrate genuine improvement and that measurement resolution, rather than the choice of confidence signal, is the primary limitation.

By Khushal Sethi
arXiv AI
Aug 24

Open-Weight Masked Introspection: Measuring What Language Models Can Report About Their Own Computation

The study investigates whether open‑weight language models can introspect on their own internal computations. Using the Open‑Weight Masked Introspection (OWMI) framework, researchers intervened on various internal components of eight models and asked them to report whether changes had occurred. Across 78,000 measurements, none of the models reliably distinguished real interventions from sham ones, with AUROC values essentially at chance. Why It Matters: The findings suggest that current open‑weight models lack the ability to audit their own internal states, highlighting a limitation for oversight that relies on a model’s self‑reporting.

By Emilio Ferrara