Introduction
Machine learning models frequently encounter performance degradation when deployed in environments where the data distribution differs from the training set—a challenge known as domain adaptation. Traditional approaches often rely on the covariate shift assumption, where the relationship between features ($X$) and the target ($Y$) is invariant, but the marginal distribution of features changes. While standard methods use unlabelled target data to reweight samples or find invariant features, they rarely "learn" the underlying predictive relationship from that unlabelled data. Conversely, semi-supervised learning (SSL) leverages unlabelled data but typically assumes identically distributed (i.i.d.) data, failing under domain shift.
This paper introduces Semi-Generative Modelling, a framework that bridges this gap by exploiting the causal structure of data to enable active learning from unlabelled data in a shifted target domain.
The Semi-Generative Framework
The core innovation lies in distinguishing between features based on their causal relationship with the target variable. The authors propose a specific causal chain: $X_C \to Y \to X_E$.
- Causal features ($X_C$): Factors that influence the target (e.g., smoking causing lung cancer).
- Target ($Y$): The variable of interest for prediction.
- Effect features ($X_E$): Symptoms or outcomes produced by the target (e.g., coughing as an effect of lung cancer).
Instead of a purely discriminative model $P(Y|X_C, X_E)$, the authors propose a hybrid approach. They model $P(Y | X_C)$ discriminatively, as this mechanism is assumed to be invariant across domains under covariate shift. Simultaneously, they model $P(X_E | Y)$ generatively, representing the mechanism by which the target produces its effects. By combining these, they derive a joint conditional model: $P(Y, X_E | X_C) = P(Y | X_C) P(X_E | Y)$.
To utilize unlabelled data where $Y$ is missing, the model marginalizes the target variable: $P(X_E | X_C) = \sum_y P(y | X_C) P(X_E | y)$. This allows the relationship between causes and effects to serve as a "noisy" proxy for the primary relationship of interest, effectively turning $X_E$ into a second label for the unlabelled target domain.
Experimental Evaluation
The authors evaluated the Semi-Generative Model across three distinct scenarios:
- Synthetic Classification: Controlled structural causal models were used to test robustness against varying levels of domain discrepancy and class overlap.
- LUCAS Toy Dataset: A medical diagnostic simulator (Smoking $\to$ Cancer $\to$ Coughing) provided a clear causal benchmark.
- Real-World Protein-Signaling: Using data from Sachs et al. (2005), the model was tested on a complex regression task involving 11 proteins, where the causal graph was established through biological experimentation.
Key Insights and Results
- Causality and SSL Feasibility: The research reinforces that SSL is theoretically limited if only causal features ($X \to Y$) are present, as the marginal $P(X)$ lacks information about the mechanism $P(Y|X)$. However, the presence of effect features ($Y \to X$) makes unlabelled data highly informative.
- Superior Performance: On synthetic benchmarks, the semi-generative estimator achieved up to a 30% relative improvement in error rate compared to purely supervised baselines as more unlabelled data was introduced.
- Efficiency with Scarce Labels: In the protein-signaling task, the proposed method significantly outperformed standard feature-transformation techniques (like TCA or MIDA) when labelled data was extremely limited (e.g., only 4 samples).
- Robustness to Shift: By modeling causal mechanisms ($P(Y|X_C)$ and $P(X_E|Y)$) which are inherently autonomous, the model remains robust even when the domain $D$ shifts the distribution of input causes.
Conclusion and Future Work
While powerful, the Semi-Generative Model requires a known or correctly inferred causal structure. If the distinction between causes and effects is misidentified, the model's assumptions fail. Furthermore, the method currently shows higher efficacy in classification than in regression, where multiple values of $Y$ might explain the same $(X_C, X_E)$ pair, diluting the signal from unlabelled data.
Future research may explore relaxing the assumption that domain shifts only affect causes, potentially allowing for shifts in the effect mechanisms as well, further broadening the applicability of causal domain adaptation.
Summary updated