Skip to main content
QUICK REVIEW

[Paper Review] On Learning Domain-Invariant Representations for Transfer Learning with Multiple Sources

Trung Phung, Trung Le|arXiv (Cornell University)|Nov 27, 2021
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes a theoretical framework for learning domain-invariant (DI) representations in multi-source domain adaptation (MSDA) and domain generalization (DG) settings. It introduces two types of DI representations—general and compressed—derived from novel upper bounds on target generalization loss, and establishes a trade-off between them: excessive compression harms performance, while moderate compression can improve robustness. The theory is validated through experiments on Colored MNIST and PACS, showing that optimal performance emerges at intermediate compression levels.

ABSTRACT

Domain adaptation (DA) benefits from the rigorous theoretical works that study its insightful characteristics and various aspects, e.g., learning domain-invariant representations and its trade-off. However, it seems not the case for the multiple source DA and domain generalization (DG) settings which are remarkably more complicated and sophisticated due to the involvement of multiple source domains and potential unavailability of target domain during training. In this paper, we develop novel upper-bounds for the target general loss which appeal to us to define two kinds of domain-invariant representations. We further study the pros and cons as well as the trade-offs of enforcing learning each domain-invariant representation. Finally, we conduct experiments to inspect the trade-off of these representations for offering practical hints regarding how to use them in practice and explore other interesting properties of our developed theory.

Motivation & Objective

  • To address the lack of rigorous theoretical understanding of domain-invariant (DI) representations in multi-source domain adaptation (MSDA) and domain generalization (DG) settings.
  • To develop upper bounds on the target generalization loss in MSDA and DG, enabling formal characterization of DI representations.
  • To analyze the trade-offs between learning general DI representations versus compressed DI representations in terms of performance and invariance.
  • To provide practical guidance on how to leverage these representations effectively in real-world transfer learning scenarios.
  • To validate theoretical findings through empirical evaluation on synthetic (Colored MNIST) and real-world (PACS) datasets.

Proposed method

  • Derives two novel upper bounds for the target generalization loss in MSDA and DG settings, linking them to domain-invariant representation learning.
  • Defines two types of DI representations: general DI representations (minimizing divergence across source and target domains) and compressed DI representations (minimizing divergence through dimensionality compression).
  • Uses the derived bounds to analyze the trade-offs between the two representation types, particularly how compression affects the lower bound of the target loss.
  • Applies source-source and source-target compression via adversarial training with domain discriminators to enforce invariance in feature space.
  • Employs a unified training objective combining classification loss, domain adversarial loss, and compression regularization to optimize both representation types.
  • Validates theoretical claims using experiments on Colored MNIST (MSDA) and PACS (DG), varying compression strength and measuring target accuracy.

Experimental results

Research questions

  • RQ1What are the theoretically sound definitions of domain-invariant representations in multi-source domain adaptation and domain generalization?
  • RQ2How do general and compressed domain-invariant representations differ in their inductive bias and optimization objectives?
  • RQ3What is the trade-off between learning general DI representations and compressed DI representations in terms of target generalization performance?
  • RQ4Can the theoretical trade-off bound predict the optimal level of compression for maximizing target accuracy?
  • RQ5How do these representations behave under varying domain shift severity (e.g., close vs. distant target domains)?

Key findings

  • Theoretical analysis reveals that general DI representations minimize divergence between source and target domains, while compressed DI representations minimize divergence through dimensionality reduction, leading to different inductive biases.
  • A trade-off exists: excessive compression raises the lower bound of the target loss, which can degrade performance, especially in distant domain settings.
  • On Colored MNIST, moderate compression improves target accuracy, peaking at intermediate compression levels before declining, confirming the theoretical trade-off.
  • On PACS, both target domains (Art Painting and Sketch) show a similar U-shaped accuracy curve with compression, indicating a sweet spot for performance.
  • For close target domains (e.g., Art Painting), the negative impact of compression is mitigated, suggesting that compressed DI representations can better approximate the true labeling function in less shifted settings.
  • The model with general DI representations overfits to training data and shows performance degradation at later training iterations, while compressed DI representations maintain better generalization.

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.