arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.04600cs.CVcs.AI
收藏

无需微调的预训练模型领域泛化

Domain Generalization using Pretrained Models without Fine-tuning

ShanghaiTech University(上海科技大学);Microsoft Research Asia(微软亚洲研究院);Nanyang Technological University(南洋理工大学)

Ziyue Li, Kan Ren, Xinyang Jiang, Bo Li, Haipeng Zhang, Dongsheng Li

摘要:

微调预训练模型是领域泛化(DG)任务中的常见做法。然而,由于预训练模型的规模不断增长,微调通常在计算上是昂贵的。更重要的是,它可能会导致过度拟合的源域和妥协的泛化能力,如最近的工作。一般来说,预训练的模型具有一定程度的泛化能力,并且可以在特定领域和样本方面取得不错的性能。然而,预训练模型的泛化性能在不同的测试域甚至样本上可能会有很大差异,这对我们在DG任务中最好地利用预训练模型提出了挑战。在本文中,我们提出了一种新的领域泛化范式,以更好地利用各种预训练模型,命名为专门的集成学习领域泛化(SEDGE)。它首先在固定的预训练模型上训练线性标签空间适配器,该适配器将预训练模型的输出转换到目标域的标签空间。然后,集成网络意识到模型的特点,提出了动态调度适当的预训练模型预测每个测试样本。在几个基准测试上的实验研究表明,与强基线相比,SEDGE实现了显着的性能改善,包括DG任务中的最先进的方法,并将可训练参数减少了约99%,训练时间减少了约99.5%。

英文摘要:

Fine-tuning pretrained models is a common practice in domain generalization (DG) tasks. However, fine-tuning is usually computationally expensive due to the ever-growing size of pretrained models. More importantly, it may cause over-fitting on source domain and compromise their generalization ability as shown in recent works. Generally, pretrained models possess some level of generalization ability and can achieve decent performance regarding specific domains and samples. However, the generalization performance of pretrained models could vary significantly over different test domains even samples, which raises challenges for us to best leverage pretrained models in DG tasks. In this paper, we propose a novel domain generalization paradigm to better leverage various pretrained models, named specialized ensemble learning for domain generalization (SEDGE). It first trains a linear label space adapter upon fixed pretrained models, which transforms the outputs of the pretrained model to the label space of the target domain. Then, an ensemble network aware of model specialty is proposed to dynamically dispatch proper pretrained models to predict each test sample. Experimental studies on several benchmarks show that SEDGE achieves significant performance improvements comparing to strong baselines including state-of-the-art method in DG tasks and reduces the trainable parameters by ~99% and the training time by ~99.5%.

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

↑