arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.14122cs.LGcs.AIstat.ML
收藏

迁移神经网络的学习轨迹

Transferring Learning Trajectories of Neural Networks

NTT Computer and Data Science Laboratories, NTT Corporation(NTT公司NTT计算机与数据科学实验室)

Daiki Chijiwa

AI总结:

本文提出神经网络学习轨迹迁移问题,并利用置换对称性沿轨迹匹配梯度,给出首个近似求解算法,使迁移参数无需直接训练即有非平凡准确率且后续训练显著更快。

摘要:

训练深度神经网络(DNN)的计算成本很高,这在执行重复或相似的训练运行时尤其成问题,例如在模型集成或微调预训练模型等场景中。一旦我们在某个数据集上训练了一个 DNN,就会得到它的学习轨迹(即训练过程中一系列中间参数),其中可能包含对学习该数据集有用的信息。然而,此前还没有研究尝试将给定学习轨迹中的此类信息用于另一次训练。本文将给定学习轨迹从一个初始参数“迁移”到另一个初始参数的问题形式化(学习迁移问题),并推导出首个近似求解该问题的算法:通过置换对称性沿轨迹连续匹配梯度。实验表明,迁移得到的参数在任何直接训练之前就能取得非平凡的准确率,并且相比从头开始训练可以显著加快训练速度。

英文摘要:

Training deep neural networks (DNNs) is computationally expensive, which is problematic especially when performing duplicated or similar training runs in model ensemble or fine-tuning pre-trained models, for example. Once we have trained one DNN on some dataset, we have its learning trajectory (i.e., a sequence of intermediate parameters during training) which may potentially contain useful information for learning the dataset. However, there has been no attempt to utilize such information of a given learning trajectory for another training. In this paper, we formulate the problem of "transferring" a given learning trajectory from one initial parameter to another one (learning transfer problem) and derive the first algorithm to approximately solve it by matching gradients successively along the trajectory via permutation symmetry. We empirically show that the transferred parameters achieve non-trivial accuracy before any direct training, and can be trained significantly faster than training from scratch.

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

↑