Tensor Cookbook: Mastering Tensors through Diagrams
Beheshteh T. Rakhshan, Guillaume Rabusseau

TL;DR
This paper introduces a diagrammatic approach to tensor algebra using tensor networks, simplifying complex operations and proofs, and making high-dimensional tensor manipulation more accessible.
Contribution
It provides a comprehensive, self-contained graphical framework for tensor operations, decompositions, and gradients, bridging quantum physics and machine learning.
Findings
Diagrammatic tensor operations are shorter and more transparent.
Tensor networks simplify derivations of gradients and probability manipulations.
Graphical notation reveals structural properties obscured by index notation.
Abstract
High-dimensional data arise naturally in many areas of science and engineering, including machine learning, signal processing, computational physics, and statistics. Such data are often represented as tensors, multi-dimensional generalizations of matrices. While tensors provide a natural representation for multi-modal structure, their direct manipulation quickly becomes challenging as the order grows: the number of parameters increases exponentially, and algebraic expressions involving many indices become difficult to interpret and implement. Tensor networks (TNs) provide an effective framework for addressing these challenges. Originally introduced by Penrose and developed extensively in quantum physics, the graphical language of tensor networks encodes contractions as edges in a graph, reducing notational overhead and revealing structural properties obscured by index notation. Despite…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
