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

面向分布外泛化与少样本域自适应的权重平均方法

Weight Averaging for Out-of-Distribution Generalization and Few-Shot Domain Adaptation

LIONS lab(LIONS实验室)

Shijian Xu

AI总结:

本研究针对分布外泛化与少样本域自适应问题,通过引入梯度相似度正则项提升权重平均的模型多样性,并结合锐度感知最小化,在多个数据集上验证了性能提升效果。

摘要:

经验风险最小化(ERM)对数据分布的变化不具备鲁棒性。当测试数据分布与训练数据分布不同时,该问题被称为分布外泛化。近年来,计算机视觉领域发展出两种解决分布外泛化问题的技术:权重平均(WA)和锐度感知最小化(SAM)。WA指使用不同超参数训练多个模型,再对这些模型的权重进行平均,可显著提升分布外泛化性能。SAM则优化神经网络以寻找平坦区域的极小值,这类极小值已被证明在分布偏移下表现优异。尽管这些技术已取得长足进展,但仍存在改进和进一步探索的空间。本论文提出通过引入梯度相似度作为损失正则项,显式提升WA中的模型多样性,以进一步改善分布外泛化性能。我们还提出将WA与SAM结合,以解决少样本域自适应问题。我们在数字数据集(MNIST、SVHN、USPS、MNIST-M)及其他域自适应数据集(VLCS、PACS)上开展了大量实验,结果表明WA与SAM结合可提升分布外泛化性能,并显著提高少样本域自适应的准确率。

英文摘要:

Empirical risk minimization (ERM) is not robust to changes in the distribution of data. When the distribution of test data is different from that of training data, the problem is known as out-of-distribution generalization. Recently, two techniques have been developed for addressing out-of-distribution generalization in computer vision: weight averaging (WA) and sharpness-aware minimization (SAM). WA involves training multiple models with different hyperparameters and then averaging the weights of these models, which can significantly improve out-of-distribution generalization performance. SAM optimizes a neural network to find minima in flat regions, which have been proven to perform well under distribution shifts. While these techniques have made great progress, there is still room for improvement and further exploration. In this thesis, we propose increasing the model diversity in WA explicitly by introducing gradient similarity as a loss regularizer to further improve out-of-distribution generalization performance. We also propose combining WA and SAM to solve the problem of few-shot domain adaptation. Our extensive experiments on digits datasets (MNIST, SVHN, USPS, MNIST-M) and other domain adaptation datasets (VLCS, PACS) show that combining WA and SAM leads to improved out-of-distribution generalization performance and significantly increases few-shot domain adaptation accuracy.

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

↑