Pith. sign in

REVIEW 2 cited by

An introduction to graphical tensor notation for mechanistic interpretability

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2402.01790 v1 pith:BCZX2MB3 submitted 2024-02-02 cs.LG cs.AI

classification cs.LGcs.AI
keywords tensornotationgraphicaloperationssometensorsunderstandingapplies
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. How to Write a Simulator for Quantum Circuits from Scratch: A Tutorial

    quant-ph 2025-06 unverdicted novelty 4.0 of 10

    A tutorial with pseudocode and a compact JavaScript simulator that shows how to simulate quantum circuits of 20+ qubits using qubit-wise multiplication and partial trace.

  2. Very Basics of Tensors with Graphical Notations: Unfolding, Calculations, and Decompositions

    cs.LG 2024-11 accept novelty 3.0 of 10

    A pedagogical review that explains tensor basics, reshaping, products, and decompositions through tensor network diagrams.

Pith tools