Unknown Domain Inconsistency Minimization for Domain Generalization
About
The objective of domain generalization (DG) is to enhance the transferability of the model learned from a source domain to unobserved domains. To prevent overfitting to a specific domain, Sharpness-Aware Minimization (SAM) reduces source domain's loss sharpness. Although SAM variants have delivered significant improvements in DG, we highlight that there's still potential for improvement in generalizing to unknown domains through the exploration on data space. This paper introduces an objective rooted in both parameter and data perturbed regions for domain generalization, coined Unknown Domain Inconsistency Minimization (UDIM). UDIM reduces the loss landscape inconsistency between source domain and unknown domains. As unknown domains are inaccessible, these domains are empirically crafted by perturbing instances from the source domain dataset. In particular, by aligning the loss landscape acquired in the source domain to the loss landscape of perturbed domains, we expect to achieve generalization grounded on these flat minima for the unknown domains. Theoretically, we validate that merging SAM optimization with the UDIM objective establishes an upper bound for the true objective of the DG task. In an empirical aspect, UDIM consistently outperforms SAM variants across multiple DG benchmark datasets. Notably, UDIM shows statistically significant improvements in scenarios with more restrictive domain information, underscoring UDIM's generalization capability in unseen domains. Our code is available at \url{https://github.com/SJShin-AI/UDIM}.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Classification | TableShift FICO HELOC v1 (OOD test) | AUPRC (R<0.1)95.07 | 14 | |
| Molecular property prediction | DrugOOD refined ec50 (val) | AUPRC (R<0.2)96.97 | 14 | |
| Classification | TableShift Childhood Lead v1 (OOD test) | AUPRC @ R<0.197.06 | 14 | |
| Classification | TableShift Hospital Readmission OOD v1 (test) | AUPRC@R<0.179.59 | 14 | |
| Molecular property prediction | hERG ChEMBL | AUPRC (R<0.2)85.07 | 14 | |
| Molecular property prediction | DrugOOD refined ec50 (test) | AUPRC @ R<0.288.16 | 14 | |
| Molecular property prediction | DrugOOD core ic50 (val) | AUPRC (R<0.2)98.61 | 14 | |
| Molecular property prediction | A549_cells ChEMBL | AUPRC@R<0.295.87 | 14 | |
| Molecular property prediction | DrugOOD core ic50 (test) | AUPRC (R<0.2)90.13 | 14 | |
| Classification | TableShift Sepsis OOD v1 (test) | AUPRC @ R<0.165.62 | 14 |