arXiv:2510.16704cs.CVcs.LG2025-10KDD被引 6

通过增强类内连通性提升跨域泛化能力

Connecting Domains and Contrasting Samples: A Ladder for Domain Generalization

  • 引入跨域正样本与强化数据增广,改善类内连接
  • 在5个基准上超越现有方法,无需领域标签
  • 适合需要强泛化性的实际部署场景

训练与测试数据间的分布偏移会严重影响模型泛化性能,催生了域泛化(DG)研究,旨在仅用源域数据预测未见目标域的标签。尽管对比学习(CL)的类别分离表示看似有助于DG,但直接应用反而会降低性能。我们分析发现,这是由于DG设置下缺乏类内连通性所致。为此提出域连接对比学习(DCCL)新范式:数据层面引入更激进的数据增强和跨域正样本以提升类内连通性;模型层面提出模型锚定机制,利用预训练表征中的类内连通性,并结合生成变换损失进行补充。在5个标准DG基准上的实验表明,即使无领域监督,DCCL仍显著优于当前最先进方法。代码已开源。

原文摘要 · Abstract (English)

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

域泛化对比学习数据增强

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。