Comparing Linear Probes with Mahalanobis Cosine Similarity
On the map: Mechanistic interpretability → Probing deception, bias and beliefs
Abstract (arXiv)
Linear probes are widely used in interpretability research and often compared by cosine similarity. The Mahalanobis cosine similarity (MCS) between two directions, which reweights the inner product by test data covariance, is a natural task-aware refinement. Ying et al. (2026) report that a probe's MCS to a reference probe trained on the out-of-distribution (OOD) data near-perfectly linearly predicts the probe's OOD AUROC (R^2 = 0.98). Here, we extend this empirical finding across models, layers, and concept domains, and prove this general phenomenon in closed form: For balanced classes whose projections are Gaussian, OOD AUROC and MCS to the reference probe are linear because both are sigmoid-shaped functions of the probe's signal-to-noise ratio (SNR) on the test data. The theory also predicts when this linearity fails, which we verify empirically. MCS offers a theoretically grounded and empirically effective alternative to Euclidean cosine similarity for comparing linear probes.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Probing deception, bias and beliefs, one of 13 directions in Mechanistic interpretability. Builds on 22 of its 48 references that are in the map. First posted on arXiv 17 Jun 2026.
Builds on
22 of 48 references.
References · 22
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2016Understanding intermediate layers using linear classifier probescited by 1,353
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 712
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 659
- 2019Designing and Interpreting Probes with Control Taskscited by 640
10 more
- 2019Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Settingcited by 349
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 249
- 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 244
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
- 2021LogME: Practical Assessment of Pre-trained Models for Transfer Learningcited by 172
- 2022RankMe: Assessing the downstream performance of pretrained self-supervised representations by their rankcited by 153
- 2023Large Language Models can Strategically Deceive their Users when Put Under Pressurecited by 146
- 2021On the Role of Neural Collapse in Transfer Learningcited by 100
- 2023Still No Lie Detector for Language Models: Probing Empirical and Conceptual Roadblockscited by 78
- 2018HappyDB: A Corpus of 100,000 Crowdsourced Happy Momentscited by 9
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Cosine Similarity Is Not Evidence: Measuring the Noise Floor of Interpretability Transfer Under Quantization
- 2026What Linear Probes Miss: Multi-View Probing for Weight-Space Learning
- 2025Spectral Identifiability for Interpretable Probe Geometry
- 2026Probe Generalization as Subspace Selection for OOD Deception Detection
- 2026Decodability is Not Causality: Dissociating Probe Readouts from Behavioral Drivers via SAE Decomposition
- 2026Linear Probing Provides Robust and Efficient Detection of Machine-Generated Text
- 2026Linear Probes Detect Task Format, Not Reasoning Mode in Language Model Hidden States
- 2023Cosine Similarity Knowledge Distillation for Individual Class Information Transfer