mlsanityData to 14 Oct 2026

Self-Ablating Transformers: More Interpretability, Less Sparsity

arXiv 2505.00509 ↗First posted 1 May 2025cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

A growing intuition in machine learning suggests a link between sparsity and interpretability. We introduce a novel self-ablation mechanism to investigate this connection ante-hoc in the context of language transformers. Our approach dynamically enforces a k-winner-takes-all constraint, forcing the model to demonstrate selective activation across neuron and attention units. Unlike post-hoc methods that analyze already-trained models, our approach integrates interpretability directly into model training, promoting feature localization from inception. Training small models on the TinyStories dataset and employing interpretability tests, we find that self-ablation leads to more localized circuits, concentrated feature representations, and increased neuron specialization without compromising language modelling performance. Surprisingly, our method also decreased overall sparsity, indicating that self-ablation promotes specialization rather than widespread inactivity. This reveals a complex interplay between sparsity and interpretability, where decreased global sparsity can coexist with increased local specialization, leading to enhanced interpretability. To facilitate reproducibility, we make our code available at https://github.com/keenanpepper/self-ablating-transformers.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 31 references that are in the map. First posted on arXiv 1 May 2025.

Builds on

17 of 31 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  3. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  4. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  5. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  6. 2016Understanding deep learning requires rethinking generalizationcited by 1,674
  7. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  8. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  9. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
  10. 2024Scaling and evaluating sparse autoencoderscited by 553
  11. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
  12. 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
5 more
  1. 2023Codebook Features: Sparse and Discrete Interpretability for Neural Networkscited by 48
  2. 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networkscited by 34
  3. 2023Neuron to Graph: Interpreting Language Model Neurons at Scalecited by 27
  4. 2021Two Sparsities Are Better Than One: Unlocking the Performance Benefits of Sparse-Sparse Networkscited by 15
  5. 2023N2G: A Scalable Approach for Quantifying Interpretable Neuron Representations in Large Language Modelscited by 4

Built on by

Not cited yet.