Variational PSOM: Deep Probabilistic Clustering with Self-Organizing Maps

Laura Manduchi, Matthias Hüser, Gunnar Rätsch, Vincent Fortuin

TL;DR

This paper introduces DPSOM, a novel deep learning architecture that combines Variational Autoencoders (VAEs) with Self-Organizing Maps (SOMs) to achieve state-of-the-art clustering performance while maintaining the interpretable visualization properties of SOMs. They further extend this to T-DPSOM for time-series data, enabling both clustering and forecasting with uncertainty estimation.

What Problem Does This Paper Address?

Generating interpretable visualizations from complex, high-dimensional data is a significant challenge. While clustering methods help group data, and representation learning techniques like SOMs offer visualization, they often fall short in performance on complex datasets. Deep clustering methods have improved performance but often lack interpretability and don't explicitly model relationships between clusters. This paper aims to bridge this gap by developing a deep learning framework that combines the strengths of deep representation learning (VAE) with the interpretability of SOMs, leading to better clustering and visualization.

Methods

The core of the proposed method is the Probabilistic SOM (PSOM), a novel clustering approach that extends traditional SOMs by incorporating probabilistic cluster assignments. This is achieved by combining a Cluster Assignment Hardening (CAH) loss with a new Soft SOM (S-SOM) loss. The S-SOM loss encourages a SOM-like topological structure among centroids by enforcing similarity between neighboring centroids' probability distributions.

This PSOM is then integrated into a deep architecture called DPSOM. Here, a Variational Autoencoder (VAE) is used to learn a latent representation of the input data. The PSOM then operates on this latent space, allowing for probabilistic clustering and maintaining the interpretable visualization properties of SOMs. The VAE's encoder maps input data to a latent distribution, and its decoder reconstructs the input from the latent representation. The overall DPSOM loss combines the VAE's evidence lower bound (ELBO) loss, the CAH loss, and the S-SOM loss.

For time-series data, they introduce T-DPSOM. This extends DPSOM by incorporating an LSTM to model temporal dependencies between latent embeddings. An additional smoothness loss encourages temporal consistency in the latent space, and a prediction loss allows for forecasting future latent states. This enables interpretable visualization of time-series trajectories with uncertainty estimation.

Datasets

The paper evaluates their models on the following datasets:

  • MNIST: A dataset of 70,000 handwritten digits (28x28 pixels).
  • Fashion MNIST: A dataset of Zalando's article images (28x28 pixels), serving as a more challenging image dataset.
  • eICU: A large-scale, multivariate time-series dataset from intensive care unit (ICU) patients, containing vital sign and lab measurements. This dataset is used for time-series clustering and forecasting tasks.

Key Insights and Ideas

  • Bridging the performance-interpretability gap: The core insight is that by combining deep representation learning (VAE) with a probabilistic SOM, one can achieve both high clustering performance and interpretable visualizations, which is a significant improvement over existing methods.
  • Probabilistic SOM for smoother clustering: The introduction of the S-SOM loss allows for soft cluster assignments, leading to a more nuanced understanding of cluster relationships and improved interpretability compared to hard assignment methods.
  • VAE for better latent space: Using a VAE instead of a standard Autoencoder (AE) for feature extraction provides a more compact and structured latent space, which is beneficial for the SOM's topological assumptions.
  • Temporal modeling for time series: The T-DPSOM's ability to model temporal dependencies with LSTMs and enforce smoothness in trajectories allows for more accurate time-series clustering and forecasting, along with uncertainty quantification.
  • Unsupervised discovery of meaningful patterns: The T-DPSOM model can discover meaningful and smooth neighborhood structures related to patient outcomes (e.g., mortality risk) in the eICU data, even without explicit labels for these patterns during training.

Key Results

  • Image Clustering (MNIST/Fashion-MNIST): DPSOM outperforms state-of-the-art deep clustering methods like DEC and IDEC in terms of Purity and Normalized Mutual Information (NMI). For example, on MNIST, DPSOM achieves a Purity of 0.968 ± 0.001, outperforming IDEC (0.950 ± 0.001).
  • Time Series Clustering (eICU): T-DPSOM significantly outperforms baselines (k-means, SOM-VAE, HMM) in cluster enrichment for current and future APACHE scores. For example, it achieves a higher NMI for APACHE-24 (0.10220 ± 0.0005) compared to SOM-VAE (0.0758 ± 0.0007).
  • Time Series Forecasting (eICU): T-DPSOM achieves superior performance in predicting future latent embeddings, resulting in lower Mean Squared Error (MSE) compared to LSTM, HMM, and SOM-VAE. T-DPSOM's MSE is 0.0049 ± 0.0001, while SOM-VAE's is 0.0081 ± 0.0001.
  • Interpretability: Visualizations of SOM grid reconstructions show that DPSOM with the S-SOM loss leads to more tightly clustered similar digits. Heatmaps of patient trajectories on the SOM grid for eICU data reveal distinct patterns for dying vs. surviving patients and show clear enrichment for mortality risk and APACHE scores.
  • Robustness: DPSOM performance is shown to be robust to variations in hyperparameters β and γ.

Limitations and Future Work

  • Hyperparameter Tuning: While heuristics are provided for choosing hyperparameters β and γ, they still require some tuning. The paper notes that the exact value of β is less critical for raw clustering performance but impacts spatial coherence.
  • Computational Cost: While efficient, training deep models can still be computationally intensive, especially for large datasets and complex architectures like T-DPSOM. The paper provides detailed training time analysis across different configurations.
  • Future Work: The paper suggests that the probabilistic assignments of T-DPSOM enable uncertainty quantification, which is valuable for clinical applications. Further exploration of this aspect and its application to other domains could be a future direction. The paper also implies that the model could be used with even finer SOM grid resolutions.

Summary updated

BibTeX
@misc{manduchi2019variational,
  author = {Laura Manduchi and Matthias Hüser and Gunnar Rätsch and Vincent Fortuin},
  title = {{Variational PSOM: Deep Probabilistic Clustering with Self-Organizing Maps}},
  year = {2019},
  eprint = {1910.01590},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.01590},
}
Figure