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

在预算有限下从相似任务进行蒸馏以实现迁移学习

Distilling from Similar Tasks for Transfer Learning on a Budget

Aarhus University(奥胡斯大学);Cornell University(康奈尔大学)

Kenneth Borup, Cheng Perng Phoo, Bharath Hariharan

AI总结:

针对标签与计算资源受限的视觉识别,本文提出无需源数据的跨域蒸馏方法 DistillNearest 和加权多源 DistillWeighted,在 8 个目标任务上显著优于 ImageNet 迁移与 FixMatch。

摘要:

我们解决在标签有限的情况下获得高效且准确识别系统的挑战。尽管识别模型会随着模型规模和数据量的增加而改进,但计算机视觉的许多专业应用在训练和推理期间都存在严重的资源约束。迁移学习是使用少量标签进行训练的有效解决方案,然而其代价通常是对大型基础模型进行计算成本高昂的微调。我们提出通过来自一组多样化源模型的半监督跨域蒸馏,来缓解计算与准确性之间这种令人不快的权衡。首先,我们展示如何使用任务相似性度量来选择一个合适的源模型进行蒸馏,并说明良好的选择过程对于目标模型良好的下游性能至关重要。我们将这种方法命名为 DistillNearest。尽管有效,但 DistillNearest 假定单个源模型与目标任务匹配,而情况并非总是如此。为缓解这一问题,我们提出一种加权多源蒸馏方法,将在不同域上训练的多个源模型按照其与目标任务的相关性加权,蒸馏到单个高效模型中(命名为 DistillWeighted)。我们的方法无需访问源数据,只需要源模型的特征和伪标签。当目标是在计算约束下实现准确识别时,DistillNearest 和 DistillWeighted 两种方法都优于从强 ImageNet 初始化进行的迁移学习,以及 FixMatch 等最先进的半监督技术。在 8 个多样化目标任务上平均,我们的多源方法分别比这些基线高出 5.6 个百分点和 4.5 个百分点。

英文摘要:

We address the challenge of getting efficient yet accurate recognition systems with limited labels. While recognition models improve with model size and amount of data, many specialized applications of computer vision have severe resource constraints both during training and inference. Transfer learning is an effective solution for training with few labels, however often at the expense of a computationally costly fine-tuning of large base models. We propose to mitigate this unpleasant trade-off between compute and accuracy via semi-supervised cross-domain distillation from a set of diverse source models. Initially, we show how to use task similarity metrics to select a single suitable source model to distill from, and that a good selection process is imperative for good downstream performance of a target model. We dub this approach DistillNearest. Though effective, DistillNearest assumes a single source model matches the target task, which is not always the case. To alleviate this, we propose a weighted multi-source distillation method to distill multiple source models trained on different domains weighted by their relevance for the target task into a single efficient model (named DistillWeighted). Our methods need no access to source data, and merely need features and pseudo-labels of the source models. When the goal is accurate recognition under computational constraints, both DistillNearest and DistillWeighted approaches outperform both transfer learning from strong ImageNet initializations as well as state-of-the-art semi-supervised techniques such as FixMatch. Averaged over 8 diverse target tasks our multi-source method outperforms the baselines by 5.6%-points and 4.5%-points, respectively.

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

↑