Introduction
In numerical analysis and machine learning, the Curse of Dimensionality (CoD) describes the phenomenon where the complexity required to approximate a function grows exponentially with the number of input dimensions ($d$). For a target accuracy $\epsilon$, the parameter requirement typically scales as $O(\epsilon^{-d})$. While empirical evidence suggests Transformers handle high-dimensional data well, theoretical proofs have often relied on complex architectures or failed to circumvent the CoD. This study provides a constructive proof that a minimal Transformer architecture—consisting of one self-attention layer and a few feedforward layers—can overcome this curse.
Methodology
The authors bridge Transformer architecture with classical approximation theory using two primary mathematical tools:
- Kolmogorov-Arnold Representation Theorem (KST): This theorem posits that any multivariate continuous function can be represented as a superposition of univariate functions. The authors employ a modern, smoothness-preserving variant of KST to ensure the resulting approximation remains efficient.
- The Translation Technique: Standard Transformers apply the same feedforward network (FFN) to all tokens in a sequence. To allow for token-specific transformations, the authors developed a "translation technique" that shifts token values. This allows a single shared FFN to effectively perform distinct operations on different tokens by targeting different "neighborhoods" of its input space.
Key Insights
- Attention as a Summation Engine: In this theoretical framework, the self-attention mechanism serves as the summation operator required by the KST to combine the outputs of univariate functions.
- Minimal Architecture: A single-head, single-layer attention mechanism using standard softmax activation is theoretically sufficient to break the CoD. This challenges the notion that "deep" architectures are strictly necessary for high-dimensional approximation.
- The Power of Activations: The choice of activation function in the feedforward layers significantly impacts efficiency. Using ReLU and floor functions allows for a network depth that scales logarithmically with precision ($O(\log \frac{1}{\epsilon})$). With specific non-polynomial activations, the required width can even be reduced to a constant, regardless of the target accuracy.
Results and Comparative Analysis
The study establishes concrete bounds for approximating Hölder continuous functions. Crucially, the number of parameters required scales polynomially with dimension $d$, rather than exponentially.
As shown in the comparison table above, this work fills a critical gap in the literature. While previous studies either failed to overcome the CoD or relied on non-standard attention mechanisms, this research proves that standard Transformers (using softmax) are efficient universal approximators.
Conclusion and Limitations
This research provides a rigorous theoretical foundation for the success of Transformers in high-dimensional regimes. By proving that Transformers are efficient universal approximators, the authors move beyond the "contextual mapping" paradigm toward a more direct geometric understanding of Transformer capabilities.
However, the authors note that this is an existence proof; it does not guarantee that standard training algorithms like Stochastic Gradient Descent (SGD) will find these optimal configurations. Additionally, some results rely on non-standard activation functions like the "floor" function, which may present optimization challenges in practice. Future work will explore extending these results to other function spaces and real-world datasets.
Summary updated