Do Syntax Heads Influence Model Behavior?

William Timkey, Tal Linzen
10/13/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Transformer language models develop attention heads that specialize in syntactic relations, for example, attending from verbs to their subjects. Do these heads play a causal role in the model's syntactic predictions? Evidence for such a role is mixed to negative: even when we force these heads to attend to a distractor noun other than the subject, the model's syntactic predictions are still more consistent with the subject than with the distractor. Interventions on specialized syntax heads had a significantly stronger effect on syntactic predictions than interventions on random heads, but only in one of the two measures we propose.

View on arXivView PDF

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{timkey2026syntax,
  title  = {Do Syntax Heads Influence Model Behavior?},
  author = {William Timkey and Tal Linzen},
  year   = {2026},
  eprint = {2610.19231},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.19231v1}
}

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/2610.19231.svg)](https://codeofpaper.com/paper/2610.19231)

Discussion