HeadVis:用于研究注意力头的交互式工具
Anthropic 推出 HeadVis,一个用于研究大语言模型注意力头的交互式可视化工具,并开源了代码。该工具通过注意力模式可视化、分布指标、低秩分量投影以及经 QK/OV 电路的 SAE 特征归因来生成和检验关于注意力头功能的假设。作者用 HeadVis 分析了 Claude Haiku 3.5 的注意力头,并提供了 Gemma 3 及 Haiku 3.5 部分注意力头的演示。
table, so this provides a simple way to find interesting heads quickly. We can find induction heads by using a proxy metric called the induction scoreThe induction score is the average attention pattern of a head on (query, key) token pairs that correspond to the literal copying case of induction. In a sequence that looks like [A][B]…[A]- [B], an induction head would attend from the second A to the first B. This is the same as the prefix score from , except the prefix score was on a synthetic da
匹配字段正文




