Skip to content

How Well Do Pre-Generation Answer Error Probes Transfer? Controlled Evidence in Gemma-3

Ali Jafar, Abdul Ghani, Muhammad Tayyab, Maryam Bashir

cs.CL

Abstract

Can a linear probe on a language model's prompt-time hidden state predict which upcoming answers will be wrong on an unseen corpus? We evaluate frozen Gemma-3-4B-IT representations immediately before decoding across nine medical QA corpora (5,848 binary items; 4,973 cross-corpus) and five MRQA extractive QA corpora (3,235 items; 2,750 cross-corpus). Single-source probes lose error-ranking discrimination under shift (0.624→0.5580.624 \to 0.558 AUROC medical; 0.759→0.7090.759 \to 0.709 MRQA). With multi-source leave-one-corpus-out training, retaining 250 dense features raises AUROC over all 2,560 coordinates from 0.627 to 0.689 on medical QA (cross-source stability F) and from 0.763 to 0.807 on MRQA (pooled F), exceeding sparse autoencoder latents and lexical baselines. Dimension-matched random masks (0.677 medical, 0.788 MRQA), directional-sign checks, and zero-penalty optimizer controls reveal that capacity reduction and optimization regularization drive most gains, while risk extrapolation adds no AUROC benefit over matched β=0β= 0. Disjoint covariance alignment helps medical pooled selection (+0.035 AUROC, -0.013 AP) but hurts MRQA, and cross-task transfer averages near chance (0.500, 0.489).

Create a lesson

Metadata

Categories
cs.CL, cs.LG
Comments
15 pages, 3 figures