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

通过任务相关性理解表征的可迁移性

Understanding the Transferability of Representations via Task-Relatedness

Tulane University(杜兰大学)

Akshay Mehra, Yunbei Zhang, Jihun Hamm

AI总结:

该研究提出基于任务相关性的预训练模型表征可迁移性分析方法,推导可迁移性上界,验证其在多任务上的有效性,可用于高效估计可迁移性及选择最优预训练模型。

摘要:

随着在海量数据上预训练的模型日益普及,迁移学习的应用越来越广泛,因此亟需明确这些预训练模型的知识何时能够迁移,从而在下游目标任务上获得高性能模型。然而,在跨域跨任务场景下,迁移学习成功的确切条件仍未得到充分理解。为填补这一空白,我们提出了一种新颖的分析方法,从预训练模型表征与给定参考任务的相关性角度,分析其向目标任务迁移的能力。我们的分析推导了基于任务相关性的可迁移性上界,任务相关性通过两个任务的类先验、标签集和特征的差异进行量化。我们使用前沿预训练模型开展的实验表明,任务相关性能够有效解释多种视觉与语言任务上的可迁移性。任务相关性不仅计算高效,甚至无需目标任务的标签即可计算,且与模型在目标任务上端到端微调后的准确率高度相关,因此是一种实用的可迁移性估计指标。我们利用任务相关性从模型库中为目标任务选择最优预训练模型的实验结果,凸显了其在实际问题中的应用价值。

英文摘要:

The growing popularity of transfer learning, due to the availability of models pre-trained on vast amounts of data, makes it imperative to understand when the knowledge of these pre-trained models can be transferred to obtain high-performing models on downstream target tasks. However, the exact conditions under which transfer learning succeeds in a cross-domain cross-task setting are still poorly understood. To bridge this gap, we propose a novel analysis that analyzes the transferability of the representations of pre-trained models to downstream tasks in terms of their relatedness to a given reference task. Our analysis leads to an upper bound on transferability in terms of task-relatedness, quantified using the difference between the class priors, label sets, and features of the two tasks. Our experiments using state-of-the-art pre-trained models show the effectiveness of task-relatedness in explaining transferability on various vision and language tasks. The efficient computability of task-relatedness even without labels of the target task and its high correlation with the model's accuracy after end-to-end fine-tuning on the target task makes it a useful metric for transferability estimation. Our empirical results of using task-relatedness to select the best pre-trained model from a model zoo for a target task highlight its utility for practical problems.

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

↑