A Theoretical Study of (Hyper) Self-Attention through the Lens of Interactions: Representation, Training, Generalization
Not on the map. Why?
Abstract (arXiv)
Self-attention has emerged as a core component of modern neural architectures, yet its theoretical underpinnings remain elusive. In this paper, we study self-attention through the lens of interacting entities, ranging from agents in multi-agent reinforcement learning to alleles in genetic sequences, and show that a single layer linear self-attention can efficiently represent, learn, and generalize functions capturing pairwise interactions, including out-of-distribution scenarios. Our analysis reveals that self-attention acts as a mutual interaction learner under minimal assumptions on the diversity of interaction patterns observed during training, thereby encompassing a wide variety of real-world domains. In addition, we validate our theoretical insights through experiments demonstrating that self-attention learns interaction functions and generalizes across both population distributions and out-of-distribution scenarios. Building on our theories, we introduce HyperFeatureAttention, a novel neural network module designed to learn couplings of different feature-level interactions between entities. Furthermore, we propose HyperAttention, a new module that extends beyond pairwise interactions to capture multi-entity dependencies, such as three-way, four-way, or general n-way interactions.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 6 Jun 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awarenesscited by 1
- 2025Transformer-Based Multi-Agent Reinforcement Learning for Networked Systems with Long-Range Interactionscited by 1
- 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformerscited by 1
- 2026Analogies between Transformer Layers and Power Methodcited by 0
- 2026Asymptotic Analysis of Discrete-Time Self-Attention Dynamics in Transformerscited by 0
- 2026Asymptotic Analysis of Discrete-Time Self-Attention Dynamics in Transformers9 Oct 2026
- 2026Analogies between Transformer Layers and Power Method25 May 2026
- 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers2 Feb 2026
- 2025Transformer-Based Multi-Agent Reinforcement Learning for Networked Systems with Long-Range Interactions17 Nov 2025
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awareness28 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025Sigmoid Self-Attention has Lower Sample Complexity than Softmax Self-Attention: A Mixture-of-Experts Perspective
- 2025Attention in Diffusion Model: A Survey
- 2024From Transformer to Biology: A Hierarchical Model for Attention in Complex Problem-Solving ↗
- 2025A3RNN: Bi-directional Fusion of Bottom-up and Top-down Process for Developmental Visual Attention in Robots
- 2024Self-Attention Limits Working Memory Capacity of Transformer-Based Models
- 2025The underlying structures of self-attention: symmetry, directionality, and emergent dynamics in Transformer training
- 2019Supervise Thyself: Examining Self-Supervised Representations in Interactive Environments
- 2025Learning to Focus: Prioritizing Informative Histories with Structured Attention Mechanisms in Partially Observable Reinforcement Learning