ExPLAIND:统一模型、数据和训练归因以研究模型行为
ExPLAIND: Unifying Model, Data, and Training Attribution to Study Model Behavior
AI总结:
提出ExPLAIND框架,统一归因于模型组件、数据和训练轨迹,支持跨粒度解释,通过梯度路径核和AdamW核机器推导参数级和步骤级影响分数,验证了Transformer的Grokking和EuroLLM预训练中的两阶段动态。
摘要:
事后可解释性方法通常将模型行为归因于其组件、数据或训练轨迹中的某一个,并且往往局限于局部到全局谱中的特定粒度。这导致解释缺乏统一视角,可能遗漏关键交互。我们提出了ExPLAIND,一个理论扎实的统一框架,它整合了模型组件、数据和训练轨迹,同时支持跨粒度的解释。我们推广了最近关于梯度路径核的工作,将AdamW训练的模型重新表述为核机器。从得到的核特征图中,我们推导出新的参数级和步骤级影响分数。我们在多种设置下实证验证了模型行为的分解结果,并将ExPLAIND应用于两个案例研究。我们对一个表现出Grokking现象的Transformer的发现支持了先前提出的学习阶段,同时将最后阶段细化为外层在记忆后围绕一个表示管道对齐的阶段。对于EuroLLM预训练,ExPLAIND揭示了一个两阶段动态:第一阶段以外部MLP学习为特征,第二阶段以中间注意力层的相对影响增加为特征。这些结果确立了ExPLAIND作为解释模型行为和训练动态的统一框架。
英文摘要:
Post-hoc interpretability methods typically attribute a model's behavior to its components, data, or training trajectory in isolation, and are often tied to a particular level of granularity along the local-to-global spectrum. This leads to explanations that lack a unified view and may miss key interactions. We present ExPLAIND, a theoretically grounded, unified framework that integrates model components, data, and training trajectory while supporting explanations across granularities. We generalize recent work on gradient path kernels, reformulating models trained by AdamW as kernel machines. From the resulting kernel feature maps, we derive novel parameter-wise and step-wise influence scores. We empirically validate the resulting decomposition of model behavior in several settings and apply ExPLAIND to two case studies. Our findings on a Transformer exhibiting Grokking support previously proposed learning phases, while refining the final phase as one in which outer layers align around a representation pipeline learned after memorization. For EuroLLM pretraining, ExPLAIND reveals a two-phase dynamic, with the first characterized by outer-layer MLP learning and the second by increased relative influence of intermediate attention layers. These results establish ExPLAIND as a unified framework for interpreting model behavior and training dynamics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。