Lune

NeurIPS2025顶会

Tropical Attention: Neural Algorithmic Reasoning for Combinatorial Algorithms

Baran Hashemi, Kurt Pasque, Christopher Teska, Ruriko Yoshida

摘要

Can algebraic geometry enhance the sharpness, robustness, and interpretability of modern neural reasoning models by equipping them with a mathematically grounded inductive bias? To answer this, we introduce Tropical Attention, an attention mechanism grounded in tropical geometry that lifts the attention kernel into tropical projective space, where reasoning is piecewise-linear and 1-Lipschitz, thus preserving the polyhedral decision structure inherent to combinatorial reasoning. We prove that Multi-Head Tropical Attention (MHTA) stacks universally approximate tropical circuits and realize tropical transitive closure through composition, achieving polynomial resource bounds without invoking recurrent mechanisms. These guarantees explain why the induced polyhedral decision boundaries remain sharp and scale-invariant, rather than smoothed by Softmax. Empirically, we show that Tropical Attention delivers stronger out-of-distribution generalization in both length and value, with high robustness against perturbative noise, and substantially faster inference with fewer parameters compared to Softmax-based and recurrent attention baselines, respectively. For the first time, we push the domain of neural algorithmic reasoning beyond PTIME problems to NP-hard/complete problems, paving the way toward sharper and more expressive Large Reasoning Models (LRMs) capable of tackling complex combinatorial challenges in Phylogenetics, Cryptography, Particle Physics, and Mathematical Discovery. The code is available at https://github.com/Baran-phys/Tropical-Attention/.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Free Energy Mixer 引用了 Long Range Arena : A Benchmark for Efficient Transformers
  • Free Energy Mixer 引用了 Rethinking Attention with Performers
  • Free Energy Mixer 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Long Range Arena : A Benchmark for Efficient Transformers 引用了 Rethinking Attention with Performers
  • Rethinking Attention with Performers 引用了 Long Range Arena : A Benchmark for Efficient Transformers
  • HATSolver: Learning Gröbner Bases with Hierarchical Attention Transformers 引用了 Neural Execution of Graph Algorithms
  • Learning to Execute Graph Algorithms Exactly with Graph Neural Networks 引用了 Neural Execution of Graph Algorithms
  • Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks 引用了 Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across TasksDamien Teney, Liangze Jiang, Hemanth Saratchandran, Simon LuceyICLR 2026 · 3 次引用
  2. Free Energy MixerJiecheng Lu, Shihao YangICLR 2026 · 1 次引用
  3. HATSolver: Learning Gröbner Bases with Hierarchical Attention TransformersMohamed Malhou, Ludovic Perret, Kristin E. LauterICLR 2026
  4. Learning to Execute Graph Algorithms Exactly with Graph Neural NetworksMuhammad Fetrat Qharabagh, Artur Back de Luca, George Giapitzakis, Kimon FountoulakisICML 2026

它引用的 Paper18

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Train Short, Test Long: Attention with Linear Biases Enables Input Length ExtrapolationOfir Press, Noah A. Smith, Mike LewisICLR 2022 · 1,168 次引用
  3. Long Range Arena : A Benchmark for Efficient TransformersYi Tay, Mostafa Dehghani, Samira Abnar, Yikang Shen 等ICLR 2021 · 881 次引用
  4. Neural Execution of Graph AlgorithmsPetar Velickovic, Rex Ying, Matilde Padovano, Raia Hadsell 等ICLR 2020 · 192 次引用
  5. Rethinking Attention with PerformersKrzysztof Marcin Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song 等ICLR 2021 · 122 次引用

相关 Paper

  1. Tropical Mathematics and the Lambda-Calculus II: Tropical Geometry of Probabilistic Programming LanguagesDavide Barbarossa, Paolo PistonePOPL 2026
  2. Do Transformers Grok Succinct Algorithms? Mechanistic Evidence for Counting CircuitsYizheng ZhaoACL Findings 2026
  3. AlgoTrace: Algorithmic Primitives and Compositional Geometry of Reasoning in Language ModelsSamuel Lippl, Thomas McGee, Kimberly Lopez, Ziwen Pan 等ICML 2026
  4. Neural Network Approximation based on Hausdorff distance of Tropical ZonotopesPanagiotis Misiakos, Georgios Smyrnis, George Retsinas, Petros MaragosICLR 2022 · 10 次引用
  5. Infusing Lattice Symmetry Priors in Attention Mechanisms for Sample-Efficient Abstract Geometric ReasoningMattia Atzeni, Mrinmaya Sachan, Andreas LoukasICML 2023 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖