paper-with-me

홈 › Papers

Learning Theory of Transformers: Local-to-Global Approximation via Softmax Partition of Unity

2026-05-09 · Zhongjie Shi, Wenjing Liao arxiv

This paper investigates the learning theory of Transformer networks for regression tasks on the compact Euclidean domain $[0,1]^d$ and $d$-dimensional compact Riemannian manifolds. We propose a novel constructive approximation framework for Transformers that builds local approximations of the target function and aggregates them into a global approximation via softmax partition of unity. This approach leverages the attention mechanism to achieve spatial localization through affine transformations of the input. The softmax activation plays a crucial role in aggregating local approximations to a global output. From an approximation perspective, we prove that a dense Transformer equipped with only two encoder blocks and standard single-hidden-layer point-wise feed-forward networks can achieve a uniform $\varepsilon$-approximation error for $α$-Hölder continuous functions with $α\in (0,1]$ using $\mathcal{O}(\varepsilon^{-d/α})$ total parameters. Building upon this approximation guarantee, we establish a near minimax-optimal generalization error bound of order $\mathcal{O}\big(n^{-\frac{2α}{2α+d}} \log n\big)$ for the empirical risk minimizer, where $n$ is the training data size. The Transformer architecture studied in this paper is dense, shallow and wide, and employs softmax activation and sinusoidal positional encodings, closely reflecting practical implementations.

📄 PDF Abstract BibTeX arXiv:2605.08811

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

On the Convergence of Encoder-only Shallow Transformers

2023-11-02 · NeurIPS 2023 11

In this paper, we aim to build the global convergence theory of encoder-only shallow Transformers under a realistic setting from the perspective of architectures, initialization, and scaling under a finite width regime. …

Softmax Transformers are Turing-Complete

2025-11-25 · Hongjian Jiang, Michael Hahn, Georg Zetzsche, Anthony Widjaja Lin arxiv

Hard attention Chain-of-Thought (CoT) transformers are known to be Turing-complete. However, it is an open problem whether softmax attention Chain-of-Thought (CoT) transformers are Turing-complete. In this paper, we prov…

Arithmetic Reasoning

Krause Synchronization Transformers

2026-02-12 · Jingkun Liu, Yisong Yue, Max Welling, Yue Song arxiv

Self-attention in Transformers relies on globally normalized softmax weights, causing all tokens to compete for influence at every layer. When composed across depth, this interaction pattern induces strong synchronizatio…

Computational EfficiencyImage Generation

Gradient-Normalized Smoothness for Optimization with Approximate Hessians

2025-06-16 · Andrei Semenov, Martin Jaggi, Nikita Doikov

In this work, we develop new optimization algorithms that use approximate second-order information combined with the gradient regularization technique to achieve fast global convergence rates for both convex and non-conv…

FAVOR#: Sharp Attention Kernel Approximations via New Classes of Positive Random Features

2023-02-01 · Valerii Likhosherstov, Krzysztof Choromanski, Avinava Dubey, Frederick Liu 외

The problem of efficient approximation of a linear operator induced by the Gaussian or softmax kernel is often addressed using random features (RFs) which yield an unbiased approximation of the operator's result. Such op…