HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Rethinking Multi-domain Generalization with A General Learning Objective

Zhaorui Tan Xi Yang Kaizhu Huang

Rethinking Multi-domain Generalization with A General Learning Objective

Abstract

Multi-domain generalization (mDG) is universally aimed to minimize the discrepancy between training and testing distributions to enhance marginal-to-label distribution mapping. However, existing mDG literature lacks a general learning objective paradigm and often imposes constraints on static target marginal distributions. In this paper, we propose to leverage a $Y$-mapping to relax the constraint. We rethink the learning objective for mDG and design a new \textbf{general learning objective} to interpret and analyze most existing mDG wisdom. This general objective is bifurcated into two synergistic amis: learning domain-independent conditional features and maximizing a posterior. Explorations also extend to two effective regularization terms that incorporate prior information and suppress invalid causality, alleviating the issues that come with relaxed constraints. We theoretically contribute an upper bound for the domain alignment of domain-independent conditional features, disclosing that many previous mDG endeavors actually \textbf{optimize partially the objective} and thus lead to limited performance. As such, our study distills a general learning objective into four practical components, providing a general, robust, and flexible mechanism to handle complex domain shifts. Extensive empirical results indicate that the proposed objective with $Y$-mapping leads to substantially better mDG performance in various downstream tasks, including regression, segmentation, and classification.

Code Repositories

zhaorui-tan/gmdg
Official
pytorch
Mentioned in GitHub
zhaorui-tan/GMDG_cvpr2024
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
domain-generalization-on-domainnetGMDG (RegNetY-16GF, SWAD)
Average Accuracy: 61.3
domain-generalization-on-domainnetGMDG (RegNetY-16GF)
Average Accuracy: 54.6
domain-generalization-on-domainnetGMDG (ResNet-50, SWAD)
Average Accuracy: 47.3
domain-generalization-on-domainnetGMDG (ResNet-50)
Average Accuracy: 44.6
domain-generalization-on-office-homeGMDG (ResNet-50, SWAD)
Average Accuracy: 72.5
domain-generalization-on-office-homeGMDG (ResNet-50)
Average Accuracy: 70.7
domain-generalization-on-office-homeGMDG (RegNetY-16GF)
Average Accuracy: 80.8
domain-generalization-on-office-homeGMDG (RegNetY-16GF, SWAD)
Average Accuracy: 84.7
domain-generalization-on-pacs-2GMDG (RegNetY-16GF, SWAD)
Average Accuracy: 97.9
domain-generalization-on-pacs-2GMDG (ResNet-50, SWAD)
Average Accuracy: 88.4
domain-generalization-on-pacs-2GMDG (e RegNetY-16GF)
Average Accuracy: 97.3
domain-generalization-on-pacs-2GMDG (ResNet-50)
Average Accuracy: 85.6
domain-generalization-on-terraincognitaGMDG (ResNet-50)
Average Accuracy: 51.1
domain-generalization-on-terraincognitaGMDG (RegNetY-16GF, SWAD)
Average Accuracy: 65
domain-generalization-on-terraincognitaGMDG (RegNetY-16GF)
Average Accuracy: 60.7
domain-generalization-on-terraincognitaGMDG (ResNet-50, SWAD)
Average Accuracy: 53.0
domain-generalization-on-vlcsGMDG (ResNet-50)
Average Accuracy: 79.2
domain-generalization-on-vlcsGMDG (RegNetY-16GF)
Average Accuracy: 82.4
domain-generalization-on-vlcsGMDG (ResNet-50, SWAD)
Average Accuracy: 79.6
domain-generalization-on-vlcsGMDG (RegNetY-16GF, SWAD)
Average Accuracy: 82.2

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Rethinking Multi-domain Generalization with A General Learning Objective | Papers | HyperAI