Confidence Without Cause: Predicting and Localizing Physics-Shortcut Sensitivity in Language Model Hidden States
Shubham Mishra, Atharv Sharma, Dhruv Kumar
Abstract
A language model's confidence on a physics problem deserves trust only if it ignores details irrelevant to the answer. We introduce DECOY (Distractor-Embedded Certified cOunterfactuals for phYsics): 155 families of four prompts differing in one irrelevant detail. A symbolic solver certifies that each edit preserves the answer. Families are labelled by the largest drop in the model's log-probability of the certified answer, using a threshold fixed before probe training. Qwen2.5-7B-Instruct is sensitive on 50.0% of the 140 families yielding labels, and Llama-3.1-8B-Instruct on 22.9%. Effects are largest when distractor values lie numerically close to the answer. A linear probe on Qwen's layer-18 hidden state, averaged over four renderings, predicts sensitivity before generation at AUROC 0.760 with whole families held out. A separately tuned single-rendering probe reaches 0.747. A frozen layer-16 probe reaches 0.820 pooled AUROC on 15 families built after training, though within-cue-type AUROC is lower (0.667-0.6875). Under a paired family bootstrap, the probe performs on par with a fitted token-entropy baseline (AUROC 0.727) and achieves the lowest Brier score among tested predictors (0.204 versus 0.214). Knocking out four attention heads at layer 16 cancels sensitivity on a 20-family panel, localising it to a narrow mechanism. These results show that Qwen's confidence can track irrelevant details, that this failure is detectable before generation, and that targeted intervention can suppress it. DECOY provides certified ground truth and paired-tested baselines for evaluating hidden-state monitors.
Create a lesson
Related papers
ConfGuard: a physics-grounded reference monitor for predictive-maintenance large-language-model agents
Shared title terminology · Arunkumar V, Gangadharan G. R., S. Senthilkumar
Efficient Natural Language to Temporal Logic Translation for Real-Time Physical AI
Shared title terminology · Oliver Schön, Adrien Banse, John Lygeros et al.
Where Structure Enters a World Model: From Predictive Fit to Physical Rollout
Shared title terminology · Panayiotis Christou, Satyapragnya Kar, Flavjo Xhelollari et al.
Physics-Informed Feature Representations and Pretrained Tabular Foundation Models for Generalizable Melt Pool Geometry Prediction
Shared title terminology · Rafid Enayet, Imtiaz Ahmed, Md Habibor Rahman
LoCaR: Localized Canvas Retrieval With Frozen Vision-Language Model
Shared title terminology · Rahim Hossain, Dipanwita Saha, Ashirbad Mishra et al.
Procedure without Judgment: What Small Language Models Learn under an Exact Verifier
Shared title terminology · Arunkumar V, Manoranjan Gandhudi, Gangadharan G. R. et al.