Paper · published 2026-10 · added 2026-10-30 · arxiv.org

Emergence of the transformer architecture as the score of entropic laws of random measures

What it is

This paper demonstrates that the transformer architecture can be derived from first principles using the maximum-entropy principle. It models language as a law on empirical measures of tokens and shows that the attention mechanism emerges as the Lagrange multiplier of a maximum-entropy problem, with the query-key matrix representing the score of the last-token law.

The problem it solves

Lack of a first-principles derivation for the specific mathematical structure of the transformer attention mechanism, which is often treated as an empirical heuristic.

What you could use it for

Why it matters

Provides a rigorous theoretical foundation for the transformer architecture, potentially guiding the design of more principled and efficient neural network components.

transformerattention mechanismmaximum-entropy principlstatistical mechanicstheoretical machine lear

Read the source ↗Back to the library →

Summary written by an AI model from the source; check the source before you rely on it.