arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.00567cs.CVcs.AI
收藏

展平长程损失景观以实现跨域少样本学习

Flatten Long-Range Loss Landscapes for Cross-Domain Few-Shot Learning

School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院)

Yixiong Zou, Yicong Liu, Yiman Hu, Yuhua Li, Ruixuan Li

AI总结:

本文提出一种通过展平表示空间损失景观中长程最小值来提升跨域少样本学习性能的方法,实现为轻量归一化层,在8个数据集上平均准确率优于现有方法,个别数据集提升达9%。

摘要:

跨域少样本学习(CDFSL)旨在通过利用从具有丰富训练样本的源域转移的先验知识,从目标域的有限训练数据中获取知识。CDFSL在跨不相似域转移知识以及使用有限训练数据微调模型方面面临挑战。为解决这些挑战,我们首先将损失景观的分析从参数空间扩展到表示空间,这使我们能够同时解释CDFSL模型的转移和微调困难。我们观察到表示空间损失景观中的尖锐最小值导致表示难以转移和微调。此外,现有的基于平坦度的方法由于其短程平坦性而泛化能力有限。为增强可转移性并促进微调,我们引入了一种简单而有效的方法来实现损失景观中最小值的远程展平。该方法将不同归一化的表示视为损失景观中的最小值,并通过随机采样插值表示来展平中间的高损失区域。我们将此方法实现为一种新的归一化层,替换CNN和ViT中的原始层。该层简单且轻量,仅引入极少数额外参数。在8个数据集上的实验结果表明,我们的方法在平均准确率方面优于最先进的方法。此外,与当前最佳方法相比,我们的方法在个别数据集上实现了高达9%的性能提升。我们的代码将发布。

英文摘要:

Cross-domain few-shot learning (CDFSL) aims to acquire knowledge from limited training data in the target domain by leveraging prior knowledge transferred from source domains with abundant training samples. CDFSL faces challenges in transferring knowledge across dissimilar domains and fine-tuning models with limited training data. To address these challenges, we initially extend the analysis of loss landscapes from the parameter space to the representation space, which allows us to simultaneously interpret the transferring and fine-tuning difficulties of CDFSL models. We observe that sharp minima in the loss landscapes of the representation space result in representations that are hard to transfer and fine-tune. Moreover, existing flatness-based methods have limited generalization ability due to their short-range flatness. To enhance the transferability and facilitate fine-tuning, we introduce a simple yet effective approach to achieve long-range flattening of the minima in the loss landscape. This approach considers representations that are differently normalized as minima in the loss landscape and flattens the high-loss region in the middle by randomly sampling interpolated representations. We implement this method as a new normalization layer that replaces the original one in both CNNs and ViTs. This layer is simple and lightweight, introducing only a minimal number of additional parameters. Experimental results on 8 datasets demonstrate that our approach outperforms state-of-the-art methods in terms of average accuracy. Moreover, our method achieves performance improvements of up to 9\% compared to the current best approaches on individual datasets. Our code will be released.

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

↑