cs.LGOct 11, 2026

Softmax-Free Attention in Spiking Transformers as the Zero-Temperature Limit of Two-Level Systems

Authors: Roberto C. Sotero, Pouya Taghipour, Jose M. Sanchez-Bornot

Organizations: Department of Radiology, University of Calgary, Calgary, AB, Canada · Department of Biomedical Engineering, University of Calgary, Calgary, AB, Canada · Hotchkiss Brain Institute, University of Calgary, Calgary, AB, Canada · Intelligent Systems Research Center, Ulster University, Derry Londonderry, Northern Ireland, United Kingdom

Abstract

Spiking Transformers achieve energy efficiency by discarding softmax normalization in favor of thresholded, binary attention. However, this removal breaks the thermodynamic framework used to analyze attention networks, as the normalized measure and partition function cease to exist. We restore this theoretical foundation by proving that softmax-free spiking attention operates exactly as the zero-temperature limit of a product of independent two-level systems. This correspondence places spiking attention strictly in the frozen ordered phase of the thermodynamic phase diagram for all inputs. Consequently, the entropic cost of organizing attention collapses, replaced by a Landauer-type physical floor governed by action-potential generation. Furthermore, this ordered-phase pinning mathematically explains the optimization difficulty caused by vanishing surrogate gradients. We validate this theory with forward-relaxation experiments, placing both standard and neuromorphic attention mechanisms on a unified thermodynamic axis.

Figures & tables

Explore similar work

CardsList
  1. Closing the Theory-Practice Gap in Spiking Transformers via Effective Dimension

    Apr 17, 2026Dongxin Guo, Jikun Wu, Siu Ming YiuSpiking TransformersTransformer Attention

  2. On the Statistical Mechanics of Attention

    Oct 12, 2026Jerry Yao-Chieh Hu, Yu-An Chen, Maojiang Su +1Transformer AttentionAttention Mechanisms

  3. Neural Dynamics Self-Attention for Spiking Transformers

    Mar 9, 2026Dehao Zhang, Fukai Guo, Shuai Wang +6Spiking TransformersSpiking Neural Networks