In this work, we study how multi-head latent attention (MLA), a popular strategy for compressing key/value memory, affects a transformer's internal capacity during pretraining. Using a lightweight suite of Marchenko-Pastur (MP) diagnostics, we analyze the spectrum of the $W_{Q}W_{K}^\top$ gram matrix throughout training, comparing three variants: the standard multi-head attention (MHA) baseline, MLA-PreRoPE with rotary applied before compression, and MLA-Decoupled, which shares a single rotary sub-vector across all heads. Our random matrix analysis reveals \textbf{three key findings:} \textbf{ i)} capacity bottlenecks emerge locally: both MHA and MLA-PreRoPE exhibit sharp, early spikes in specific layers that persist and propagate, disrupting the balance between bulk and outlier directions; \textbf{ ii)} these spikes coincide with rank collapse, concentrating the model's expressivity into narrow subspaces; \textbf{ iii)} only the decoupled variant prevents this cascade, maintaining broad spectral support and suppressing outlier formation across layers. These results underscore that \emph{how} rotary embeddings are applied is just as critical as \emph{where} compression occurs. Sharing rotary components across heads mitigates spectral fragmentation and preserves representational capacity.
The Pennsylvania State University(宾夕法尼亚州立大学);University of Connecticut(康涅狄格大学);Carnegie Mellon University(卡内基梅隆大学);University of California, Los Angeles(加州大学洛杉矶分校)
Dynamic K-Head: Difficulty-Supervised Budget Selection for Continuous Latent Reasoning
Beijing Institute of Mathematical Sciences and Applications(北京数学科学与应用研究院);Tsinghua University(清华大学);Peking University(北京大学);The University of Hong Kong(香港大学)
TPLA: Tensor Parallel Latent Attention for Efficient Disaggregated Prefill and Decode Inference
Institute for Artificial Intelligence, Peking University(北京大学人工智能研究所);State Key Laboratory of General Artificial Intelligence, BIGAI(通用人工智能国家重点实验室,BIGAI);Tencent Youtu Lab, Shanghai, China(腾讯云智实验室,上海,中国)
Performance-Efficiency Tradeoffs in Transformers: An Approximation Theory Perspective
Center for Data Science(数据科学中心);Peking University(北京大学);Institute for Functional Intelligent Materials(功能智能材料研究所);National University of Singapore(新加坡国立大学);Department of Mathematics(数学系);Microsoft Research Asia(微软亚洲研究院)
Listening to the Wise Few: Query-Key Alignment Unlocks Latent Correct Answers in Large Language Models
Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院);AI Foundation and Algorithm Lab(人工智能基金会与算法实验室);Moscow Institute of Physics and Technology(莫斯科物理技术学院);Artificial Intelligence Research Institute (AIRI)(人工智能研究院);CNRS(法国国家科学研究中心);Université Paris Cité(巴黎西岱大学)
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(中国人民大学人工智能学院)
TransMLA: Multi-Head Latent Attention Is All You Need
Institute for Artificial Intelligence, Peking University(人工智能研究院,北京大学);State Key Laboratory of General Artificial Intelligence, BIGAI(通用人工智能国家重点实验室,BIGAI);Tencent Youtu Lab, Shanghai, China(腾讯优图实验室,上海,中国);Xiaomi Corp., Beijing, China(小米公司,北京,中国)
Two Heads Are Better than One: Model-Weight and Latent-Space Analysis for Federated Learning on Non-iid Data against Poisoning Attacks
Miner School of Computer and Information Sciences, University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校计算机与信息科学学院);Department of Computer Science and Engineering, University of South Florida(南佛罗里达大学计算机科学与工程系);Department of Computer Science, University of Kentucky(肯塔基大学计算机科学系);Department of Computer and Information Technology, Purdue University(普渡大学计算机与信息技术系);Department of Civil, Construction, and Environmental Engineering, North Carolina State University(北卡罗来纳州立大学土木、建筑与环境工程系)
Conformal Disentanglement and Latent-Space Curation: A Neural Framework for Perspective Synthesis, Differentiation and Targeted Generation
Department of Applied Mathematics and Statistics, Johns Hopkins University(应用数学与统计学系,约翰霍普金斯大学);Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室);Faculty of Science, Technology and Medicine, University of Luxembourg(科学、技术与医学学院,卢森堡大学);Department of Civil and Systems Engineering, Johns Hopkins University(土木与系统工程系,约翰霍普金斯大学);Department of Chemical and Biomolecular Engineering, Johns Hopkins University(化学与生物分子工程系,约翰霍普金斯大学)
The University of Hong Kong(香港大学);Sun Yat-sen University(中山大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
Transformers在各种重要任务上推进了自然语言处理(NLP)领域。Transformer体系结构的基石是多头注意力(MHA)机制,它对序列元素之间的成对交互进行建模。尽管取得了巨大的成功,但目前的框架忽略了不同头部之间的相互作用,导致许多头部在实践中是多余的,这极大地浪费了模型的容量。为了提高参数效率,我们重新制定的MHA作为一个潜在的变量模型从概率的角度来看。我们提出了级联头碰撞注意力(CODA),显式模型之间的相互作用,通过层次变分分布的注意头。我们进行了大量的实验,并证明CODA优于Transformer基线,通过在语言建模中的\texttt{Wikitext-103}上的$0.6$困惑,以及在机器翻译中的\texttt{WMT14 EN-DE}上的$0.6$ BLEU,由于它在参数效率上的改进。\footnote{Our implementation is publicly available at \url{https://github.com/LZhengisme/CODA}.}
Fast and Lightweight Backdoor Detection via Head Random Probing
College of Artificial Intelligence, Nanjing University of Aeronautics and Astronautics(南京航空航天大学人工智能学院);School of Cybersecurity, Northwestern Polytechnical University(西北工业大学网络安全学院);Shenzhen Research Institute of Northwestern Polytechnical University(西北工业大学深圳研究院);School of Computer Science and Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术学院)
Learning embeddings of non-linear PDEs: the Burgers' equation
Departament de Física Quántica i Astrofí sica, Universitat de Barcelona(巴塞罗那大学量子物理与天体物理系);Institut de Ciencies del Cosmos (ICC), Universitat de Barcelona(巴塞罗那大学天体物理研究所);Institucio Catalana de Recerca i Estudis Avancats (ICREA)(加泰罗尼亚高级研究与高级教育研究所)
Learning the Koopman Operator using Attention Free Transformers
Institute for Bioengineering, School of Engineering and Centre for Engineering Biology, University of Edinburgh(爱丁堡大学生物工程研究所、工程学院与工程生物学中心);Electrical and Computer Engineering and Applied Mathematics, University of Washington(华盛顿大学电气与计算机工程与应用数学系);Electrical and Computer Engineering and Computer Science & Engineering, University of Washington(华盛顿大学电气与计算机工程及计算机科学与工程系)