连接域并对比样本:通往域泛化的阶梯
Connecting Domains and Contrasting Samples: A Ladder for Domain Generalization
AI总结:
针对直接使用对比学习反而损害域泛化的问题,本文提出 DCCL,通过跨域正样本、强增强、模型锚定和生成式变换损失增强类内连通性,并在五个基准上取得最优性能。
摘要:
训练样本与测试样本之间的分布偏移在实践中频繁出现,并阻碍模型的泛化性能。因此,这一关键挑战推动了域泛化(DG)研究,其目标是仅利用来自源域的数据来预测未见目标域数据上的标签。人们很直观地会认为,在对比学习(CL)中学到的按类别分离的表示能够改进 DG,但现实恰恰相反:用户观察到直接应用 CL 会使性能下降。我们借助来自 CL 理论的洞见分析了这一现象,并发现在 DG 设置中类内连通性的缺失导致了这种不足。因此,我们提出了一种新范式,即域连接对比学习(DCCL),以增强跨域的概念连通性,并为 DG 获得可泛化的表示。在数据方面,引入了更激进的数据增强和跨域正样本,以改善类内连通性。在模型方面,为了更好地嵌入未见测试域,我们提出模型锚定,以利用预训练表示中的类内连通性,并通过生成式变换损失对该锚定进行补充。我们在五个标准 DG 基准上进行了大量实验。结果证实,即使没有域监督,DCCL 也优于最先进的基线方法。详细的模型实现和代码通过 https://github.com/weitianxin/DCCL 提供。
英文摘要:
Distribution shifts between training and testing samples frequently occur in practice and impede model generalization performance. This crucial challenge thereby motivates studies on domain generalization (DG), which aim to predict the label on unseen target domain data by solely using data from source domains. It is intuitive to conceive the class-separated representations learned in contrastive learning (CL) are able to improve DG, while the reality is quite the opposite: users observe directly applying CL deteriorates the performance. We analyze the phenomenon with the insights from CL theory and discover lack of intra-class connectivity in the DG setting causes the deficiency. We thus propose a new paradigm, domain-connecting contrastive learning (DCCL), to enhance the conceptual connectivity across domains and obtain generalizable representations for DG. On the data side, more aggressive data augmentation and cross-domain positive samples are introduced to improve intra-class connectivity. On the model side, to better embed the unseen test domains, we propose model anchoring to exploit the intra-class connectivity in pre-trained representations and complement the anchoring with generative transformation loss. Extensive experiments on five standard DG benchmarks are performed. The results verify that DCCL outperforms state-of-the-art baselines even without domain supervision. The detailed model implementation and the code are provided through https://github.com/weitianxin/DCCL
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。