首页 > AI前沿 > Do Syntax Heads Influence Model Behavior?

Do Syntax Heads Influence Model Behavior?

arXiv自然语言 2026-10-14 05:47 4 阅读 查看原文

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.