Nonlinear ICA Using Auxiliary Variables and Generalized Contrastive Learning

Aapo Hyvärinen, Hiroaki Sasaki, Richard E. Turner

Authors: Aapo Hyvärinen, Hiroaki Sasaki, Richard E. Turner

Introduction

Independent Component Analysis (ICA) is a cornerstone of signal processing, famously used to solve the "cocktail party problem" by recovering original sources from linear mixtures. However, extending ICA to nonlinear mixtures has historically been a significant challenge due to the unidentifiability problem. In the nonlinear case, if data is independent and identically distributed (i.i.d.), there are infinite ways to transform it into independent components that bear no relation to the original sources. This paper introduces a mathematically rigorous framework to overcome this hurdle by leveraging auxiliary variables and a novel learning objective.

The Framework: Auxiliary Variables and GCL

The authors propose a generative model where observed data $x$ is a nonlinear transformation $f$ of latent sources $s$. The key innovation is the introduction of an auxiliary variable $u$. This variable could represent time indices, history, or even class labels. The core assumption is that the sources $s$ are conditionally independent given $u$.

To estimate the model, the authors introduce Generalized Contrastive Learning (GCL). This approach transforms the unsupervised problem into a supervised one:

  1. Classification Task: A neural network is trained to distinguish between "real" pairs $(x, u)$ and "fake" pairs $(x, u^*)$, where $u^*$ is a randomized version of the auxiliary variable.
  2. Feature Extraction: The authors prove that to solve this classification task optimally, the network must learn the inverse of the mixing function $f$.
  3. Source Recovery: By training the network to identify the relationship between the data and the auxiliary variable, the hidden layers effectively extract the underlying independent components.

Theoretical Identifiability

The paper provides three key theorems establishing that sources can be uniquely recovered (up to a component-wise transformation) under general conditions. A critical insight is the "complexity threshold": if sources are too simple (e.g., basic Gaussians), they can only be recovered up to a linear transformation. However, if the sources belong to higher-order exponential families—meaning they have sufficient statistical variability across different values of $u$—the nonlinear ICA can recover them directly.

Experimental Validation

The method was tested on controlled synthetic datasets, including non-stationary 2D grid sources and time-series segments where variance changes over time.

Performance comparison of the proposed GCL method against Time-Contrastive Learning (TCL). The y-axis represents the Pearson correlation between estimated and ground-truth sources.

As shown in the figure above, the GCL method (labeled "Proposed") achieves high Pearson correlation (often $>0.9$) with ground-truth sources. When combined with a final linear ICA step to resolve remaining linear indeterminacy ("Proposed with ICA"), the performance is highly stable and competitive with specialized algorithms like Time-Contrastive Learning (TCL), while being applicable to a much broader range of data types.

Conclusion and Future Directions

This work provides a "Grand Unified Theory" for nonlinear ICA, showing that temporal dependency, non-stationarity, and supervised labels are all specific instances of the same auxiliary variable principle. While the theory assumes the mixing function is invertible and the auxiliary variable has a sufficiently strong effect on the sources, it opens the door for self-supervised feature extraction in complex domains like computer vision and audio processing, where auxiliary modalities can serve as the necessary supervision for uncovering latent structures.

Summary updated

BibTeX
@inproceedings{hyvarinen2019nonlinear,
  author = {Aapo Hyvärinen and Hiroaki Sasaki and Richard E. Turner},
  title = {{Nonlinear ICA Using Auxiliary Variables and Generalized Contrastive Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
  url = {https://openreview.net/forum?id=rfEhUSKsg5},
}
Figure