A technical note on bilinear layers for interpretability
Not on the map. Why?
Abstract (arXiv)
The ability of neural networks to represent more features than neurons makes interpreting them challenging. This phenomenon, known as superposition, has spurred efforts to find architectures that are more interpretable than standard multilayer perceptrons (MLPs) with elementwise activation functions. In this note, I examine bilinear layers, which are a type of MLP layer that are mathematically much easier to analyze while simultaneously performing better than standard MLPs. Although they are nonlinear functions of their input, I demonstrate that bilinear layers can be expressed using only linear operations and third order tensors. We can integrate this expression for bilinear layers into a mathematical framework for transformer circuits, which was previously limited to attention-only transformers. These results suggest that bilinear layers are easier to analyze mathematically than current architectures and thus may lend themselves to deeper safety insights by allowing us to talk more formally about circuits in neural networks. Additionally, bilinear layers may offer an alternative path for mechanistic interpretability through understanding the mechanisms of feature construction instead of enumerating a (potentially exponentially) large number of features in large models.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 10 of its 21 references that are in the map. First posted on arXiv 5 May 2023.
Builds on
10 of 21 references.
References · 10
- 2017Attention Is All You Needcited by 59,932
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2020GLU Variants Improve Transformercited by 1,724
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022In-context Learning and Induction Headscited by 930
- 2022Toy Models of Superpositioncited by 928
- 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 748
- 2016Language Modeling with Gated Convolutional Networkscited by 688
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
Built on by
Citing papers per year: 2024: 5; 2025: 5; 2026: 2.
12 papers.
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2024Multilinear Mixture of Experts: Scalable Expert Specialization through Factorizationcited by 28
- 2024Bilinear MLPs enable weight-based mechanistic interpretabilitycited by 28
- 2025Mixture of Experts Made Intrinsically Interpretablecited by 22
- 2024You can remove GPT2's LayerNorm by fine-tuningcited by 11
- 2025Compositionality Unlocks Deep Interpretable Modelscited by 6
- 2024Weight-based Decomposition: A Case for Bilinear MLPscited by 2
- 2025Preserving Bilinear Weight Spectra with a Signed and Shrunk Quadratic Activation Functioncited by 0
- 2025When LRP Diverges from Leave-One-Out in Transformerscited by 0
- 2025TABL-ABM: A Hybrid Framework for Synthetic LOB Generationcited by 0
- 2026When Are Two Networks the Same? Tensor Similarity for Mechanistic Interpretabilitycited by 0
- 2026Sparsely gated tiny linear expertscited by 0
- 2026Sparsely gated tiny linear experts5 Jun 2026
- 2026When Are Two Networks the Same? Tensor Similarity for Mechanistic Interpretability14 May 2026
- 2025TABL-ABM: A Hybrid Framework for Synthetic LOB Generation26 Oct 2025
- 2025When LRP Diverges from Leave-One-Out in Transformers21 Oct 2025
- 2025Preserving Bilinear Weight Spectra with a Signed and Shrunk Quadratic Activation Function2 Sep 2025
- 2025Compositionality Unlocks Deep Interpretable Models3 Apr 2025
- 2025Mixture of Experts Made Intrinsically Interpretable5 Mar 2025
- 2024Bilinear MLPs enable weight-based mechanistic interpretability10 Oct 2024
- 2024You can remove GPT2's LayerNorm by fine-tuning6 Sep 2024
- 2024Weight-based Decomposition: A Case for Bilinear MLPs6 Jun 2024
- 2024Mechanistic Interpretability for AI Safety -- A Review22 Apr 2024
- 2024Multilinear Mixture of Experts: Scalable Expert Specialization through Factorization19 Feb 2024