arXiv · 2610.06012
Spectral Geometry of Attention: From Information Routing to Uncertainty
Abstract
In this work, we study transformer attention through the lens of spectral geometry and operator theory. We view each attention head as a functional map between Hilbert spaces of functions on the token sequence and derive a Token Difference Operator, whose spectral structure controls how token-space information is routed to the output. We show that standard Euclidean spectra are structurally biased by sinks, conflating mass concentration with genuine routing capacity. By recasting token space in the intrinsic probability geometry induced by attention, the token difference spectrum disentangles sink effects from routing capacity and provides a spectral description of the dimensionality of the head output. This yields a unified framework for analyzing attention maps, explaining sinks, routing collapse, and output dimensionality within a single operator-theoretic framework. In practice, by grounding attention heuristics in spectral geometry, we develop a novel attention-based uncertainty estimator that complements probability-based scores, with the largest gains on long-context inputs.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Giulio Viganò, Simone Melzi, Maks Ovsjanikov. 2026-10-05. Spectral Geometry of Attention: From Information Routing to Uncertainty. https://arxiv.org/abs/2610.06012
Cite the original work for its findings. Save a collection to share your selection of sources.