Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Towards Principled Disentanglement for Domain Generalization

About

A fundamental challenge for machine learning models is generalizing to out-of-distribution (OOD) data, in part due to spurious correlations. To tackle this challenge, we first formalize the OOD generalization problem as constrained optimization, called Disentanglement-constrained Domain Generalization (DDG). We relax this non-trivial constrained optimization problem to a tractable form with finite-dimensional parameterization and empirical approximation. Then a theoretical analysis of the extent to which the above transformations deviates from the original problem is provided. Based on the transformation, we propose a primal-dual algorithm for joint representation disentanglement and domain generalization. In contrast to traditional approaches based on domain adversarial training and domain labels, DDG jointly learns semantic and variation encoders for disentanglement, enabling flexible manipulation and augmentation on training data. DDG aims to learn intrinsic representations of semantic concepts that are invariant to nuisance factors and generalizable across domains. Comprehensive experiments on popular benchmarks show that DDG can achieve competitive OOD performance and uncover interpretable salient structures within data.

Hanlin Zhang, Yi-Fan Zhang, Weiyang Liu, Adrian Weller, Bernhard Sch\"olkopf, Eric P. Xing• 2021

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationVLCS
Accuracy80.7
238
Domain GeneralizationPACS
Accuracy (Art)89
221
Domain GeneralizationPACS (leave-one-domain-out)
Art Accuracy88.9
146
object recognitionPACS (leave-one-domain-out)
Acc (Art painting)88.9
112
Domain GeneralizationCamelyon17-WILDS
Avg Acc96.9
17
Domain GeneralizationRotatedMNIST
Accuracy (0°)96.7
11
Showing 6 of 6 rows

Other info

Code

Follow for update