Boltzmann Attention: Learnable Ising Couplings for Cooperative Attention
Not on the map. Why?
Abstract (arXiv)
Attention mechanisms are central to modern sequence models, yet standard attention computes relevance primarily through individual query--key similarities. Although softmax normalization introduces competition among positions, a standard attention layer does not explicitly parameterize learnable interactions between attention decisions. This limits its ability to directly model cooperative or antagonistic co-attention structure within the attention mechanism itself. We propose Boltzmann attention, an energy-based generalization in which attention patterns are governed by an interacting Ising model. The method augments the usual data-dependent local fields with learnable pairwise couplings, allowing the model to represent inter-position correlations beyond those captured by softmax or sigmoid attention. Experiments on character-level language modeling and synthetic bracket matching show that Boltzmann attention consistently improves over standard softmax attention within a standard Transformer architecture, with the advantage becoming more pronounced as sequence length increases. A four-way ablation confirms that the improvement arises from the learnable pairwise couplings. These results suggest that explicit inter-position interactions provide a principled enhancement for attention-based sequence modeling. Moreover, the Ising formulation opens a natural path toward quantum-computing-based sampling strategies: we demonstrate that diabatic quantum annealing provides a practical training method while maintaining competitive performance with exact Boltzmann computation.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 20 of its 33 references that are in the map. First posted on arXiv 10 Jun 2026.
Builds on
20 of 33 references.
References · 20
- 2017Attention Is All You Needcited by 60,106
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,588
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,539
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,994
- 2020Reformer: The Efficient Transformercited by 1,662
- 2020Rethinking Attention with Performerscited by 1,594
- 2019Generating Long Sequences with Sparse Transformerscited by 1,538
- 2020Hopfield Networks is All You Needcited by 467
- 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 112
8 more
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
- 2023Energy Transformercited by 70
- 2024Theory, Analysis, and Best Practices for Sigmoid Self-Attentioncited by 64
- 2022Attention in a family of Boltzmann machines emerging from modern Hopfield networkscited by 7
- 2024Dynamical Mean-Field Theory of Self-Attention Neural Networkscited by 3
- 2025Sigmoid Self-Attention has Lower Sample Complexity than Softmax Self-Attention: A Mixture-of-Experts Perspectivecited by 3
- 2025QAMA: Scalable Quantum Annealing Multi-Head Attention Operator for Deep Learningcited by 2
- 2026Multi-Mode Quantum Annealing for Generative Representation Learning with Boltzmann Priorscited by 1
Built on by
Not cited yet.