mlsanityData to 14 Oct 2026

You can remove GPT2's LayerNorm by fine-tuning

arXiv 2409.13710 ↗First posted 6 Sep 2024cs.CL cs.LGcited by 11

On the map: Mechanistic interpretability → Knowledge and representations inside LLMs

Abstract (arXiv)

The LayerNorm (LN) layer in GPT-style transformer models has long been a hindrance to mechanistic interpretability. LN is a crucial component required to stabilize the training of large language models, and LN or the similar RMSNorm have been used in practically all large language models based on the transformer architecture. The non-linear nature of the LN layers is a hindrance for mechanistic interpretability as it hinders interpretation of the residual stream, and makes it difficult to decompose the model into circuits. Some researchers have gone so far as to name "reasons interpretability researchers hate layer norm." In this paper we show that it is possible to remove the LN layers from a pre-trained GPT2-small model by fine-tuning on a fraction (500M tokens) of the training data. We demonstrate that this LN-free model achieves similar performance to the original model on the OpenWebText and ThePile datasets (-0.05 cross-entropy loss), and the Hellaswag benchmark (-0.5% accuracy). We provide our implementation at https://github.com/ApolloResearch/gpt2_noLN, and fine-tuned GPT2-small models at https://huggingface.co/apollo-research/gpt2_noLN. Our work not only provides a simplified model for mechanistic interpretability research, but also provides evidence that the LN layers, at inference time, do not play a crucial role in transformer models.

Key facts. Cited by 11 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 15 of its 33 references that are in the map. First posted on arXiv 6 Sep 2024.

Builds on

15 of 33 references.

References · 15

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  3. 2016Layer Normalizationcited by 5,669
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  5. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  6. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  8. 2019Root Mean Square Layer Normalizationcited by 1,480
  9. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  10. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  11. 2021Causal Abstractions of Neural Networkscited by 422
  12. 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 191
3 more
  1. 2023Copy Suppression: Comprehensively Understanding an Attention Headcited by 76
  2. 2024Confidence Regulation Neurons in Language Modelscited by 57
  3. 2023A technical note on bilinear layers for interpretabilitycited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 8; 2026: 3.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Jump to Conclusions: Short-Cutting Transformers With Linear Transformations
  2. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expect
  3. 2023The Truth is in There: Improving Reasoning in Language Models with Layer-Selective Rank Reduction
  4. 2026Ghosted Layers: Unconstrained Activation Alignment for Recovering Layer-Pruned LLMs
  5. 2024FinerCut: Finer-grained Interpretable Layer Pruning for Large Language Models
  6. 2022Outlier Suppression: Pushing the Limit of Low-bit Transformer Language Models
  7. 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models
  8. 2026Trust, but Verify: Peeling Low-Bit Transformer Networks for Training Monitoring