Lune

ICML2025顶会

Softmax is not Enough (for Sharp Size Generalisation)

Petar Velickovic, Christos Perivolaropoulos, Federico Barbero, Razvan Pascanu

摘要

A key property of reasoning systems is the ability to make sharp decisions on their input data. For contemporary AI systems, a key carrier of sharp behaviour is the softmax function, with its capability to perform differentiable query-key lookups. It is a common belief that the predictive power of networks leveraging softmax arises from "circuits" which sharply perform certain kinds of computations consistently across many diverse inputs. However, for these circuits to be robust, they would need to generalise well to arbitrary valid inputs. In this paper, we dispel this myth: even for tasks as simple as finding the maximum key, any learned circuitry must disperse as the number of items grows at test time. We attribute this to a fundamental limitation of the softmax function to robustly approximate sharp functions with increasing problem size, prove this phenomenon theoretically, and propose adaptive temperature as an ad-hoc technique for improving the sharpness of softmax at inference time.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Vision Transformers Need Registers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Vision Transformers Need Registers 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • AdaSplash-2: Faster Differentiable Sparse Attention 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • AdaSplash-2: Faster Differentiable Sparse Attention 引用了 Long-Context Generalization with Sparse Attention
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • TabICLv2: A Better, Faster, Scalable, and Open Tabular Foundation Model 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • TabICLv2: A Better, Faster, Scalable, and Open Tabular Foundation Model 引用了 Long-Context Generalization with Sparse Attention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. TabICLv2: A Better, Faster, Scalable, and Open Tabular Foundation ModelJingang QU, David Holzmüller, Gael Varoquaux, Marine Le MorvanICML 2026 · 85 次引用
  2. Long-Context Generalization with Sparse AttentionPavlo Vasylenko, Hugo Pitorro, Andre F. T. Martins, Marcos V. TrevisoICLR 2026 · 19 次引用
  3. What Happens Next? Anticipating Future Motion by Generating Point TrajectoriesGabrijel Boduljak, Laurynas Karazija, Iro Laina, Christian Rupprecht 等ICLR 2026 · 10 次引用
  4. Attention Smoothing Is All You Need For UnlearningSaleh Zare Zade, Xiangyu Zhou, Sijia Liu, Dongxiao ZhuICLR 2026 · 7 次引用
  5. AdaSplash-2: Faster Differentiable Sparse AttentionNuno M. T. Gonçalves, Hugo Pitorro, Vlad Niculae, Edoardo Ponti 等ICML 2026 · 3 次引用

它引用的 Paper20

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  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. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
  4. How Attentive are Graph Attention Networks?Shaked Brody, Uri Alon, Eran YahavICLR 2022 · 1,717 次引用
  5. Vision Transformers Need RegistersTimothée Darcet, Maxime Oquab, Julien Mairal, Piotr BojanowskiICLR 2024 · 769 次引用

相关 Paper

  1. Adaptive Sampling for Efficient Softmax ApproximationTavor Z. Baharav, Ryan Kang, Colin Sullivan, Mo Tiwari 等NeurIPS 2024 · 7 次引用
  2. Rankmax: An Adaptive Projection Alternative to the Softmax FunctionWeiwei Kong, Walid Krichene, Nicolas Mayoraz, Steffen Rendle 等NeurIPS 2020 · 23 次引用
  3. Binary Hypothesis Testing for Softmax Models and Leverage Score ModelsYuzhou Gu, Zhao Song, Junze YinICML 2025
  4. Optimal Attention Temperature Improves the Robustness of In-Context Learning under Distribution Shift in High DimensionsSamet Demir, Zafer DoganICML 2026 · 1 次引用
  5. Enhancing Classifier Conservativeness and Robustness by PolynomialityZiqi Wang, Marco LoogCVPR 2022 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖