Skip to main content
QUICK REVIEW

[Paper Review] Aggregation of Disentanglement: Reconsidering Domain Variations in Domain Generalization

Daoan Zhang, Mingkai Chen|arXiv (Cornell University)|Feb 5, 2023
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes Domain Disentanglement Network (DDN), a novel domain generalization framework that disentangles domain-invariant features from task-specific domain variations by learning domain expert features via domain-specific classifiers and contrastive learning. DDN outperforms state-of-the-art methods on PACS, VLCS, OfficeHome, DomainNet, and TerraIncognita, achieving new SoTA performance by effectively aggregating knowledge from source domains to generalize to unseen target domains.

ABSTRACT

Domain Generalization (DG) is a fundamental challenge for machine learning models, which aims to improve model generalization on various domains. Previous methods focus on generating domain invariant features from various source domains. However, we argue that the domain variantions also contain useful information, ie, classification-aware information, for downstream tasks, which has been largely ignored. Different from learning domain invariant features from source domains, we decouple the input images into Domain Expert Features and noise. The proposed domain expert features lie in a learned latent space where the images in each domain can be classified independently, enabling the implicit use of classification-aware domain variations. Based on the analysis, we proposed a novel paradigm called Domain Disentanglement Network (DDN) to disentangle the domain expert features from the source domain images and aggregate the source domain expert features for representing the target test domain. We also propound a new contrastive learning method to guide the domain expert features to form a more balanced and separable feature space. Experiments on the widely-used benchmarks of PACS, VLCS, OfficeHome, DomainNet, and TerraIncognita demonstrate the competitive performance of our method compared to the recently proposed alternatives.

Motivation & Objective

  • To address the limitation of existing domain generalization methods that prioritize domain-invariant features at the expense of useful task-specific domain variations.
  • To enable models to learn and utilize domain-specific features that are informative for downstream classification tasks.
  • To develop a framework that can generalize to unseen target domains by aggregating disentangled domain expert features from source domains.
  • To improve feature representation quality through a novel contrastive learning strategy that enhances separability and balance across domains.

Proposed method

  • The method introduces Domain Expert Classifiers (DECs), which are domain-specific classifiers and projection heads that learn task-specific features per source domain.
  • It employs Domain Prototype Contrastive Learning (DPCL), a contrastive loss that encourages feature disentanglement by aligning features within domains and promoting uniformity across domains.
  • The model disentangles input images into domain-invariant features and domain expert features in a learned latent space, enabling independent classification per domain.
  • During inference, features from unseen target domains are mapped to the aggregated space of source domain expert features, enabling effective generalization.
  • The framework uses a shared backbone for feature extraction, with domain-specific heads to preserve task-specific variations.
  • The contrastive learning objective is optimized using proxy anchors and a memory bank to stabilize training and improve feature discrimination.
Figure 1: Domains differ from each other. Some features that benefit classification tasks in one domain have no presence in other domains. For example, skin texture features in domain 1 (left) help in identifying the elephant, and in domain 2 (middle), no texture features are present for classificat
Figure 1: Domains differ from each other. Some features that benefit classification tasks in one domain have no presence in other domains. For example, skin texture features in domain 1 (left) help in identifying the elephant, and in domain 2 (middle), no texture features are present for classificat

Experimental results

Research questions

  • RQ1Can task-specific domain variations, rather than just domain-invariant features, improve generalization in domain generalization?
  • RQ2How can domain-specific features from source domains be effectively disentangled and aggregated to represent unseen target domains?
  • RQ3Can a contrastive learning strategy enhance the separability and balance of domain expert features across different domains?
  • RQ4To what extent do domain expert features outperform purely domain-invariant representations in zero-shot domain generalization?

Key findings

  • On the PACS dataset, DDN achieves an average accuracy of 87.2%, outperforming the next best method by 0.2%.
  • On VLCS, the method achieves 83.8% average accuracy, demonstrating strong generalization across diverse domain shifts.
  • On OfficeHome, DDN reaches 97.1% accuracy on the Sketch domain, showing robustness to domain-specific noise and variations.
  • Abllation studies confirm that removing DPCL or sharing classifiers significantly degrades performance, proving their necessity.
  • The t-SNE visualization shows that DDN features form tighter within-class clusters and more uniform across-class distributions than ERM and SelfReg.
  • The batch size ablation shows that performance improves with larger batch sizes, confirming the sensitivity of contrastive learning to training dynamics.
Figure 2: Left: The relationships between source and target domains.; Right: The disentangled task-specific domain variations and domain expert features of target domains.
Figure 2: Left: The relationships between source and target domains.; Right: The disentangled task-specific domain variations and domain expert features of target domains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.