arXiv:2610.08229cs.AIOct 2026

Manuscript Offprint

arXiv:2610.08229

Confidence-Ordering Reversal under Contextual Priors in Neural Decoding

Xinyu Zhang, Sichao Liu

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

ABSTRACT

Contextual priors improve neural-to-language decoding by reshaping candidate scores. However, confidence is read from the same reshaped scores, so the errors a prior leaves behind can become more confident with no change in accuracy to reveal it. In this work, we ask how a prior shapes the confidence of these errors, studying speech retrieval on MEG-MASC and MOUS with local decoding scores and a contextual prior combined by additive shallow fusion, and the fused top-two margin as confidence. Among initially incorrect predictions, we find a confidence-ordering reversal: a larger margin makes a repair, an error that fusion corrects, more likely when the correct candidate starts near the top of the local ranking, but less likely when it starts lower. On MEG-MASC, pooled correctness AUROC is 0.87, yet the AUROC separating repairs from residual errors, which fusion leaves uncorrected, falls from 0.70 at initial ranks 2–3 to 0.39 at ranks 21–50. Errors starting beyond rank 20, inside the reversed region, make up 46.6% of all errors after fusion. We propose a score-level account: a repair must first close the correct candidate's initial deficit, which limits its final margin, whereas a residual error can build a large margin between two incorrect candidates. Through a causal intervention that changes only the fusion weight, we show that the reversal moves to deeper ranks, as the account predicts, and that under a word-level LM prior it keeps moving after accuracy gain peaks, so a weight chosen for accuracy does not settle confidence. Guided by this account, we read local and prior scores separately: read before fusion, the prior's own scores already separate repairs from residual errors where the fused margin reverses, and estimators built on local and prior scores let a selective decoder answer on 74.5% of windows instead of 56.7%, with 92% of its output sets still containing the correct candidate. Confidence after contextual fusion should retain the local and contextual evidence behind each prediction, not just the fused scores. Project Page Code

1 INTRODUCTION

Contextual priors can improve neural-to-language decoding by supplying linguistic structure and sequential context that local neural predictions can miss (Willett et al., 2023; d'Ascoli et al., 2025). They also change the remaining errors. Recent MEG work reports fluent sentences whose content differs from the intended text when neural evidence is weak (Zhang et al., 2026a), and invasive brain-to-text systems exhibit confident but incorrect neural predictions (Huang et al., 2026). In sustained BCI use, users must identify and correct decoded errors (Speier et al., 2016; Card et al., 2026); when confidence determines which outputs are flagged for review, a confidently scored error can pass unflagged and be left for the user to catch. Evaluation nonetheless centres on decoding accuracy or text similarity (Silva et al., 2024). When confidence guides selective output (Kim et al., 2026), the prior shapes both the prediction and the fused scores used to judge it.

We find that strong overall confidence discrimination can conceal opposite orderings of correction outcomes. We study this in offline speech retrieval (Défossez et al., 2023), retaining a fixed candidate pool and separate local and prior scores (Figure 1). The fused margin, the gap between the two highest fused scores, serves as a confidence measure. Among initially incorrect predictions, repairs

†^{\dagger} equal contributors; ∗^{*} Corresponding author: Sichao Liu (sicliu@kth.se) become correct after fusion and residual errors remain incorrect. Across MEG-MASC (Gwilliams et al., 2023) and MOUS (Schoffelen et al., 2019), larger margins favour repairs when the correct candidate starts near the top of the local ranking, but residual errors when it starts lower (Figure 2). On MEG-MASC, pooled correctness AUROC is 0.87, yet repair-separation AUROC falls from 0.70 at ranks 2–3 to 0.39 at ranks 21–50. We call this a confidence-ordering reversal. The reversed region is where errors concentrate: residual errors starting beyond rank 20 account for 46.6% of all post-fusion errors on MEG-MASC. The pre-fusion margin favours residual errors in every group, so fusion itself produces the positive ordering near the top. How does a prior make some errors more confident, and what information can still help identify them?

Figure

Figure 1: Contextual fusion can make an error more confident. A local encoder scores candidates from the current MEG window, while a contextual prior from preceding windows adjusts these scores through additive fusion with weight α=2\alpha = 2. The prior operates at a coarser granularity, so several candidates share one score. Fusion advances the correct candidate ( ⋆\star) from rank 40 to rank 7 without correcting the prediction, while increasing the top-two margin from 0.3 to 0.8. Brackets mark the prior and fused margins. Values are illustrative; real cases are in Table 6.

We trace the reversal to how repairs and residual errors form their margins. A repair must first close the correct candidate's initial score deficit, so its lead is bounded by the remaining contextual advantage, whereas a residual error can acquire a large lead between two incorrect candidates even as the correct candidate advances. Because this bound follows from additive fusion, it holds wherever a prior is added to local scores, and it predicts that increasing fusion weight extends positive repair ordering toward larger initial deficits.

We test this prediction with a causal intervention that varies only the fusion weight, keeping local and prior scores fixed. Under the history-aggregation prior, built from preceding windows, positive ordering extends from no rank group to ranks 11–20 and to larger score deficits, and the boundary never retreats in participant-bootstrap resamples (Figure 3). Under a word-level teacher-forced language-model prior, it also expands down the initial ranking and continues after net accuracy gain has peaked: accuracy and confidence ordering are two different responses to the same prior.

Grouping errors by initial rank exposes the reversal, and the margin-formation account locates its source: fusion merges local competition and prior support into one margin. Guided by this account, we read the two scores separately: the prior's own margin separates the outcomes that the fused margin reverses (Figure 2C), and learned estimators built on both recover positive repair ordering. Feature comparisons show that local features improve selective output beyond richer fused-score features, with further gains from prior features. At matched 92% coverage, the full estimator emits on 74.5% of test windows versus 56.7% for the fused margin. Local and prior scores retain information for identifying confident errors that the final margin does not express.

This paper proceeds in three steps.

Revealing where confident errors arise. In two MEG datasets, the fused margin orders repairs and residual errors oppositely by initial rank, even though pooled correctness AUROC stays high.

Explaining and testing causally. A score-level account of margin formation explains one way priors make errors more confident; a causal intervention on the fusion weight alone confirms the predicted extension of positive ordering, which accuracy gain does not track.

Identifying confident errors from retained information. Learned estimates recover positive repair ordering, and local and prior features improve selective output beyond richer fused-score features.

References (90)