Semi-supervised learning, causality, and the conditional cluster assumption

Julius von Kügelgen, Alexander Mey, Marco Loog, Bernhard Schölkopf

Abstract

While the success of semi-supervised learning (SSL) is still not fully understood, Schölkopf et al. (2012) have established a link to the principle of independent causal mechanisms. They conclude that SSL is theoretically impossible when predicting a target from its causes, but possible when predicting it from its effects. This paper addresses the gap where both feature types coexist, proposing a "conditional cluster assumption" that leverages the causal structure of the data to improve SSL performance.

Introduction

Semi-supervised learning (SSL) aims to enhance model performance by utilizing a small amount of labeled data alongside a large pool of unlabeled data. Despite its potential, SSL is often inconsistent—sometimes providing significant gains and other times degrading performance. This paper posits that the success of SSL depends fundamentally on the causal relationship between features and targets. By recognizing that unlabeled data is only informative when it captures the mechanism linking "cause" features to "effect" features, the authors develop a framework that outperforms standard SSL methods in mixed-feature settings.

The Causal Asymmetry of Information

A key insight from causal theory is the principle of Independent Causal Mechanisms (ICM). In a causal relationship $X_C \to Y$, the marginal distribution $P(X_C)$ contains no information about the conditional distribution $P(Y|X_C)$. Consequently, unlabeled data (which only informs us about $P(X)$) is useless for purely causal learning. Conversely, in anticausal learning ($Y \to X_E$), the distribution of effects $P(X_E)$ is a "footprint" of the mechanism $P(Y|X_E)$, making SSL viable.

Real-world datasets often contain both types of features. For example, predicting a disease ($Y$) might involve risk factors (causes, $X_C$) and clinical symptoms (effects, $X_E$). The authors model this using the causal structure shown below, where $X_C$ influences $Y$, and both $X_C$ and $Y$ influence $X_E$.

Causal structure of the mixed case where $X_C$ are causes and $X_E$ are effects of the target $Y$.

Proposed Methods: The Conditional Cluster Assumption

Standard SSL methods typically rely on the "cluster assumption," which suggests that points near each other in the feature space should share a label. This paper argues for a Conditional Cluster Assumption: points should share a label if the relationship between their causes and effects is similar.

The authors introduce two primary algorithmic frameworks:

  1. Semi-Generative Models: Instead of modeling the full joint distribution $P(X, Y)$, these models focus on the informative conditional distribution $P(Y, X_E | X_C)$. An Expectation-Maximization (EM) approach is used to iteratively estimate labels for unlabeled data.
  2. Conditional Self-Learning: This variation of traditional self-learning assumes an additive noise model where $X_E = f(X_C) + \text{noise}$. The algorithm learns separate functions ($f_0, f_1$) for each class and assigns unlabeled points to the class whose function best predicts the observed effects from the causes.
Visualization of Conditional Self-Learning: unlabeled points are assigned based on which conditional mapping ($f_0$ or $f_1$) they follow in the $X_C \to X_E$ space.

Experimental Results

The researchers evaluated their approach on synthetic datasets and UCI medical datasets, including Pima Indians Diabetes and Heart Disease.

  • Superior Accuracy: On synthetic data, the causally-motivated EM and self-learning methods significantly outperformed standard SSL approaches like Transductive SVMs (T-SVM) and Label Propagation.
  • Robustness on Real Data: On the Heart Disease dataset, "Conditional Self-Learning" was the only method to successfully improve upon the supervised baseline, achieving 71.9% accuracy compared to 52.6% for the baseline. Standard SSL methods often failed to provide benefits or struggled with convergence.
  • Model Misspecification: While generative models are powerful, they are sensitive to distributional assumptions. The "Conditional Self-Learning" approach proved more robust for real-world medical data as it makes fewer assumptions about noise distributions.

Conclusion and Future Work

This work generalizes previous findings by showing that the "anticausal" case is a special version of a broader mixed-causal setting. While the method requires prior knowledge of causal directions, domain expertise is often sufficient to partition features into causes and effects. Future research could integrate automated causal discovery and explore the framework's natural suitability for domain adaptation, where the distribution of causes $P(X_C)$ may shift between environments.

Summary updated

BibTeX
@inproceedings{kugelgen2020semi,
  author = {Julius von Kügelgen and Alexander Mey and Marco Loog and Bernhard Schölkopf},
  title = {{Semi-supervised learning, causality, and the conditional cluster assumption}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=8JA9gz4e_WhY},
}
Figure