Graphical Modeling for Multi-Source Domain Adaptation

Minghao Xu, Hang Wang, Bingbing NiIEEE TPAMI 2021 · DOI

TL;DR

This paper introduces two novel graphical models, CRF-MSDA and MRF-MSDA, to tackle the challenging problem of Multi-Source Domain Adaptation (MSDA). By jointly modeling multiple source domains and a target domain using graphical structures, these methods achieve learnable domain combination and improved performance over existing approaches.

What Problem Does This Paper Address?

In real-world applications, data often comes from diverse sources with varying distributions, making it difficult to train a single model that performs well across all of them. Multi-Source Domain Adaptation (MSDA) addresses this by leveraging knowledge from multiple labeled "source" domains to improve performance on an unlabeled "target" domain. Traditional MSDA methods often struggle with effectively modeling the complex interdependencies between these domains and combining their knowledge in a learnable way. This paper aims to bridge this gap by proposing graphical models that can explicitly capture these relationships and learn how to best combine information from different sources.

Methods

The paper proposes two graphical models:

  • CRF-MSDA (Conditional Random Field for MSDA): This model uses a graph neural network (GNN) to propagate messages between a query sample and prototypes (representative embeddings of categories) from all domains. It models the conditional distribution of labels given observations and incorporates global and local alignment constraints to promote domain invariance and feature compactness. Domain combination is achieved through message passing within the GNN.
  • MRF-MSDA (Markov Random Field for MSDA): This model uses an energy-based formulation to model the joint distribution of observations over various Markov networks. It constructs positive networks that connect related prototypes and query samples, and derives negative networks by modifying edges. By contrasting these networks, the model learns to associate query samples with correct prototypes and achieve domain invariance. MRF-MSDA is presented as more expressive and computationally efficient than CRF-MSDA.

Both models introduce "prototypes" as representative embeddings for each category across all domains, which are updated via an exponential moving average (CRF-MSDA) or learned as model parameters (MRF-MSDA).

Datasets

The proposed methods were evaluated on four standard MSDA benchmark datasets:

  • Digits-five: Composed of five digit image domains (MNIST, MNIST-M, SVHN, USPS, Synthetic Digits).
  • Office-31: A classical benchmark with three office environment domains (Amazon, Webcam, DSLR).
  • PACS: Includes four domains with significant domain shift (Photo, Art paintings, Cartoon, Sketch).
  • DomainNet: A large and challenging dataset with six domains (clipart, infograph, painting, quickdraw, real, sketch).

Key Insights and Ideas

  • Graphical Structures for MSDA: The paper highlights the power of graphical structures in explicitly modeling the interdependencies between multiple source domains and a target domain, which is crucial for effective MSDA.
  • Learnable Domain Combination: Instead of relying on hand-crafted weights, the proposed graphical models inherently learn how to combine information from different domains as part of the overall model training.
  • Prototypes as Cross-Domain Anchors: The introduction of "prototypes" as representative category embeddings across all domains serves as a key mechanism for aligning and comparing information across different data sources.
  • MRF-MSDA's Expressivity: The MRF-MSDA model, by contrasting positive and negative Markov networks, is shown to be more expressive than CRF-MSDA, capturing more nuanced relationships between observations.

Key Results

  • State-of-the-Art Performance: Both CRF-MSDA and MRF-MSDA consistently outperform existing methods on the evaluated MSDA benchmarks.
  • MRF-MSDA Superiority: MRF-MSDA generally achieves better performance than CRF-MSDA, demonstrating the benefits of its more expressive graphical modeling approach. For instance, on Digits-five, MRF-MSDA achieved a 12.1% performance increase over previous methods.
  • Efficiency: MRF-MSDA is shown to be computationally more efficient than CRF-MSDA in both training and inference phases.
  • Ablation Studies: Sensitivity analyses confirm the importance of the proposed alignment constraints (global and local for CRF-MSDA) and the joint optimization of classification and likelihood objectives (for MRF-MSDA).

Limitations and Future Work

  • Limitations: The paper notes that on the Office-31 dataset, the performance gains were less pronounced, possibly due to performance saturation on certain tasks and the high similarity between some domains. The effectiveness of MRF-MSDA is particularly highlighted when the distributional gap between domains is large.
  • Future Work: The authors suggest exploring other graphical models for MSDA, such as Bayesian networks and chain graphs, as future research directions.

Summary updated

BibTeX
@article{xu2021graphical,
  author = {Minghao Xu and Hang Wang and Bingbing Ni},
  title = {{Graphical Modeling for Multi-Source Domain Adaptation}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2021},
  doi = {10.1109/tpami.2022.3172372},
}
Figure