可微的忠实对齐用于跨模型电路转移
Differentiable Faithfulness Alignment for Cross-Model Circuit Transfer
AI总结:
本文提出DFA框架,通过学习可微对齐将小模型的电路信息转移到大模型,实验证明在事实检索、多选推理和算术任务中,DFA在Llama-3 1B→3B任务中表现优异,且在某些情况下恢复的电路忠实度不低于直接归因。
摘要:
机制可解释性使我们能够局部化语言模型中的特定行为底层电路,但现有方法成本高、模型特定且难以扩展到更大架构。我们引入可微忠实对齐(DFA),一种框架,通过学习的可微对齐将小源模型的电路信息转移到大目标模型。DFA将源模型节点重要性评分投影到目标模型,并通过软忠实目标训练此映射,避免在目标模型上进行完整电路发现。我们在Llama-3和Qwen-2.5上评估DFA,涵盖六个任务,包括事实检索、多选推理和算术。最强的结果出现在Llama-3 1B→3B任务中,其中对齐的电路经常与直接节点归因竞争,零样本转移仍有效。恢复在较大的源-目标差距时减弱,并在Qwen-2.5上显著降低,表明转移难度随着架构和扩展差异增加而增加。总体而言,DFA在某些情况下恢复的目标模型电路的忠实度与直接归因相当或更高。这些结果表明,小模型可以为大模型提供有用的机制先验,同时突显了跨模型电路对齐的潜力和局限性。
英文摘要:
Mechanistic interpretability has made it possible to localize circuits underlying specific behaviors in language models, but existing methods are expensive, model-specific, and difficult to scale to larger architectures. We introduce Differentiable Faithfulness Alignment (DFA), a framework that transfers circuit information from a smaller source model to a larger target model through a learned differentiable alignment. DFA projects source-model node importance scores into the target model and trains this mapping with a soft faithfulness objective, avoiding full circuit discovery on the target model. We evaluate DFA on Llama-3 and Qwen-2.5 across six tasks spanning factual retrieval, multiple-choice reasoning, and arithmetic. The strongest results occur when transferring from Llama-3 1B to 3B, where aligned circuits are often competitive with direct node attribution and zero-shot transfer remains effective. Recovery weakens for larger source--target gaps and is substantially lower on Qwen-2.5, suggesting that transfer becomes harder as architectural and scaling differences increase. Overall, DFA consistently outperforms simple baselines and, in some settings, recovers target-model circuits with faithfulness comparable to or stronger than direct attribution. These results suggest that smaller models can provide useful mechanistic priors for larger ones, while highlighting both the promise and the limits of node-level cross-model circuit alignment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。