TRACE: Training and Inference-Time Interpretability Analysis for Language Models
On the map: Mechanistic interpretability → Knowledge and representations inside LLMs
Abstract (arXiv)
Understanding when and how linguistic knowledge emerges during language model training remains a central challenge for interpretability. Most existing tools are post hoc, rely on scalar metrics, or require nontrivial integration effort, making comprehensive interpretability analysis difficult to deploy and maintain. We introduce TRACE, a modular toolkit for training and inference-time interpretability analysis of transformer models. It enables lightweight, in-training analysis of linguistic and representational signals, including features probing, intrinsic dimensionality, Hessian curvature, and output diagnostics. It integrates with ABSynth, a controllable synthetic corpus generator that provides structured annotations for precise evaluation of linguistic feature acquisition. Experiments with autoregressive transformers demonstrate that TRACE reveals developmental phenomena such as early syntactic emergence, delayed semantic acquisition, and representational compression, signals overlooked by traditional scalar metrics such as loss or accuracy. With minimal integration effort, the tool enables layer-wise diagnostics, convergence-based early stopping, and detection of structural errors, making transformer analysis interpretable, actionable, and reproducible.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Knowledge and representations inside LLMs, one of 13 directions in Mechanistic interpretability. Builds on 19 of its 38 references that are in the map. First posted on arXiv 4 Jul 2025.
Builds on
19 of 38 references.
Closest ancestors · 1
Same direction, newest first
Other references · 18
- 2017Attention Is All You Needcited by 60,361
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
- 2020Captum: A unified and generic model interpretability library for PyTorchcited by 547
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
6 more
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
- 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 263
- 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 250
- 2025Are Sparse Autoencoders Useful? A Case Study in Sparse Probingcited by 115
- 2018Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Taskscited by 56
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic review
- 2026Scaling Inherently Interpretable Language Models
- 2026MechaTerp-TRACE: A Novel Approach for Component Ablation Analysis in Language Models
- 2025On Support Samples of Next Word Prediction
- 2025Priors in Time: Missing Inductive Biases for Language Model Interpretability
- 2025Analyze Feature Flow to Enhance Interpretation and Steering in Language Models
- 2025The Birth of Knowledge: Emergent Features across Time, Space, and Scale in Large Language Models
- 2026A Unifying Perspective on Language Model Representations: From Filler-Role Structure to Mechanistic Interpretability