架构,而非规模:大语言模型中的电路定位
Architecture, Not Scale: Circuit Localization in Large Language Models
AI总结:
研究发现,注意力架构比参数量更重要,组查询注意力在同等规模下产生更集中稳定的电路,且在事实记忆中存在相变现象。
摘要:
机械可解释性假设电路分析随模型规模增加而变难。本文挑战这一假设,通过研究Pythia和Qwen2.5中的三种电路类型,发现组查询注意力产生的电路比标准多头注意力更集中和机械稳定。相同集中模式在间接对象识别、归纳头和事实记忆中均成立。在单一架构家族(Qwen2.5)中,事实记忆电路在临界规模以上经历离散相变,坍缩为单一瓶颈而非逐渐退化。这些发现表明某些架构选择使大模型更易研究,可解释性难度并非模型规模的固定结果。
英文摘要:
Mechanistic interpretability assumes that circuit analysis becomes harder as models scale. We challenge this assumption by showing that the attention architecture matters more than parameter count. Studying three circuit types across Pythia and Qwen2.5, we find that grouped query attention produces circuits that are far more concentrated and mechanistically stable than standard multi-head attention at comparable scales. The same concentration pattern holds across indirect object identification, induction heads, and factual recall. Within a single architecture family (Qwen2.5), factual recall circuits undergo a discrete phase transition above a critical scale, collapsing to a single bottleneck rather than degrading gradually. These findings suggest that some architectural choices make large models more tractable to study and that interpretability difficulty is not a fixed consequence of model size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。