paper-with-me

홈 › Papers

From Self-Attention to Connection Laplacian: A Unified Operator View of Transformers

2026-07-12 · Binbin Lin, Wei Chen, Yalun Li, Wenxiao Wang, Jieping Ye, Xiaofei He arxiv

Self-attention is a ubiquitous primitive in modern sequence models, yet its operator-level geometry is only partially understood. We view a token sequence as a vector field over the token-position graph and identify attention as a connection walk: messages are aggregated by a nonnegative walk matrix while being transported along each edge by a learned linear map. Within this framework, we prove that single-head attention (SHA) is exactly a connection propagation step with constant transport, and that multi-head attention (MHA) is exactly a single edge-dependent connection walk whose effective transport is an attention-gated mixture of headwise transports. We further clarify the conditions under which the corresponding generator reduces to a random-walk connection Laplacian, highlighting the roles of stochasticity, reversibility, and metric-compatible transports. Empirically, we find that trained Transformers across scales (from 124M to 8B) and structures (encoder/decoder) exhibit geometric structure consistent with our theory: effective attention graphs converge to stable geometric operators in deeper layers, learned transports self-organize into approximate scaled isometries, and both phenomena strengthen consistently with scale. Overall, the paper provides a precise connection-walk formalism that links self-attention to classical geometric operators, along with a set of operator-level tools for analyzing transformer models from a geometric perspective.

📄 PDF Abstract BibTeX arXiv:2607.10677

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Advancing Graph Neural Networks with HL-HGAT: A Hodge-Laplacian and Attention Mechanism Approach for Heterogeneous Graph-Structured Data

2024-03-11 · Jinghan Huang, Qiufeng Chen, Yijun Bian, Pengli Zhu 외

Graph neural networks (GNNs) have proven effective in capturing relationships among nodes in a graph. This study introduces a novel perspective by considering a graph as a simplicial complex, encompassing nodes, edges, t…

Graph AttentionGraph Regression

Improved graph Laplacian via geometric self-consistency

2014-05-31 · NeurIPS 2017 12 · Dominique Perrault-Joncas, Marina Meila

We address the problem of setting the kernel bandwidth used by Manifold Learning algorithms to construct the graph Laplacian. Exploiting the connection between manifold geometry, represented by the Riemannian metric, and…

Spectral Convergence of the connection Laplacian from random samples

2013-06-07 · Amit Singer, Hau-Tieng Wu

Spectral methods that are based on eigenvectors and eigenvalues of discrete graph Laplacians, such as Diffusion Maps and Laplacian Eigenmaps are often used for manifold learning and non-linear dimensionality reduction. I…

Dimensionality Reduction

Consistent Geometric Deep Learning via Hilbert Bundles and Cellular Sheaves

2026-05-07 · Kartik Tandon, Julian Gould, Tanishq Bhatia, Francesca Dominici 외 arxiv

Modern deep learning architectures increasingly contend with sophisticated signals that are natively infinite-dimensional, such as time series, probability distributions, or operators, and are defined over irregular doma…

Laplacian Heads Improve Transformers by Smoothing Token Representations

2026-02-10 · Yuchong Zhang, Vardan Papyan arxiv

Transformers update token representations through multi-head attention and residual connections as $X \leftarrow X + \sum_{i} P^{(i)}XW_{V_i}W_{o_i}$, where $P^{(i)}$ is the softmax attention matrix in head $i$. We propo…

Self-Supervised Learning