Pinpointing Attention-Causal Communication in Language Models

Gabriel Franco, Mark Crovella
1/1/2025
transformer-attention

No confident code implementation found for this paper.

Abstract

The attention mechanism plays a central role in the computations performed by transformer-based models, and understanding the reasons why heads attend to specific tokens can aid in interpretability of language models. Although considerable work has shown that models construct low-dimensional feature representations, little work has explicitly tied low-dimensional features to the attention mechanism itself.

Show full abstract

In this paper we work to bridge this gap by presenting methods for identifying attention-causal communication , meaning low-dimensional features that are written into and read from tokens, and that have a provable causal relationship to attention patterns. The starting point for our method is prior work [1–3] showing that model components make use of low dimensional communication channels that can be exposed by the singular vectors of QK matrices. Our contribution is to provide a rigorous and principled approach to finding those channels and isolating the attention-causal signals they contain. We show that by identifying those signals, we can perform prompt-specific circuit discovery in a single forward pass. Further, we show that signals can uncover unexplored mechanisms at work in the model, including a surprising degree of global coordination across attention heads.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{franco2025pinpointing,
  title  = {Pinpointing Attention-Causal Communication in Language Models},
  author = {Gabriel Franco and Mark Crovella},
  year   = {2025},
  doi    = {10.52202/085713-1239},
  url    = {https://doi.org/10.52202/085713-1239},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/6efcb3435d05663e81b72751023b2349fd545c8d.svg)](https://codeofpaper.com/paper/6efcb3435d05663e81b72751023b2349fd545c8d)

Discussion