Domain Generalization via Model-Agnostic Learning of Semantic Features
About
Generalization capability to unseen domains is crucial for machine learning models when deploying to real-world conditions. We investigate the challenging problem of domain generalization, i.e., training a model on multi-domain source data such that it can directly generalize to target domains with unknown statistics. We adopt a model-agnostic learning paradigm with gradient-based meta-train and meta-test procedures to expose the optimization to domain shift. Further, we introduce two complementary losses which explicitly regularize the semantic structure of the feature space. Globally, we align a derived soft confusion matrix to preserve general knowledge about inter-class relationships. Locally, we promote domain-independent class-specific cohesion and separation of sample features with a metric-learning component. The effectiveness of our method is demonstrated with new state-of-the-art results on two common object recognition benchmarks. Our method also shows consistent improvement on a medical image segmentation task.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | PACS (test) | Average Accuracy82.67 | 254 | |
| Image Classification | PACS | Overall Average Accuracy81.03 | 230 | |
| Domain Generalization | PACS (test) | Average Accuracy82.67 | 225 | |
| Domain Generalization | PACS | Accuracy (Art)82.89 | 221 | |
| Domain Generalization | PACS (leave-one-domain-out) | Art Accuracy82.89 | 146 | |
| Multi-class classification | VLCS | Acc (Caltech)94.78 | 139 | |
| object recognition | PACS (leave-one-domain-out) | Acc (Art painting)80.3 | 112 | |
| Image Classification | PACS v1 (test) | Average Accuracy82.67 | 92 | |
| Image Classification | VLCS (test) | Average Accuracy74.11 | 65 | |
| Image Classification | PACS (out-of-domain) | Overall Accuracy82.67 | 63 |