Softmax attention is a central component of transformer architectures, yet its nonlinear structure poses significant challenges for theoretical analysis. We develop a unified, measure-based framework for studying single-layer softmax attention under both finite and infinite prompts. For i.i.d. Gaussian inputs, we lean on the fact that the softmax operator converges in the infinite-prompt limit to a linear operator acting on the underlying input-token measure. Building on this insight, we establish non-asymptotic concentration bounds for the output and gradient of softmax attention, quantifying how rapidly the finite-prompt model approaches its infinite-prompt counterpart, and prove that this concentration remains stable along the entire training trajectory in general in-context learning settings with sub-Gaussian tokens. In the case of in-context linear regression, we use the tractable infinite-prompt dynamics to analyze training at finite prompt length. Our results allow optimization analyses developed for linear attention to transfer directly to softmax attention when prompts are sufficiently long, showing that large-prompt softmax attention inherits the analytical structure of its linear counterpart. This, in turn, provides a principled and broadly applicable toolkit for studying the training dynamics and statistical behavior of softmax attention layers in large prompt regimes.
On Minimax Estimation of Parameters in Softmax-Contaminated Mixture of Experts
Department of Computer Science(计算机科学系);Department of Statistics and Data Sciences(统计学与数据科学系);Department of Electrical and Computer Engineering(电气与计算机工程系)
Softmax是一种输出激活函数,用于在许多深度学习应用中对分类概率分布进行建模。然而,最近的一项研究表明,softmax可能是语言建模中神经网络表示能力的瓶颈(softmax瓶颈)。在本文中,我们提出了一个输出激活函数,用于在没有额外参数的情况下打破softmax瓶颈。我们从log-softmax的输出集的角度重新分析了softmax瓶颈,并确定了softmax瓶颈的原因。在此分析的基础上,我们提出了sigsoftmax,它是由指数函数和sigmoid函数的乘法。Sigsoftmax可以打破softmax的瓶颈。语言建模实验表明,sigsoftmax和mixed of sigsoftmax分别优于softmax和mixed of softmax。
In-Context Algorithm Emulation in Fixed-Weight Transformers
Center for Foundation Models and Generative AI, Northwestern University(西北大学基础模型与生成式人工智能中心);Department of Computer Science, Northwestern University(西北大学计算机科学系);Ensemble AI;Engineering Science, University of Toronto(多伦多大学工程科学系);Department of Statistics and Data Science, Northwestern University(西北大学统计与数据科学系)
PSL: Rethinking and Improving Softmax Loss from Pairwise Perspective for Recommendation
State Key Laboratory of Blockchain and Data Security, Zhejiang University(区块链与数据安全国家重点实验室,浙江大学);College of Computer Science and Technology, Zhejiang University(计算机科学与技术学院,浙江大学)
A General Theory for Softmax Gating Multinomial Logistic Mixture of Experts
The University of Texas at Austin(德克萨斯大学奥斯汀分校);Univ. Grenoble Alpes(格勒诺布尔大学);Inria(法国国家信息与自动化研究所);CNRS(法国国家科学研究中心);Grenoble INP(格勒诺布尔理工学院);LJK(约瑟夫·傅里叶实验室);The University of Queensland(昆士兰大学)
Asymptotic Signal Subspace Recovery in Softmax Attention Models
Faculty of Computer Science and Engineering(计算机科学与工程学院);Ho Chi Minh City University of Technology(胡志明市技术大学);Vietnam National University Ho Chi Minh City(越南胡志明市国家大学);VNU-HCM
MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map
The Hong Kong Polytechnic University(香港理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);UC Santa Cruz(加州大学圣克鲁兹分校);Shanghai AI Lab(上海人工智能实验室)
John A. Paulson School of Engineering and Applied Sciences, Harvard University(哈佛大学约翰·A·保罗森工程与应用科学学院);Kempner Institute for the Study of Natural and Artificial Intelligence, Harvard University(哈佛大学自然与人工智能研究所);Society of Fellows and Center for Brain Science, Harvard University(哈佛大学 fellows 会与脑科学中心)
In-context classification: Calibration and noise in linear attention with softmax readout
Harvard University(哈佛大学);Williams College(威廉姆斯学院);Kempner Institute, Harvard University(哈佛肯珀研究所);Center for Brain Science and Society of Fellows, Harvard University(哈佛大学生脑科学与社会研究员院)
Middle Tennessee State University(中田纳西州立大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Tsinghua University(清华大学);The Simons Institute for the Theory of Computing at the UC, Berkeley(加州大学伯克利分校西蒙斯理论计算研究所)
Generalised Balanced Softmax: A Finite-Data Perspective on Logit Adjustment for Long-Tailed Recognition
School of Computing and Mathematical Sciences, University of Leicester(莱斯特大学计算与数学科学学院);Department of Physics and Astronomy, University of Leicester(莱斯特大学物理与天文学系);Scientific Computing, Rutherford Appleton Laboratory, Science and Technology Facilities Council(科学技术设施委员会卢瑟福·阿普尔顿实验室科学计算部);School of Computer Science and Informatics, De Montfort University(德蒙福特大学计算机科学与信息学院);School of Automation and Information Engineering, Xi’an University of Technology(西安理工大学自动化与信息工程学院)
University of Michigan(密歇根大学);UC Riverside(加州大学河滨分校);Google Research(谷歌研究院);University of Southern California(南加州大学);University of British Columbia(不列颠哥伦比亚大学)
Probability-Dependent Gradient Decay in Large Margin Softmax
School of Internet of Things Engineering(物联网工程学院);Jiangnan University(江南大学);Key Laboratory of Advanced Process Control for Light Industry (Ministry of Education)(轻工过程先进控制教育部重点实验室)
Robust Length Prediction: A Perspective from Heavy-Tailed Prompt-Conditioned Distributions
State Key Laboratory of Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院)
A Survey of Automatic Prompt Engineering: An Optimization Perspective
School of Computer Science and Technology, Tongji University(同济大学计算机科学与技术学院);East China Normal University(华东师范大学);Shanghai Research Institute for Intelligent Autonomous Systems, Tongji University(同济大学上海智能自主系统研究院)
Why GRPO Needs Normalization: A Local-Curvature Perspective on Adaptive Gradients
Department of Aeronautics and Astronautics, MIT(麻省理工学院航空与宇航系);Department of Statistics, University of Wisconsin--Madison(威斯康星大学麦迪逊分校统计系);Department of Informatics, King's College London(伦敦国王学院信息学系);Department of Computer Sciences, University of Wisconsin--Madison(威斯康星大学麦迪逊分校计算机科学系)
Inductive Graph Alignment Prompt: Bridging the Gap between Graph Pre-training and Inductive Fine-tuning From Spectral Perspective
Peking University(北京大学);Hong Kong University of Science and Technology(香港科技大学);Computer Network Information Center, Chinese Academy of Sciences(中国科学院计算机网络信息中心)
SecP-Tuning: Efficient Privacy-Preserving Prompt Tuning for Large Language Models via MPC
Pengcheng Laboratory(鹏城实验室);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Fudan University(复旦大学);Shanghai Academy of AI for Science(上海人工智能科学研究院);Institute of Statistical Interdisciplinary Research, Southwestern University of Finance and Economics(统计交叉学科研究所,西南财经大学);National University of Singapore(新加坡国立大学)
Geometric Capacity of Transformers: A Tropical Geometry Perspective
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院)
Brewing Knowledge in Context: Distillation Perspectives on In-Context Learning
University of Chinese Academy of Sciences(中国科学院大学);University of South Florida(佛罗里达州立大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Key Laboratory of System Software (Chinese Academy of Sciences)(中国科学院系统软件重点实验室);State Key Laboratory of Computer Science (Institute of Software, Chinese Academy of Sciences)(中国科学院软件研究所计算机科学国家重点实验室)
Understanding and Mitigating Overrefusal in LLMs from an Unveiling Perspective of Safety Decision Boundary
The State Key Laboratory of Blockchain and Data Security(区块链与数据安全国家重点实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新技术区(滨江)区块链与数据安全研究院);Language and Machine Intelligence Department, Ant Group(蚂蚁集团语言与机器智能部门)