arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.01641cs.LG
收藏

线性教师微调的理论分析

A Theoretical Analysis of Fine-tuning with Linear Teachers

Tel Aviv University(特拉维夫大学);Google Research(谷歌研究院)

Gal Shachaf, Alon Brutzkus, Amir Globerson

摘要:

微调是深度学习中的常见做法,使用相对较少的训练数据在下游任务上实现出色的泛化结果。虽然在实践中得到了广泛的应用,但缺乏很强的理论认识。我们分析了该方案的样本复杂性回归线性教师在几个架构。直观地说,微调的成功取决于源任务和目标任务之间的相似性,然而测量它并不容易。我们表明,相关的措施考虑源任务,目标任务和目标数据的协方差结构之间的关系。在线性回归的设置中,我们表明,在现实的设置下,大量的样本复杂性降低是合理的,当上述措施是低的。对于深度线性回归,我们提出了一个新的结果,当网络使用预训练的权重初始化时,基于梯度的训练的归纳偏差。使用这个结果,我们表明,这种设置的相似性度量也受到网络深度的影响。我们进一步展示了浅层ReLU模型的结果,并分析了样本复杂度对源任务和目标任务的依赖性。我们经验证明我们的结果为合成和现实的数据。

英文摘要:

Fine-tuning is a common practice in deep learning, achieving excellent generalization results on downstream tasks using relatively little training data. Although widely used in practice, it is lacking strong theoretical understanding. We analyze the sample complexity of this scheme for regression with linear teachers in several architectures. Intuitively, the success of fine-tuning depends on the similarity between the source tasks and the target task, however measuring it is non trivial. We show that a relevant measure considers the relation between the source task, the target task and the covariance structure of the target data. In the setting of linear regression, we show that under realistic settings a substantial sample complexity reduction is plausible when the above measure is low. For deep linear regression, we present a novel result regarding the inductive bias of gradient-based training when the network is initialized with pretrained weights. Using this result we show that the similarity measure for this setting is also affected by the depth of the network. We further present results on shallow ReLU models, and analyze the dependence of sample complexity there on source and target tasks. We empirically demonstrate our results for both synthetic and realistic data.

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

↑