mlsanityData to 7 Oct 2026

An introduction to graphical tensor notation for mechanistic interpretability

arXiv 2402.01790 ↗First posted 2 Feb 2024cs.LG cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Graphical tensor notation is a simple way of denoting linear operations on tensors, originating from physics. Modern deep learning consists almost entirely of operations on or between tensors, so easily understanding tensor operations is quite important for understanding these systems. This is especially true when attempting to reverse-engineer the algorithms learned by a neural network in order to understand its behavior: a field known as mechanistic interpretability. It's often easy to get confused about which operations are happening between tensors and lose sight of the overall structure, but graphical tensor notation makes it easier to parse things at a glance and see interesting equivalences. The first half of this document introduces the notation and applies it to some decompositions (SVD, CP, Tucker, and tensor network decompositions), while the second half applies it to some existing some foundational approaches for mechanistically understanding language models, loosely following ``A Mathematical Framework for Transformer Circuits'', then constructing an example ``induction head'' circuit in graphical tensor notation.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 5 of its 39 references that are in the map. First posted on arXiv 2 Feb 2024.

Builds on

5 of 39 references.

References · 5

  1. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  2. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  3. 2022In-context Learning and Induction Headscited by 930
  4. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
  5. 2023Graph Tensor Networks: An Intuitive Framework for Designing Large-Scale Neural Learning Systems on Multiple Domainscited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 1; 2026: 2.

7 papers.