Lune

ICML2026顶会

Universal Approximation with Softmax Attention

Jerry Yao-Chieh Hu, Hude Liu, Hong-Yu Chen, Weimin Wu, Han Liu

摘要

We prove that with linear transformations, both (i) two-layer self-attention and (ii) one-layer self-attention followed by a softmax function are universal approximators for continuous sequence-to-sequence functions on compact domains. Our main technique is a new interpolation-based method for analyzing attention’s internal mechanism. This leads to our key insight: self-attention is able to approximate a generalized version of ReLU to arbitrary precision, and hence subsumes many known universal approximators. Building on these, we show that two-layer multi-head attention or even one-layer multi-head attention followed by a softmax function suffices as a sequence-to-sequence universal approximator. In contrast, prior works rely on feed-forward networks to establish universal approximation in Transformers. Furthermore, we extend our techniques to show that, (softmax-)attention-only layers are capable of approximating gradient descent in-context. We believe these techniques hold independent interest.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Inductive Biases and Variable Creation in Self-Attention Mechanisms 引用了 Language Models are Few-Shot Learners
  • Inductive Biases and Variable Creation in Self-Attention Mechanisms 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • High-Order Flow Matching: Unified Framework and Sharp Statistical Rates 引用了 Inductive Biases and Variable Creation in Self-Attention Mechanisms
  • High-Order Flow Matching: Unified Framework and Sharp Statistical Rates 引用了 Attention Mechanism, Max-Affine Partition, and Universal Approximation
  • High-Order Flow Matching: Unified Framework and Sharp Statistical Rates 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • 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 引用了 Attention Mechanism, Max-Affine Partition, and Universal Approximation
  • A unified framework for establishing the universal approximation of transformer-type architectures 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • Prompt Tuning Transformers for Data Memorization 引用了 Low-Rank Bottleneck in Multi-head Attention Models
  • Prompt Tuning Transformers for Data Memorization 引用了 Attention Mechanism, Max-Affine Partition, and Universal Approximation
  • Prompt Tuning Transformers for Data Memorization 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • Low-Rank Bottleneck in Multi-head Attention Models 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • Attention Mechanism, Max-Affine Partition, and Universal Approximation 引用了 Inductive Biases and Variable Creation in Self-Attention Mechanisms
  • Attention Mechanism, Max-Affine Partition, and Universal Approximation 引用了 Language Models are Few-Shot Learners
  • Attention Mechanism, Max-Affine Partition, and Universal Approximation 引用了 Are Transformers universal approximators of sequence-to-sequence functions?
  • Attention Mechanism, Max-Affine Partition, and Universal Approximation 引用了 In-Context Algorithm Emulation in Fixed-Weight Transformers
  • In-Context Algorithm Emulation in Fixed-Weight Transformers 引用了 Attention Mechanism, Max-Affine Partition, and Universal Approximation
  • 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?
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

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

它引用的 Paper14

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Are Transformers universal approximators of sequence-to-sequence functions?Chulhee Yun, Srinadh Bhojanapalli, Ankit Singh Rawat, Sashank J. Reddi 等ICLR 2020 · 481 次引用
  3. Inductive Biases and Variable Creation in Self-Attention MechanismsBenjamin L. Edelman, Surbhi Goel, Sham M. Kakade, Cyril ZhangICML 2022 · 154 次引用
  4. Minimum Width for Universal ApproximationSejun Park, Chulhee Yun, Jaeho Lee, Jinwoo ShinICLR 2021 · 148 次引用
  5. Low-Rank Bottleneck in Multi-head Attention ModelsSrinadh Bhojanapalli, Chulhee Yun, Ankit Singh Rawat, Sashank J. Reddi 等ICML 2020 · 130 次引用

相关 Paper

  1. Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?Tokio Kajitsuka, Issei SatoICLR 2024 · 31 次引用
  2. Prompting a Pretrained Transformer Can Be a Universal ApproximatorAleksandar Petrov, Philip Torr, Adel BibiICML 2024 · 19 次引用
  3. In-Context Universal Approximation, Compositional Generalization, and Algorithm EmulationJerry Yao-Chieh Hu, Hong-Yu Chen, Po-Chiao Lin, Maojiang Su 等ICML 2026
  4. Theory, Analysis, and Best Practices for Sigmoid Self-AttentionJason Ramapuram, Federico Danieli, Eeshan Gunesh Dhekane, Floris Weers 等ICLR 2025
  5. O(n) Connections are Expressive Enough: Universal Approximability of Sparse TransformersChulhee Yun, Yin-Wen Chang, Srinadh Bhojanapalli, Ankit Singh Rawat 等NeurIPS 2020 · 111 次引用
黄昏的海面,两侧是细线勾勒的悬崖