Unsupervised Learning with Imbalanced Data via Structure Consolidation Latent Variable Model

Fariba Yousefi, Zhenwen Dai, Carl Henrik Ek, Neil D. LawrencearXiv 2016

Introduction

In many real-world unsupervised learning tasks, datasets are significantly imbalanced. In medical diagnostics, for instance, healthy cells are ubiquitous while specific disease morphologies, such as mitotic cells, are rare. Standard algorithms like the Gaussian Process Latent Variable Model (GP-LVM) optimize a global objective that often causes majority classes to "drown out" the minority. Consequently, the unique characteristics of rare data points are frequently treated as noise. The Structure Consolidation Latent Variable Model (SCLVM), presented at ICLR 2016, addresses this by ensuring minority classes are modeled with the same fidelity as common ones without discarding majority-class data.

The SCLVM Framework

The core innovation of SCLVM is the mathematical separation of the latent space $X$ into two distinct components:

  1. Shared Latent Space ($X_s$): Captures regularities found across all data points, such as general cellular structures.
  2. Private Latent Space ($X_p$): Captures variance specific to individual categories, such as the visual markers of a dividing cell.

This separation is achieved through a composite kernel function $k = k_{shared} + k_{private}$. The private kernel utilizes a "block-diagonal" structure, where the covariance between points of different categories is zero. This forces the model to learn category-specific features in the private space without interference from the majority class.

Visualization of the latent spaces in SCLVM compared to the standard BGPLVM. The SCLVM successfully disentangles shared features from class-specific private features.

Experimental Validation

The model was evaluated using the AMIDA13 breast cancer histopathology dataset, which is highly imbalanced (only 550 positive mitosis patches out of over 146,000). By using the majority class to learn shared domain features, SCLVM actually improves its understanding of the minority class.

Classification and Generative Performance

SCLVM outperformed benchmarks like Bayesian GP-LVM (BGPLVM) and Discriminative GP-LVM (DGPLVM), achieving a superior F1 score of 0.482. While other models showed high recall at the expense of precision, SCLVM maintained a robust balance.

Beyond classification, the model serves as a unified generative framework. It can produce realistic synthetic samples of both classes, capturing the distinct morphologies of mitotic cells within the private latent space.

Comparison between (a) original image patches and (b) synthetic samples generated by the SCLVM, demonstrating the model's ability to capture distinct morphologies.

Conclusion and Future Work

SCLVM demonstrates that "structure consolidation" is a principled way to handle imbalanced data in a probabilistic framework. By disentangling shared and private traits, the model preserves the nuances of rare events. Future work may focus on scaling this $O(N^3)$ approach to larger datasets using sparse GP approximations or extending the architecture to multi-domain transfer learning tasks.

Summary updated

Abstract

Unsupervised learning on imbalanced data is challenging because, when given imbalanced data, current model is often dominated by the major category and ignores the categories with small amount of data. We develop a latent variable model that can cope with imbalanced data by dividing the latent space into a shared space and a private space. Based on Gaussian Process Latent Variable Models, we propose a new kernel formulation that enables the separation of latent space and derives an efficient variational inference method. The performance of our model is demonstrated with an imbalanced medical image dataset.
BibTeX
@misc{yousefi2016unsupervised,
  author = {Fariba Yousefi and Zhenwen Dai and Carl Henrik Ek and Neil D. Lawrence},
  title = {{Unsupervised Learning with Imbalanced Data via Structure Consolidation Latent Variable Model}},
  year = {2016},
  eprint = {1607.00067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1607.00067},
}
Figure