arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.19231cs.CLcs.AI
收藏

句法头会影响模型行为吗?

Do Syntax Heads Influence Model Behavior?

New York University(纽约大学)

William Timkey, Tal Linzen

AI总结:

该研究探究Transformer语言模型的句法注意力头是否对句法预测有因果作用,通过干预实验发现此类头的干预效果仅在一项指标上强于随机头,未证实其关键因果作用。

摘要:

Transformer语言模型会演化出专门处理句法关系的注意力头,例如从动词关注其主语。这些头是否在模型的句法预测中发挥因果作用?相关证据喜忧参半甚至偏负面:即使我们强制这些头关注主语之外的干扰名词,模型的句法预测仍与主语更一致而非干扰项。对专门句法头的干预,在句法预测上的效果显著强于对随机头的干预,但仅在我们提出的两项指标中的一项上成立。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑