English

Mathematical Models of Computation in Superposition

Machine Learning 2024-08-13 v1 Artificial Intelligence

Abstract

Superposition -- when a neural network represents more ``features'' than it has dimensions -- seems to pose a serious challenge to mechanistically interpreting current AI systems. Existing theory work studies \emph{representational} superposition, where superposition is only used when passing information through bottlenecks. In this work, we present mathematical models of \emph{computation} in superposition, where superposition is actively helpful for efficiently accomplishing the task. We first construct a task of efficiently emulating a circuit that takes the AND of the (m2)\binom{m}{2} pairs of each of mm features. We construct a 1-layer MLP that uses superposition to perform this task up to ε\varepsilon-error, where the network only requires O~(m23)\tilde{O}(m^{\frac{2}{3}}) neurons, even when the input features are \emph{themselves in superposition}. We generalize this construction to arbitrary sparse boolean circuits of low depth, and then construct ``error correction'' layers that allow deep fully-connected networks of width dd to emulate circuits of width O~(d1.5)\tilde{O}(d^{1.5}) and \emph{any} polynomial depth. We conclude by providing some potential applications of our work for interpreting neural networks that implement computation in superposition.

Keywords

Cite

@article{arxiv.2408.05451,
  title  = {Mathematical Models of Computation in Superposition},
  author = {Kaarel Hänni and Jake Mendel and Dmitry Vaintrob and Lawrence Chan},
  journal= {arXiv preprint arXiv:2408.05451},
  year   = {2024}
}

Comments

28 pages, 5 figures. Published at the ICML 2024 Mechanistic Interpretability (MI) Workshop

R2 v1 2026-06-28T18:09:16.086Z