arXiv:2610.29526cs.LGOct 2026

Manuscript Offprint

arXiv:2610.29526

Geometric knowledge spaces, Attention pairing and Architectures

Shang Xu

SHANG XU

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.

CONTENTS

  1. Introduction 1
  2. Formalization of Characters, Knowledge and Intelligence and Attention 2
    2.1. An intuitive abstraction of the axioms 3
    2.2. A categorical formalization 4
    2.3. Examples 5
  3. From the formalization to architectures 5
    3.1. Bilinear pairing and attention 5
    3.2. Matrix trace pairing and linear attention 7
    3.3. Tensor-valued knowledge and natural attention pairings 8
    3.4. Fixed-dimensional knowledge worlds and recurrent neural networks 9
  4. Geometric spaces that lead to new designs 12
    4.1. Further geometric knowledge worlds 12
    References 14