Transformers as Measure-Theoretic Associative Memory: A Statistical Perspective and Minimax Optimality
Not on the map. Why?
Abstract (arXiv)
Transformers excel through content-addressable retrieval and the ability to exploit contexts of, in principle, unbounded length. We recast associative memory at the level of probability measures, treating a context as a distribution over tokens and viewing attention as an integral operator on measures. Concretely, for mixture contexts nu = I-1 sumi=1I μ(i^*) and a query xq(i^*), the task decomposes into (i) recall of the relevant component μ(i^*) and (ii) prediction from (μi^*,xq). We study learned softmax attention (not a frozen kernel) trained by empirical risk minimization and show that a shallow measure-theoretic Transformer composed with an MLP learns the recall-and-predict map under a spectral assumption on the input densities. We further establish a matching minimax lower bound with the same rate exponent (up to multiplicative constants), proving sharpness of the convergence order. The framework offers a principled recipe for designing and analyzing Transformers that recall from arbitrarily long, distributional contexts with provable generalization guarantees.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 2 Feb 2026.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026One Operator for Many Densities: Amortized Approximation of Conditioning by Neural Operatorscited by 4
- 2026Sharp Capacity Thresholds in Linear Associative Memory: From Top-1 Retrieval to Tail-Average Learningcited by 3
- 2026Propagation of Chaos in Contextual Flow Mapscited by 3
- 2026A Unified Framework for In-Context Learning with Causal and Masked Language Modelscited by 0
- 2026A Unified Framework for In-Context Learning with Causal and Masked Language Models5 Jul 2026
- 2026Propagation of Chaos in Contextual Flow Maps16 May 2026
- 2026One Operator for Many Densities: Amortized Approximation of Conditioning by Neural Operators7 May 2026
- 2026Sharp Capacity Thresholds in Linear Associative Memory: From Top-1 Retrieval to Tail-Average Learning6 May 2026