Named Tensor Notation
Not on the map. Why?
Abstract (arXiv)
We propose a notation for tensors with named axes, which relieves the author, reader, and future implementers of machine learning models from the burden of keeping track of the order of axes and the purpose of each. The notation makes it easy to lift operations on low-order tensors to higher order ones, for example, from images to minibatches of images, or from an attention mechanism to multiple attention heads. After a brief overview and formal definition of the notation, we illustrate it through several examples from modern machine learning, from building blocks like attention and convolution to full models like Transformers and LeNet. We then discuss differential calculus in our notation and compare with some alternative notations. Our proposals build on ideas from many previous papers and software libraries. We hope that our notation will encourage more authors to use named tensors, resulting in clearer papers and more precise implementations.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 3 of its 34 references that are in the map. First posted on arXiv 25 Feb 2021.
Builds on
3 of 34 references.
References · 3
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2018Group Normalizationcited by 1,514
Built on by
Citing papers per year: 2023: 2; 2024: 4; 2025: 2; 2026: 3.
11 papers.
- 2023Scaling Down to Scale Up: A Guide to Parameter-Efficient Fine-Tuningcited by 171
- 2024Neural Circuit Diagrams: Robust Diagrams for the Communication, Implementation, and Analysis of Deep Learning Architecturescited by 8
- 2024Penzai + Treescope: A Toolkit for Interpreting, Visualizing, and Editing Models As Datacited by 5
- 2023Revisiting File Context for Source Code Summarizationcited by 3
- 2024Towards a Categorical Foundation of Deep Learning: A Surveycited by 2
- 2024Broadcast Product: Redefining Shape-aligned Element-wise Multiplication and Beyondcited by 1
- 2025Random Sparse Lifts: Construction, Analysis and Convergence of finite sparse networkscited by 0
- 2025Operon: Incremental Construction of Ragged Data via Named Dimensionscited by 0
- 2026Weaves, Wires, and Morphisms: Formalizing and Implementing the Algebra of Deep Learningcited by 0
- 2026It's All Just Vectorization: einx, a Universal Notation for Tensor Operationscited by 0
- 2026Graphical Design of Interpretable Architecturescited by 0
- 2026Graphical Design of Interpretable Architectures19 Aug 2026
- 2026It's All Just Vectorization: einx, a Universal Notation for Tensor Operations30 Jul 2026
- 2026Weaves, Wires, and Morphisms: Formalizing and Implementing the Algebra of Deep Learning8 Apr 2026
- 2025Operon: Incremental Construction of Ragged Data via Named Dimensions20 Nov 2025
- 2025Random Sparse Lifts: Construction, Analysis and Convergence of finite sparse networks10 Jan 2025
- 2024Towards a Categorical Foundation of Deep Learning: A Survey7 Oct 2024
- 2024Broadcast Product: Redefining Shape-aligned Element-wise Multiplication and Beyond26 Sep 2024
- 2024Penzai + Treescope: A Toolkit for Interpreting, Visualizing, and Editing Models As Data1 Aug 2024
- 2024Neural Circuit Diagrams: Robust Diagrams for the Communication, Implementation, and Analysis of Deep Learning Architectures8 Feb 2024
- 2023Revisiting File Context for Source Code Summarization5 Sep 2023
- 2023Scaling Down to Scale Up: A Guide to Parameter-Efficient Fine-Tuning28 Mar 2023