[Paper Review] Domain Adaptation as a Problem of Inference on Graphical Models
This paper proposes a novel domain adaptation framework that models distribution shifts across domains using augmented graphical models, treating domain adaptation as Bayesian inference on these models. By encoding invariant and varying components of the joint distribution, the method enables end-to-end, data-driven adaptation with improved generalization, validated on synthetic and real-world datasets including WiFi localization and digit image transfer.
This paper is concerned with data-driven unsupervised domain adaptation, where it is unknown in advance how the joint distribution changes across domains, i.e., what factors or modules of the data distribution remain invariant or change across domains. To develop an automated way of domain adaptation with multiple source domains, we propose to use a graphical model as a compact way to encode the change property of the joint distribution, which can be learned from data, and then view domain adaptation as a problem of Bayesian inference on the graphical models. Such a graphical model distinguishes between constant and varied modules of the distribution and specifies the properties of the changes across domains, which serves as prior knowledge of the changing modules for the purpose of deriving the posterior of the target variable $Y$ in the target domain. This provides an end-to-end framework of domain adaptation, in which additional knowledge about how the joint distribution changes, if available, can be directly incorporated to improve the graphical representation. We discuss how causality-based domain adaptation can be put under this umbrella. Experimental results on both synthetic and real data demonstrate the efficacy of the proposed framework for domain adaptation. The code is available at https://github.com/mgong2/DA_Infer .
Motivation & Objective
- To address unsupervised domain adaptation when the nature of distribution shift across domains is unknown a priori.
- To develop an automated, end-to-end framework that learns how the joint distribution changes across multiple source domains.
- To incorporate prior knowledge about distributional changes—such as which factors are invariant or vary—into a structured graphical model representation.
- To unify causality-based domain adaptation under a single inference-based framework using probabilistic graphical models.
- To improve prediction performance in the target domain by leveraging both the learned distributional change model and observed target-domain features.
Proposed method
- Uses augmented Directed Acyclic Graphs (DAGs) to factorize the joint distribution and explicitly encode which conditional distributions remain constant or vary across domains.
- Models the 'mother distribution' as a probabilistic graphical model that captures uncertainty in domain-specific distributions and encodes constraints on distributional changes.
- Performs Bayesian inference on the augmented graphical model to compute the posterior distribution of the target label $Y$ given observed target-domain features $X^\tau$, using approximate posterior inference.
- Employs latent variable Conditional GANs (LV-CGANs) to model the conditional distribution $P(X|Y)$ in each domain, with shared parameters for invariant modules and domain-specific parameters for varying modules.
- Applies variational inference to approximate the posterior $q(\boldsymbol{\theta}|\mathcal{D}^\tau)$ over model parameters $\boldsymbol{\theta}$, enabling scalable training and prediction.
- Uses Monte Carlo sampling from the approximate posterior to estimate the predictive distribution $P(y_k^\tau | \mathbf{x}_k^\tau)$, combining uncertainty in model parameters with observed features.
Experimental results
Research questions
- RQ1How can we compactly and automatically represent the structural changes in the joint distribution across multiple domains in an unsupervised domain adaptation setting?
- RQ2Can we model domain shifts as a problem of Bayesian inference on a graphical model that distinguishes between invariant and varying components of the distribution?
- RQ3How can prior knowledge about which factors of the joint distribution are invariant or changeable be incorporated into the graphical model to improve adaptation?
- RQ4Can causality-based domain adaptation principles be unified under a single probabilistic inference framework using augmented graphical models?
- RQ5How effective is the proposed framework in capturing and transferring conditional distributions $P(X|Y)$ across domains when labels are absent in the target domain?
Key findings
- The proposed framework achieves state-of-the-art performance on both synthetic and real-world domain adaptation benchmarks, including the WiFi localization and digit image transfer tasks.
- The learned augmented DAGs accurately identify constant and varying modules in the joint distribution, with consistent structure across different domain pairs (e.g., t1&t2, t2&t3, t1&t3 in the WiFi dataset).
- On the MNIST, SVHN, and Street View digit datasets, the method successfully generates high-quality images in the target domain using only source-labeled data and latent variable C-GANs.
- The framework enables effective transfer of $P(X|Y)$ to the target domain even when the target is unlabeled, as demonstrated by faithful reconstruction of conditional distributions in generated images.
- The use of variational inference and Monte Carlo sampling enables robust and scalable prediction, with performance gains attributed to proper modeling of distributional shifts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.