At the Edge of Understanding: Sparse Autoencoders Trace The Limits of Transformer Generalization
On the map: Mechanistic interpretability → Circuits and mechanistic analysis
Abstract (arXiv)
Pre-trained transformers have demonstrated remarkable generalization abilities, at times extending beyond the scope of their training data. Yet, real-world deployments often face unexpected or adversarial data that diverges from training data distributions. Without explicit mechanisms for handling such shifts, model reliability and safety degrade, urging more disciplined study of out-of-distribution (OOD) settings for transformers. By systematic experiments, we present a mechanistic framework for delineating the precise contours of transformer model robustness. We find that OOD inputs, including subtle typos and jailbreak prompts, drive language models to operate on an increased number of fallacious concepts in their internals. We leverage this device to quantify and understand the degree of distributional shift in prompts, enabling a mechanistically grounded fine-tuning strategy to robustify LLMs. Expanding the very notion of OOD from input data to a model's private computational processes, a new transformer diagnostic at inference time is a critical step toward making AI systems safe for deployment across science, business, and government.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Circuits and mechanistic analysis, one of 13 directions in Mechanistic interpretability. Builds on 44 of its 60 references that are in the map. First posted on arXiv 24 Jun 2026.
Builds on
44 of 60 references.
References · 44
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2022Survey of Hallucination in Natural Language Generationcited by 2,075
- 2019Invariant Risk Minimizationcited by 1,854
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
32 more
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2023Steering Language Models With Activation Engineeringcited by 922
- 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 900
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 605
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2024A StrongREJECT for Empty Jailbreakscited by 385
- 2024OR-Bench: An Over-Refusal Benchmark for Large Language Modelscited by 244
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 230
- 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 223
- 2015Convergent Learning: Do different neural networks learn the same representations?cited by 220
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 212
- 2026Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnetcited by 191
- 2024Steering Language Model Refusal with Sparse Autoencoderscited by 95
- 2025Sparse Autoencoders Trained on the Same Data Learn Different Featurescited by 93
- 2025Sparse Autoencoders Do Not Find Canonical Units of Analysiscited by 88
- 2018Spoken SQuAD: A Study of Mitigating the Impact of Speech Recognition Errors on Listening Comprehensioncited by 74
- 2025Which of These Best Describes Multiple Choice Evaluation with LLMs? A) Forced B) Flawed C) Fixable D) All of the Abovecited by 52
- 2025The Origins of Representation Manifolds in Large Language Modelscited by 51
- 2024Decomposing The Dark Matter of Sparse Autoencoderscited by 45
- 2024MMLU-CF: A Contamination-free Multi-task Language Understanding Benchmarkcited by 41
- 2025Steering CLIP's vision transformer with sparse autoencoderscited by 38
- 2024Reasoning Robustness of LLMs to Adversarial Typographical Errorscited by 31
- 2024Quantifying Feature Space Universality Across Large Language Models via Sparse Autoencoderscited by 27
- 2024LLM Task Interference: An Initial Study on the Impact of Task-Switch in Conversational Historycited by 19
- 2025From Noise to Narrative: Tracing the Origins of Hallucinations in Transformerscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025A Theoretical Framework for OOD Robustness in Transformers using Gevrey Classes
- 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformers
- 2022Achieving and Understanding Out-of-Distribution Generalization in Systematic Reasoning in Small-Scale Transformers
- 2026Compressed Sensing for Capability Localization in Large Language Models
- 2025Unlocking Out-of-Distribution Generalization in Transformers via Recursive Latent Space Reasoning
- 2026From Correlation to Cause: A Five-Stage Methodology for Feature Analysis in Transformer Language Models
- 2026Geometric and Behavioral Stratification in Transformer Residual Streams
- 2026Dropout Robustness and Cognitive Profiling of Transformer Models via Stochastic Inference