TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/CADG: A Model Based on Cross Attention for Domain Generali...

CADG: A Model Based on Cross Attention for Domain Generalization

Cheng Dai, Yingqiao Lin, Fan Li, Xiyao Li, Donglin Xie

2022-03-31Domain Generalization
PaperPDF

Abstract

In Domain Generalization (DG) tasks, models are trained by using only training data from the source domains to achieve generalization on an unseen target domain, this will suffer from the distribution shift problem. So it's important to learn a classifier to focus on the common representation which can be used to classify on multi-domains, so that this classifier can achieve a high performance on an unseen target domain as well. With the success of cross attention in various cross-modal tasks, we find that cross attention is a powerful mechanism to align the features come from different distributions. So we design a model named CADG (cross attention for domain generalization), wherein cross attention plays a important role, to address distribution shift problem. Such design makes the classifier can be adopted on multi-domains, so the classifier will generalize well on an unseen domain. Experiments show that our proposed method achieves state-of-the-art performance on a variety of domain generalization benchmarks compared with other single model and can even achieve a better performance than some ensemble-based methods.

Results

TaskDatasetMetricValueModel
Domain AdaptationPACSAverage Accuracy94.6CADG
Domain AdaptationOffice-HomeAverage Accuracy79.9CADG
Domain AdaptationDomainNetAverage Accuracy51.6CADG
Domain AdaptationVLCSAverage Accuracy82.2CADG
Domain AdaptationTerraIncognitaAverage Accuracy55.7CADG
Domain GeneralizationPACSAverage Accuracy94.6CADG
Domain GeneralizationOffice-HomeAverage Accuracy79.9CADG
Domain GeneralizationDomainNetAverage Accuracy51.6CADG
Domain GeneralizationVLCSAverage Accuracy82.2CADG
Domain GeneralizationTerraIncognitaAverage Accuracy55.7CADG

Related Papers

Simulate, Refocus and Ensemble: An Attention-Refocusing Scheme for Domain Generalization2025-07-17GLAD: Generalizable Tuning for Vision-Language Models2025-07-17MoTM: Towards a Foundation Model for Time Series Imputation based on Continuous Modeling2025-07-17InstructFLIP: Exploring Unified Vision-Language Model for Face Anti-spoofing2025-07-16From Physics to Foundation Models: A Review of AI-Driven Quantitative Remote Sensing Inversion2025-07-11Feed-Forward SceneDINO for Unsupervised Semantic Scene Completion2025-07-08Prompt-Free Conditional Diffusion for Multi-object Image Augmentation2025-07-08Integrated Structural Prompt Learning for Vision-Language Models2025-07-08