arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.11216

Legible Failures: Detecting and Repairing In-Context Binding Errors

Manas Venkata Sai Ravulapalli, Samrath Singh Chadha, Abhinav M. Hari

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A wrong answer does not show whether the model lacked the needed information or held it and failed to use it. On an entity–obligation binding task, a language model can emit an incorrect prompt-supplied binding while a linear probe can recover the correct one from its frozen hidden state. We measure how often this occurs across 16 public checkpoints, each evaluated with three seeds. We fit a probe on a training fold, select its layer on a validation fold, and report results on a disjoint test fold. On the trials each model gets wrong, probe accuracy exceeds the strict present-obligation baseline, 1/K=0.1251/K = 0.125, by +0.196 (95% CI [+0.101, +0.296], bootstrapped over models). A query-entity counterfactual rules out token presence and recency. A score built from the sign of probe–output disagreement improves failure detection over the model’s own confidence by +0.079 AUROC (95% CI [+0.036, +0.126]). Raw probe confidence gives no measurable improvement over model confidence. Steering the residual stream toward the probe-decoded binding, with no gold label, raises accuracy on all eight models tested by a mean of +0.168 (95% CI [+0.066, +0.280]). Where recent studies report that probe-detected errors are resistant to interventions, we find that in-context binding is a setting in which probes are actionable.

1 Introduction

External behaviour cannot distinguish two kinds of failure. A model may answer incorrectly because it lacks a representation of the queried binding entirely, or it may hold a representation in its hidden state without using it to determine the output. We call the latter a legible failure: the correct prompt-supplied binding remains linearly recoverable even though the model emits the wrong token. These two failures call for different responses. The first needs the information supplied. The second may be detectable and repairable at inference time. This paper measures how often legible failures occur, whether probe–output disagreement can detect them, and whether a model’s decoded state can be used to change the output.

We examine these questions on a controlled in-context binding task. Transformers form structures that attach attributes to entities [5], but retrieval from those structures becomes unreliable as entity lists grow [7]. Each trial declares K entity–obligation pairs, inserts an interference block, and queries one entity. The assignments are supplied by the prompt and resampled independently on every trial, so entity identity alone carries no information about its obligation. Though Cheang et al. [4] argue that hidden-state probes track recall of parametric knowledge, that explanation is unavailable for these newly sampled bindings.

For each model, we fit probes on a training fold, choose the read layer on a validation fold, and report results on a disjoint test fold. We then evaluate probe accuracy on the test trials where the model answers incorrectly. Across 16 public checkpoints, each evaluated with three seeds, 14 meet the pre-specified failure-count floor. Across those models, probe accuracy on failures exceeds the present-set baseline by +0.196 (95% CI [+0.101, +0.296]). A query-entity counterfactual holds the

Preprint. Under review.

declarations and their order fixed while changing which entity is queried. The probe follows the corresponding obligation with a mean margin of +0.371 (95% CI [+0.243, +0.503]), showing the probe reads a query-conditional signal rather than lexical presence or recency. On average over a model's failures, the requested binding remains linearly recoverable from the hidden state.

We next build a failure-detection score from probe–output agreement and compare it with the model’s own confidence, predictive entropy, and sampled self-consistency. The signed score improves failure detection over the model’s confidence by +0.079 AUROC (95% CI [+0.036, +0.126]). Raw probe confidence adds no measurable improvement, while predictive entropy remains competitive.

Finally, we test whether the decoded state can be used to change the output. We apply a steering intervention, without a gold label, to the residual stream from the emitted class toward the probe-decoded class at the validation layer. Across all 8 models tested, the intervention raises accuracy by a mean of +0.168 (95% CI [+0.066, +0.280]). A matched-norm random direction repairs fewer trials, and a gold-target arm bounds the maximum improvement. Prior work finds that probe-detected errors resist intervention [2, 13], but in-context binding is a setting where they are not.

The scope of this paper is deliberately bounded by the synthetic task, the single-token answer, the need for white-box access to hidden states, and the use of frozen checkpoints. We therefore treat the intervention as a causal test of the decoded state under this protocol. Section 7 details these limitations.