通过优化损失曲面寻找一致的平坦最小值以实现更好的域泛化
Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapes
AI总结:
针对现有域泛化方法忽略不同域损失曲面一致性的问题,提出迭代式自反馈训练框架SFT,通过逐步优化损失曲面寻找域共享的一致平坦最小值,在DomainBed上较锐度感知方法等基线取得更优泛化性能。
摘要:
域泛化旨在从多个训练域中学习模型并将其泛化到未见过的测试域。近期理论表明,寻找参数位于损失曲面平坦最小值处的深度模型,可显著降低域外泛化误差。然而,现有方法常忽略不同域损失曲面的一致性,导致模型无法同时处于所有域的最优平坦最小值,限制了泛化能力。为解决此问题,本文提出迭代式自反馈训练框架,通过训练中逐步优化损失曲面,寻找不同域共享的一致平坦最小值。该框架交替执行两个步骤:一是测量不同域损失曲面的不一致性以生成反馈信号,二是利用此反馈信号优化损失曲面以提升一致性。得益于优化后损失曲面内平坦最小值的一致性,SFT有助于实现更好的域外泛化。在DomainBed上的大量实验表明,与最先进的锐度感知方法及其他主流DG基线相比,SFT性能更优。在五个DG基准上的平均结果显示,使用ResNet-50时SFT比锐度感知最小化方法提升2.6%,使用ViT-B/16时提升1.5%。代码即将发布。
英文摘要:
Domain generalization aims to learn a model from multiple training domains and generalize it to unseen test domains. Recent theory has shown that seeking the deep models, whose parameters lie in the flat minima of the loss landscape, can significantly reduce the out-of-domain generalization error. However, existing methods often neglect the consistency of loss landscapes in different domains, resulting in models that are not simultaneously in the optimal flat minima in all domains, which limits their generalization ability. To address this issue, this paper proposes an iterative Self-Feedback Training (SFT) framework to seek consistent flat minima that are shared across different domains by progressively refining loss landscapes during training. It alternatively generates a feedback signal by measuring the inconsistency of loss landscapes in different domains and refines these loss landscapes for greater consistency using this feedback signal. Benefiting from the consistency of the flat minima within these refined loss landscapes, our SFT helps achieve better out-of-domain generalization. Extensive experiments on DomainBed demonstrate superior performances of SFT when compared to state-of-the-art sharpness-aware methods and other prevalent DG baselines. On average across five DG benchmarks, SFT surpasses the sharpness-aware minimization by 2.6% with ResNet-50 and 1.5% with ViT-B/16, respectively. The code will be available soon.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。