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

Manuscript Offprint

arXiv:2608.14465

You Only Pass Once: Answering and Abstaining Together in a Single Forward Pass of a Frozen Language Model

Ziyang Luo, Zhongyao Chu, Xinjie He, Youting Wang, Xukui Qin, Runxiong Wu, Yan-Syuan Chen

Abstract

A frozen language model under-uses the evidence in its hidden states and answers confidently when the context contains no answer. We fix both on the residual stream without changing any weight. For accuracy, a small trained network (the probe) adds an input-dependent vector to the residual at several middle layers; a removable hook, it raises Qwen2.5-1.5B on α\alphaNLI (abductive reasoning) from 5151% to 7373% accuracy. For abstention, a fixed vector (the direction), the mean hidden state of contexts that contain the answer minus that of contexts that do not, scores the hidden state; a low score abstains. On four QA datasets with human answerability labels (Qwen2.5-7B), moving the direction to a dataset it was not fit on costs under 33 percentage points of decision accuracy (from 0.830.83 in domain) on average and still beats asking the model whether its context suffices; the same judgment trained as a classifier into the probe’s activation edit or into LoRA weights loses 1616 and 2222 points and ends below asking. We set out to put both functions on a single forward pass, and found that the probe’s edit changes the very hidden state the direction scores, degrading it. A small map — trained without labels, only to reconstruct the unedited hidden state from the edited one — removes 6363% of that interference on 1.5B. Refit on the hidden-state pairs of LoFiT or LoReFT, the same recipe repairs those methods too: the steering module is replaceable. The resulting system, YOPO, answers and abstains in one forward pass. On α\alphaNLI it raises three-way accuracy (correct answer when the context suffices, abstention when it does not) from 0.380.38 to about 0.750.75 on 1.5B, and stays within 0.020.02 of a two-pass reference, which scores a separate probe-off pass, on 1.5B, 3B and 7B, at half the cost. We also observe improvements on the four QA datasets, where answerability is human-labeled and answers are generated as free-form text. Near-parity with the two-pass reference holds across nine backbones spanning six model families without backbone-specific hyperparameter tuning.

1 Introduction

Ask a frozen language model to reason over a context: choose the more plausible of two explanations for a pair of observations (Bhagavatula et al., 2020), or answer a question from a document. Two failures dominate. The model under-uses what it has: its hidden states contain evidence that never reaches the answer. And it over-trusts what it lacks: when the context has no answer, it answers anyway. Both fixes live on the residual stream, so we build both there and never change a backbone weight.

Editing the residual stream raises accuracy. We call any component that edits the residual stream of a frozen model a writer. Ours, the probe, is a small MLP that at three middle layers adds to the residual a vector whose direction and length depend on the input. It raises α\alphaNLI accuracy from 50.8%50.8\% to 72.5%72.5\% on the 1.5B model (Qwen2.5-1.5B; Qwen Team, 2024) and from 77.5%77.5\% to 82.4%82.4\% on 7B (§3). Trained on the same data, LoFiT (Yin et al., 2024) (fixed per-head offset vectors) and LoReFT (Wu et al., 2024) (a learned low-rank rewrite of a residual subspace) match or beat it on its training task on 1.5B, and off that task it can lower accuracy; we use it because it is removable and because every later result holds for the other writers too.

Scoring the residual stream enables abstention, and a fixed vector transfers best. Prompting Qwen2.5-7B to say whether its context is sufficient reaches 0.7130.713 decision accuracy (the fraction of contexts correctly judged sufficient or not) averaged over SQuAD 2.0, RepLiQA, MuSiQue-Curated and MuSiQue-Full. A fixed vector d\mathbf{d}, the mean hidden state of sufficient examples minus that of insufficient ones, reaches 0.8250.825 on the same forward pass. Following Lavi et al. (2025) we use this direction on reasoning tasks. Averaged over the twelve source-to-target pairs of the four datasets, the direction loses 2.32.3 decision-accuracy points from its in-domain 0.8250.825 and still beats the target’s own prompt by 8.98.9; the same judgment trained into the probe loses 16.416.4 and trained into LoRA (Hu et al., 2022) weights 22.222.2, ending 3.43.4 and 2.32.3 points below that prompt (§4).

Running both on one forward pass creates a conflict on the smaller models. Separate passes for the probe and the direction double inference cost. On one pass the probe’s edit changes the hidden state the direction scores: on 1.5B the direction’s AUROC on HellaSwag, a dataset it was not fit on, drops from 0.9190.919 to 0.8360.836. Training the judgment on edited states would lose its transfer (§4), so we undo the edit before scoring: a small map is trained to reconstruct the unedited residual from the edited one, with a squared-error loss and no label. On 1.5B it recovers 63%63\% of the lost AUROC (0.8360.836 to 0.8880.888, probe off 0.9190.919); refit on LoFiT, LoReFT or LoRA pairs, it repairs those writers as well (§5.3). The resulting system, YOPO (You Only Pass Once), answers and abstains in one forward pass of a frozen backbone.

Contributions.

(i) A writer abstraction and one instance. Any edit to the residual stream is a writer. Our probe raises α\alphaNLI accuracy from 50.8%50.8\% to 72.5%72.5\% on 1.5B and from 77.5%77.5\% to 82.4%82.4\% on 7B with no weight change; on the same data LoFiT, LoReFT and LoRA (Hu et al., 2022) match or exceed it on its training task on 1.5B (§3, App. B–C). (ii) The sufficiency judgment transfers across datasets only as a fixed vector. On four QA datasets with human labels (Qwen2.5-7B), the direction loses 2.32.3 decision-accuracy points cross-domain from its in-domain 0.8250.825; the same judgment trained into the probe loses 16.416.4 and into LoRA weights 22.222.2, and both end below the target’s own prompt (§4). (iii) A label-free map that removes the probe’s effect on the direction, and works for other writers. Trained only to reconstruct the unedited residual, it recovers 63%63\% / 54%54\% of the HellaSwag AUROC the probe costs the direction on 1.5B / 3B, returns the 7B AUROC to within 0.0030.003 of the unedited pass, and, refit on LoFiT, LoReFT or LoRA pairs, recovers 77%77\% to all of their in-domain loss (§5.2–5.3). (iv) YOPO. Probe, map and direction on one forward pass; nothing is trained on sufficiency labels, and no label from the evaluated dataset is used. On α\alphaNLI it doubles three-way accuracy (correct answer when the context suffices, abstention when it does not) over the frozen 1.5B model (0.3750.375 to 0.7530.753; 0.754±0.0160.754\pm 0.016 over four seeds), is within 0.020.02 of a two-pass reference in domain on 1.5B, 3B and 7B at half the cost (and on nine of ten backbones from six families, App. A), and on four QA datasets with free-form answers, run end to end with three writers at 1.5B, 3B and 7B, it beats the frozen model in 31 of 36 (scale, writer, dataset) settings and is within 0.030.03 of the two-pass reference in 34 (§5.4, §5.5).

References (28)