Propensity Score Alignment of Unpaired Multimodal Data

Johnny Xi, Jason Hartford

TL;DR

This paper introduces a novel method for aligning unpaired data from different modalities (like images and gene expression) by leveraging "propensity scores" from causal inference. This approach allows for effective matching and downstream tasks like prediction, even when paired data is scarce, outperforming existing methods on synthetic and real-world biological datasets.

What Problem Does This Paper Address?

Many powerful machine learning models, especially in multimodal learning, rely on having perfectly paired data. Think of image-caption pairs for CLIP, or matching a cell's image to its gene expression profile. However, in scientific domains like biology, collecting such paired data is often impossible. For instance, experiments that measure gene expression might destroy the cell, making it impossible to also get a microscopy image of the exact same cell. This paper tackles the challenge of aligning and learning from these "unpaired" multimodal datasets, where we have observations from different modalities but don't know which observation from modality A corresponds to which observation from modality B.

Methods

The core idea is to borrow a concept from causal inference: the propensity score. In causal inference, a propensity score estimates the probability of receiving a treatment. Here, the authors adapt this to estimate the probability of a specific "perturbation" or experimental condition (t) given the observed data from a single modality (X(e)). They theorize that this propensity score, P(t | X(e)), acts as a common, lower-dimensional representation that captures the shared information about the underlying latent state (Z) across different modalities.

Here's the breakdown:

  • Propensity Score Estimation: For each modality, they train a separate classifier to predict the experimental condition (t) from the modality's data. This yields a propensity score for each data point in each modality.
  • Matching: With these propensity scores, they can now define a distance between samples from different modalities. They explore two matching techniques using this distance:
  • Shared Nearest Neighbors (SNN): A standard technique for finding similar points in high-dimensional spaces.
  • Optimal Transport (OT): A powerful mathematical framework for finding the most efficient way to move "mass" from one distribution to another. The authors find OT matching to be particularly effective.
  • Downstream Tasks: Once a matching matrix (M) is established, it can be used to create "pseudo-paired" data. This pseudo-paired data can then be used for tasks like cross-modality prediction (e.g., predicting gene expression from an image). They propose an "unbiased" prediction loss that leverages the matching matrix.

Datasets

The paper evaluates their method on three types of datasets:

  1. Synthetic Interventional Images: A simulated dataset designed to mimic the data generating process described in the paper, allowing for ground truth evaluation of matching.
  2. CITE-seq Data: A real-world dataset from the NeurIPS 2021 Multimodal Single-Cell Integration Challenge, containing paired RNA-seq and surface protein measurements. Cell type is used as the "perturbation" label for matching.
  3. PerturbSeq and Single Cell Images: A dataset combining gene expression data from PerturbSeq experiments with microscopy images of cells. This is a more realistic scenario where ground truth pairings are not available.

Key Insights and Ideas

  • Propensity Scores as a Unifying Bridge: The key insight is that propensity scores, derived from experimental perturbations, can serve as a powerful, modality-agnostic representation for matching unpaired data. They effectively compress information about the underlying latent state relevant for matching.
  • Causal Inference Framework for Alignment: Applying concepts from causal inference (specifically, the propensity score) provides a theoretically grounded way to tackle the problem of multimodal alignment, moving beyond purely empirical approaches.
  • Optimal Transport's Power for Unpaired Data: Optimal Transport, when applied to propensity scores, proves to be a highly effective matching strategy, often outperforming other methods.
  • Matching as a Proxy for Validation: The authors show that the validation loss of the propensity score classifier can serve as a reliable proxy for the quality of the matching, even when ground truth is unknown. This is crucial for practical hyperparameter tuning.
  • Reconstruction vs. Matching: The paper suggests that VAE-based methods, which often prioritize reconstruction, might hinder matching performance because they try to capture modality-specific noise, whereas propensity score methods focus on shared information.

Key Results

  • Superior Matching Performance: Propensity Score + Optimal Transport (PS+OT) consistently outperformed baseline methods (including VAE-based matching and random matching) on both synthetic and CITE-seq datasets, as measured by trace and FOSCTTM metrics. For instance, PS+OT achieved a trace metric approximately 31 times better than random matching on the synthetic dataset.
  • Improved Downstream Prediction: The PS+OT matching enabled better cross-modality prediction performance on the CITE-seq dataset, even outperforming models trained with standard MSE loss on ground truth pairings.
  • Robustness in Unseen Perturbations: On the PerturbSeq/single cell image dataset (where ground truth is unknown), PS+OT demonstrated better distributional alignment (measured by KL divergence and Wasserstein distance) for both in-distribution and out-of-distribution perturbations compared to VAE-based methods.

Limitations and Future Work

  • Strong Assumptions: The theoretical framework relies on strong assumptions about the data generating process, particularly regarding the injectivity of modality-specific functions and the relationship between perturbations and latent states. While empirical results show robustness, these assumptions are key.
  • Need for Perturbation Labels: The method fundamentally relies on the presence of some form of "experimental label" or perturbation that affects the underlying latent state. It would not work for modalities that are completely independent and lack any shared underlying cause or perturbation.
  • Future Work: The authors suggest investigating the phenomenon of improved generalization over ground truth matching, potentially due to implicitly enforcing invariance to modality-specific information. Further exploration of how the method's robustness to violations of its assumptions can be quantified is also a promising direction.

Summary updated

Abstract

Multimodal representation learning techniques typically rely on paired samples to learn common representations, but paired samples are challenging to collect in fields such as biology where measurement devices often destroy the samples. This paper presents an approach to address the challenge of aligning unpaired samples across disparate modalities in multimodal representation learning. We draw an analogy between potential outcomes in causal inference and potential views in multimodal observations, which allows us to use Rubin's framework to estimate a common space in which to match samples. Our approach assumes we collect samples that are experimentally perturbed by treatments, and uses this to estimate a propensity score from each modality, which encapsulates all shared information between a latent state and treatment and can be used to define a distance between samples. We experiment with two alignment techniques that leverage this distance---shared nearest neighbours (SNN) and optimal transport (OT) matching---and find that OT matching results in significant improvements over state-of-the-art alignment approaches in both a synthetic multi-modal setting and in real-world data from NeurIPS Multimodal Single-Cell Integration Challenge.
BibTeX
@inproceedings{xi2024propensity,
  author = {Johnny Xi and Jason Hartford},
  title = {{Propensity Score Alignment of Unpaired Multimodal Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=hT4y7D2o2T},
}
Figure