Lune

NeurIPS2025顶会

Attention Mechanism, Max-Affine Partition, and Universal Approximation

Hude Liu, Jerry Yao-Chieh Hu, Zhao Song, Han Liu

摘要

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∞L_\infty-norm. Furthermore, we extend this construction to approximate any Lebesgue integrable function under LpL_p-norm for 1≤p<∞1\leq p<\infty. Lastly, we also extend our techniques and show that, for the first time, single-head cross-attention achieves the same universal approximation guarantees.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • High-Order Flow Matching: Unified Framework and Sharp Statistical Rates 引用了 Scalable Diffusion Models with Transformers
  • High-Order Flow Matching: Unified Framework and Sharp Statistical Rates 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 A unified framework for establishing the universal approximation of transformer-type architectures
  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 Language Models are Few-Shot Learners
  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • In-Context Universal Approximation, Compositional Generalization, and Algorithm Emulation 引用了 In-Context Algorithm Emulation in Fixed-Weight Transformers
  • Scalable Diffusion Models with Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Scalable Diffusion Models with Transformers 引用了 Language Models are Few-Shot Learners
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
  • A unified framework for establishing the universal approximation of transformer-type architectures 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A unified framework for establishing the universal approximation of transformer-type architectures 引用了 Language Models are Few-Shot Learners
  • A unified framework for establishing the universal approximation of transformer-type architectures 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • Unified Training of Universal Time Series Forecasting Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Unified Training of Universal Time Series Forecasting Transformers 引用了 Language Models are Few-Shot Learners
  • Prompt Tuning Transformers for Data Memorization 引用了 Scalable Diffusion Models with Transformers
  • Prompt Tuning Transformers for Data Memorization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Prompt Tuning Transformers for Data Memorization 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • In-Context Algorithm Emulation in Fixed-Weight Transformers 引用了 Language Models are Few-Shot Learners
  • In-Context Algorithm Emulation in Fixed-Weight Transformers 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. High-Order Flow Matching: Unified Framework and Sharp Statistical RatesMaojiang Su, Jerry Yao-Chieh Hu, Yi-Chen Lee, Ning Zhu 等NeurIPS 2025 · 9 次引用
  2. In-Context Algorithm Emulation in Fixed-Weight TransformersJerry Yao-Chieh Hu, Hude Liu, Jennifer Yuntong Zhang, Han LiuICLR 2026 · 7 次引用
  3. Prompt Tuning Transformers for Data MemorizationHaiyu Wang, Yuanyuan LinNeurIPS 2025 · 4 次引用
  4. A unified framework for establishing the universal approximation of transformer-type architecturesJingpu Cheng, Ting Lin, Zuowei Shen, Qianxiao LiNeurIPS 2025 · 2 次引用
  5. In-Context Universal Approximation, Compositional Generalization, and Algorithm EmulationJerry Yao-Chieh Hu, Hong-Yu Chen, Po-Chiao Lin, Maojiang Su 等ICML 2026

它引用的 Paper21

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 次引用
  4. Unified Training of Universal Time Series Forecasting TransformersGerald Woo, Chenghao Liu, Akshat Kumar, Caiming Xiong 等ICML 2024 · 513 次引用
  5. Are Transformers universal approximators of sequence-to-sequence functions?Chulhee Yun, Srinadh Bhojanapalli, Ankit Singh Rawat, Sashank J. Reddi 等ICLR 2020 · 481 次引用

相关 Paper

  1. Universal Approximation with Softmax AttentionJerry Yao-Chieh Hu, Hude Liu, Hong-Yu Chen, Weimin Wu 等ICML 2026 · 9 次引用
  2. Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?Tokio Kajitsuka, Issei SatoICLR 2024 · 31 次引用
  3. Prompting a Pretrained Transformer Can Be a Universal ApproximatorAleksandar Petrov, Philip Torr, Adel BibiICML 2024 · 19 次引用
  4. Achieve the Minimum Width of Neural Networks for Universal ApproximationYongqiang CaiICLR 2023 · 4 次引用
  5. Attention is not all you need: pure attention loses rank doubly exponentially with depthYihe Dong, Jean-Baptiste Cordonnier, Andreas LoukasICML 2021 · 522 次引用
黄昏的海面,两侧是细线勾勒的悬崖