跳到正文
arXiv · Machine Learning· Zixuan Huang (State Key Laboratory of Multimedia Information Processing, School of Computer Science, Peking University, Beijing, China, School of Physics, Peking University, Beijing, China), Guozhang Chen (State Key Laboratory of Multimedia Information Processing, School of Computer Science, Peking University, Beijing, China, National Engineering Research Center of Visual Technology, School of Computer Science, Peking University, Beijing, China)·· 2026-11-05AI 评分52

北大研究提出任意温度下固定维度 Softmax Attention 的高效算法,匹配最大内积搜索已知最优界

Softmax Attention with Any Temperature in Fixed Dimension: Matching the Best Known Maximum-Inner-Product Bounds

AI 导读

北京大学研究人员提出一种适用于任意正温度的固定维度 Softmax Attention 算法,可在加性误差 ε 下,以期望时间 Õ((mn)^{k/(k+1)}+m+n) 处理 m 个查询和 n 个键值对,其中 k=⌊d/2⌋。

来源:arXiv · Machine Learning · arxiv.org