arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.06106cs.LGcs.AIcs.CL
收藏

微调即子图搜索:学习动力学的新视角

Fine-Tuning is Subgraph Search: A New Lens on Learning Dynamics

Beijing University of Posts and Telecommunications(北京邮电大学)

Yueyan Li, Wenhao Gao, Caixia Yuan, Xiaojie Wang

AI总结:

本文将微调建模为在冗余计算图中搜索并优化任务相关子图,提出 circuit-tuning 算法,通过实验验证假设并展示其能在目标任务性能与通用能力间取得平衡,为理解学习动力学提供新视角。

摘要:

机制可解释性研究旨在对模型进行逆向工程以解释其行为。虽然近期研究主要关注某一行为的静态机制,但模型内部的学习动力学仍有待探索。在本工作中,我们提出了一种用于分析学习背后机制的微调方法。受内在维度概念的启发,我们将模型视为针对特定任务具有冗余的计算图,并将微调过程视为在该图中搜索并优化一个子图。基于这一假设,我们提出了 circuit-tuning,这是一种迭代地为特定任务构建子图并以启发式方式更新相关参数的算法。我们首先通过精心设计的实验验证了该假设,并对微调过程中的学习动力学进行了详细分析。随后,我们在更复杂的任务上进行了实验,证明 circuit-tuning 能够在目标任务性能与通用能力之间取得平衡。我们的工作为微调动力学提供了一种新的分析方法,为训练过程背后的机制提供了新的发现,并启发了更优神经网络训练算法的设计。

英文摘要:

The study of mechanistic interpretability aims to reverse-engineer a model to explain its behaviors. While recent studies have focused on the static mechanism of a certain behavior, the learning dynamics inside a model remain to be explored. In this work, we develop a fine-tuning method for analyzing the mechanism behind learning. Inspired by the concept of intrinsic dimension, we view a model as a computational graph with redundancy for a specific task, and treat the fine-tuning process as a search for and optimization of a subgraph within this graph. Based on this hypothesis, we propose circuit-tuning, an algorithm that iteratively builds the subgraph for a specific task and updates the relevant parameters in a heuristic way. We first validate our hypothesis through a carefully designed experiment and provide a detailed analysis of the learning dynamics during fine-tuning. Subsequently, we conduct experiments on more complex tasks, demonstrating that circuit-tuning could strike a balance between the performance on the target task and the general capabilities. Our work offers a new analytical method for the dynamics of fine-tuning, provides new findings on the mechanisms behind the training process, and inspires the design of superior algorithms for the training of neural networks.

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

↑