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

理解不变性在迁移学习中的作用

Understanding the Role of Invariance in Transfer Learning

MPI-SWS(马克斯·普朗克软件系统研究所)

Till Speicher, Vedant Nanda, Krishna P. Gummadi

AI总结:

本文通过合成数据集系统研究表示不变性在迁移学习中的作用,发现对正确变换的不变性往往比训练样本数量、模型架构等因素更重要,并揭示了不变性可能损害迁移的条件及其跨任务可迁移性。

摘要:

迁移学习是一种在不同任务之间共享知识的强大技术。近期研究发现,具有某些不变性(例如对对抗性输入扰动的不变性)的模型表示在下游任务上能取得更高的性能。这些发现表明,不变性可能是迁移学习背景下的一个重要性质。然而,不变性与迁移性能之间的关系尚未被完全理解,仍存在许多问题。例如,与预训练任务的其他因素相比,不变性有多重要?学习到的不变性有多大的可迁移性?在这项工作中,我们系统地研究了表示不变性对迁移学习的重要性,以及它在预训练过程中如何与其他参数相互作用。为此,我们引入了一族合成数据集,使我们能够精确控制训练数据和测试数据中的变化因素。利用这些数据集,我们(a)表明,为了学习具有高迁移性能的表示,对正确变换的不变性与大多数其他因素(如训练样本数量、模型架构和预训练类别的身份)同等重要,甚至往往更为重要;(b)展示了不变性可能损害表示迁移能力的条件;(c)探索了不变性在任务之间的可迁移性。代码可在 \url{https://github.com/tillspeicher/representation-invariance-transfer} 获取。

英文摘要:

Transfer learning is a powerful technique for knowledge-sharing between different tasks. Recent work has found that the representations of models with certain invariances, such as to adversarial input perturbations, achieve higher performance on downstream tasks. These findings suggest that invariance may be an important property in the context of transfer learning. However, the relationship of invariance with transfer performance is not fully understood yet and a number of questions remain. For instance, how important is invariance compared to other factors of the pretraining task? How transferable is learned invariance? In this work, we systematically investigate the importance of representational invariance for transfer learning, as well as how it interacts with other parameters during pretraining. To do so, we introduce a family of synthetic datasets that allow us to precisely control factors of variation both in training and test data. Using these datasets, we a) show that for learning representations with high transfer performance, invariance to the right transformations is as, or often more, important than most other factors such as the number of training samples, the model architecture and the identity of the pretraining classes, b) show conditions under which invariance can harm the ability to transfer representations and c) explore how transferable invariance is between tasks. The code is available at \url{https://github.com/tillspeicher/representation-invariance-transfer}.

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

↑