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/Domain Generalization using Causal Matching

Domain Generalization using Causal Matching

Divyat Mahajan, Shruti Tople, Amit Sharma

2020-06-12arXiv 2020 6Rotated MNISTData AugmentationDomain Generalization
PaperPDFCode(official)

Abstract

In the domain generalization literature, a common objective is to learn representations independent of the domain after conditioning on the class label. We show that this objective is not sufficient: there exist counter-examples where a model fails to generalize to unseen domains even after satisfying class-conditional domain invariance. We formalize this observation through a structural causal model and show the importance of modeling within-class variations for generalization. Specifically, classes contain objects that characterize specific causal features, and domains can be interpreted as interventions on these objects that change non-causal features. We highlight an alternative condition: inputs across domains should have the same representation if they are derived from the same object. Based on this objective, we propose matching-based algorithms when base objects are observed (e.g., through data augmentation) and approximate the objective when objects are not observed (MatchDG). Our simple matching-based algorithms are competitive to prior work on out-of-domain accuracy for rotated MNIST, Fashion-MNIST, PACS, and Chest-Xray datasets. Our method MatchDG also recovers ground-truth object matches: on MNIST and Fashion-MNIST, top-10 matches from MatchDG have over 50% overlap with ground-truth matches.

Results

TaskDatasetMetricValueModel
Domain AdaptationPACSAverage Accuracy87.52MDG-Hybrid (ResNet-50)
Domain AdaptationPACSAverage Accuracy84.35MDG-Hybrid (Resnet-18)
Domain AdaptationRotated Fashion-MNISTAccuracy82.8MatchDG
Domain GeneralizationPACSAverage Accuracy87.52MDG-Hybrid (ResNet-50)
Domain GeneralizationPACSAverage Accuracy84.35MDG-Hybrid (Resnet-18)
Domain GeneralizationRotated Fashion-MNISTAccuracy82.8MatchDG

Related Papers

Overview of the TalentCLEF 2025: Skill and Job Title Intelligence for Human Capital Management2025-07-17Pixel Perfect MegaMed: A Megapixel-Scale Vision-Language Foundation Model for Generating High Resolution Medical Images2025-07-17Simulate, 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-17Similarity-Guided Diffusion for Contrastive Sequential Recommendation2025-07-16InstructFLIP: Exploring Unified Vision-Language Model for Face Anti-spoofing2025-07-16Data Augmentation in Time Series Forecasting through Inverted Framework2025-07-15