cs.LGOct 21, 2026
SaveGeometric knowledge spaces, Attention pairing and Architectures
Abstract
In this paper, we propose a geometric approach to deriving attention mechanisms and exploring potential new transformer architectures. We begin by formalizing the notions of knowledge worlds and attention pairings, then demonstrate how this framework naturally leads to the architectures of standard attention, causal attention, linear attention, tensor attention, and recurrent neural networks. Finally, we introduce several new geometric spaces that may inspire novel neural network architectures.
Figures & tables
| Architecture | knowledge worlds | Intelligence | Update and readout |
|---|---|---|---|
| Attention (ordinary or causal) | , , , . | , , . | . , . |
| Linear attention | , , , . | , , , . | . . Normalized evaluation: . |
| Tensor attention | , , , . | , . | . , . Concatenate heads and apply . |
| Bilinear RNN | , , , . | , . The evaluation is an increment to memory. | , , . |
| Vanilla RNN | , , , . | , . The evaluation is the next hidden state. | , . The hidden state is replaced by its evaluation. |
Table 1. knowledge worlds, intelligence pairings, and the resulting neural architectures. The RNN formulas describe the stabilized stages , with initial stages as defined in the preceding constructions.
More in this topic
Attention Mechanisms
Attention mechanisms let neural networks weight information from other tokens or regions according to relevance, enabling context-dependent processing.
See all 517 papers