arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.08194stat.MLcs.LG
收藏

特征即命运:高维回归中迁移学习的理论

Features are fate: a theory of transfer learning in high-dimensional regression

Department of Applied Physics, Stanford University, Stanford CA, USA(应用物理系,斯坦福大学);Department of Chemistry, Stanford University, Stanford CA, USA(化学系,斯坦福大学)

Javan Tahir, Surya Ganguli, Grant M. Rotskoff

AI总结:

本文从特征视角研究高维回归中的迁移学习,证明当目标任务被预训练模型特征空间良好表示时迁移优于从头训练,并在深度线性网络中解析刻画可迁移性相图,数值验证结果对非线性网络也成立。

摘要:

随着大规模预训练神经网络的出现,将此类“基础”模型适应于数据受限的下游任务的方法已成为必需。当目标任务与源任务高度相似时,微调、偏好优化和迁移学习均已被成功应用于这些目的,但“任务相似性”的精确理论理解仍然缺乏。虽然传统观点认为,源分布与目标分布之间的简单相似性度量(如ϕ散度或积分概率度量)可以直接预测迁移的成功,但我们证明了一个令人惊讶的事实:一般而言,情况并非如此。相反,我们采用以特征为中心的迁移学习视角,并建立了若干理论结果,证明当目标任务能被预训练模型的特征空间良好表示时,迁移学习优于从头训练。我们研究深度线性网络作为迁移学习的最小模型,在其中我们可以解析地刻画以目标数据集大小和特征空间重叠为函数的可迁移性相图。对于该模型,我们严格证明当源任务与目标任务之间的特征空间重叠足够强时,线性迁移和微调均能提升性能,尤其是在低数据极限下。这些结果建立在深度线性网络中特征学习动力学的新兴理解之上,并且我们通过数值实验证明,我们为线性情形推导的严格结果同样适用于非线性网络。

英文摘要:

With the emergence of large-scale pre-trained neural networks, methods to adapt such "foundation" models to data-limited downstream tasks have become a necessity. Fine-tuning, preference optimization, and transfer learning have all been successfully employed for these purposes when the target task closely resembles the source task, but a precise theoretical understanding of "task similarity" is still lacking. While conventional wisdom suggests that simple measures of similarity between source and target distributions, such as $ϕ$-divergences or integral probability metrics, can directly predict the success of transfer, we prove the surprising fact that, in general, this is not the case. We adopt, instead, a feature-centric viewpoint on transfer learning and establish a number of theoretical results that demonstrate that when the target task is well represented by the feature space of the pre-trained model, transfer learning outperforms training from scratch. We study deep linear networks as a minimal model of transfer learning in which we can analytically characterize the transferability phase diagram as a function of the target dataset size and the feature space overlap. For this model, we establish rigorously that when the feature space overlap between the source and target tasks is sufficiently strong, both linear transfer and fine-tuning improve performance, especially in the low data limit. These results build on an emerging understanding of feature learning dynamics in deep linear networks, and we demonstrate numerically that the rigorous results we derive for the linear case also apply to nonlinear networks.

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

↑