Reading Positional Coupling in Transformers with Diffusion Scores
Abstract
Understanding how transformers encode position and context is central to interpreting their behavior because it determines how information flows across tokens and shapes the model's predictions. Common approaches, such as single-position linear probes and circuit tracing methods, do not directly return the same-layer dependency structure across token positions. We introduce Score-Block Token Geometry (SBTG), a score-based diagnostic that recovers this dependency structure from activations and reveals distinct signatures of positional encoding mechanisms. SBTG trains a denoising score model on windows of activations and constructs operators that quantify coupling between positions within a layer. In controlled experiments on transformers with different positional encodings, SBTG recovers distinct coupling signatures consistent with their architectures: ALiBi exhibits higher spectral concentration than RoPE and Absolute at the deepest layer of our matched four-layer transformers, while Absolute embeddings show the strongest position-specific variation there. Subspace intervention experiments show that SBTG directions carry a larger share of variable-lag copy damage than variance-aligned alternatives despite a lower activation-variance footprint. Experiments on pretrained models provide additional cross-family associations between positional encoding methods and dependency structures of adjacent output logit positions. Together, these results show that joint activation structure distinguishes positional encoding mechanisms by how models use cross-position dependencies, and that single-position probes do not reveal these differences.