paper-with-me

홈 › Papers

Dynamics of the Transformer Residual Stream: Coupling Spectral Geometry to Network Topology

2026-05-14 · Jesseba Fernando, Grigori Guitchounts arxiv

Large language models are remarkably capable, yet how computation propagates through their layers remains poorly understood. A growing line of work treats depth as discrete time and the residual stream as a dynamical system, where each layer's nonlinear update has a local linear description. However, previous analyses have relied on scalar summaries or approximate linearizations, leaving the full spectral geometry of trained LLMs unknown. We perform full Jacobian eigendecomposition across three production--scale LLMs and show that training installs a monotonic spectral gradient through depth -- from non-normal, rotation-dominated early layers to near--symmetric late layers -- together with a cumulative low-rank bottleneck that funnels perturbations into a small fraction of the residual stream's effective dimensions. Our experiments reveal that this gradient and the dimensional collapse are learned rather than architectural, and is largely dissolved when structured non-normality is removed. We further show that the topological positioning of graph communities predicts whether the Jacobian amplifies or suppresses them, with the sign of the coupling determined by the local operator type, a relationship absent at initialization. These results map a learned spectral geometry in LLMs that links perturbation propagation and compression to the network's functional topology.

📄 PDF Abstract BibTeX arXiv:2605.14258

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Beyond Reconstruction: Reconstruction-to-Vector Diffusion for Hyperspectral Anomaly Detection

2026-04-13 · Jijun Xiang, Tao Wang, Jiayi Wang, Pengxiang Wang 외 arxiv

While Hyperspectral Anomaly Detection (HAD) excels at identifying sparse targets in complex scenes, existing models remain trapped in a scalar "reconstruction-as-endpoint" paradigm. This reliance on ambiguous scalar resi…

Anomaly Detection

ResiDual Transformer Alignment with Spectral Decomposition

2024-10-31 · Lorenzo Basile, Valentino Maiorca, Luca Bortolussi, Emanuele Rodolà 외

When examined through the lens of their residual streams, a puzzling property emerges in transformer networks: residual contributions (e.g., attention heads) sometimes specialize in specific tasks or input attributes. In…

zero-shot-classificationZero-Shot Learning

Transformers represent belief state geometry in their residual stream

2024-05-24 · Adam S. Shai, Sarah E. Marzen, Lucas Teixeira, Alexander Gietelink Oldenziel 외

What computational structure are we building into large language models when we train them on next-token prediction? Here, we present evidence that this structure is given by the meta-dynamics of belief updating over hid…

Prediction

Hyperspectral Image Classification via Transformer-based Spectral-Spatial Attention Decoupling and Adaptive Gating

2025-06-10 · Guandong Li, Mengxia Ye

Deep neural networks face several challenges in hyperspectral image classification, including high-dimensional data, sparse distribution of ground objects, and spectral redundancy, which often lead to classification over…

ClassificationHyperspectral Image Classificationimage-classificationImage Classification

Unpacking Positional Encoding in Transformers: A Spectral Analysis of Content-Position Coupling

2025-05-19 · Zihan Gu, Han Zhang, Ruoyu Chen, Yue Hu 외

Positional encoding (PE) is essential for enabling Transformers to model sequential structure. However, the mechanisms by which different PE schemes couple token content and positional information-and how these mechanism…

Position