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

Domain Generalization via Rationale Invariance

About

This paper offers a new perspective to ease the challenge of domain generalization, which involves maintaining robust results even in unseen environments. Our design focuses on the decision-making process in the final classifier layer. Specifically, we propose treating the element-wise contributions to the final results as the rationale for making a decision and representing the rationale for each sample as a matrix. For a well-generalized model, we suggest the rationale matrices for samples belonging to the same category should be similar, indicating the model relies on domain-invariant clues to make decisions, thereby ensuring robust results. To implement this idea, we introduce a rationale invariance loss as a simple regularization technique, requiring only a few lines of code. Our experiments demonstrate that the proposed approach achieves competitive results across various datasets, despite its simplicity. Code is available at \url{https://github.com/liangchen527/RIDG}.

Liang Chen, Yong Zhang, Yibing Song, Anton van den Hengel, Lingqiao Liu• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationDomainBed
PACS Accuracy82.8
33
Fine grained classificationCub-Paintings 1.0 (test)
Accuracy (C -> P)36.41
19
Fine grained classificationBirds-31
Accuracy (C to I)47.15
19
Fine grained classificationCompCars
W -> S Accuracy36.57
17
Showing 4 of 4 rows

Other info

Follow for update