mlsanityData to 7 Oct 2026

Attention Mechanism, Max-Affine Partition, and Universal Approximation

arXiv 2504.19901 ↗First posted 28 Apr 2025cs.LG cs.AI stat.MLcited by 7

Not on the map. Why?

Abstract (arXiv)

We establish the universal approximation capability of single-layer, single-head self- and cross-attention mechanisms with minimal attached structures. Our key insight is to interpret single-head attention as an input domain-partition mechanism that assigns distinct values to subregions. This allows us to engineer the attention weights such that this assignment imitates the target function. Building on this, we prove that a single self-attention layer, preceded by sum-of-linear transformations, is capable of approximating any continuous function on a compact domain under the L_∞-norm. Furthermore, we extend this construction to approximate any Lebesgue integrable function under Lp-norm for 1≤ p <∞. Lastly, we also extend our techniques and show that, for the first time, single-head cross-attention achieves the same universal approximation guarantees.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Apr 2025.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 3.

7 papers.