NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Identifiable Deep Generative Models via Sparse Decoding

Gemma Elyse Moran, Dhanya Sridhar, Yixin Wang, David Blei

Abstract

We develop the sparse VAE for unsupervised representation learning on high-dimensional data. The sparse VAE learns a set of latent factors (representations) which summarize the associations in the observed data features. The underlying model is sparse in that each observed feature depends on a small subset of the latent factors. We prove such sparse deep generative models are identifiable: with infinite data, the true model parameters can be learned. We empirically study the sparse VAE with both simulated and real data, finding that it recovers meaningful latent factors and has smaller heldout reconstruction error than related methods.

Introduction

Deep generative models (DGMs), such as Variational Autoencoders (VAEs), are essential tools for finding low-dimensional latent factors—like movie genres or biological pathways—that explain high-dimensional observations. However, standard DGMs suffer from unidentifiability: multiple different latent representations can explain the same data equally well. This rotational ambiguity makes it difficult to trust the discovered factors for downstream tasks like domain adaptation or fair classification.

While previous work achieved identifiability through "weak supervision" (auxiliary labels), this research introduces the Sparse VAE. By leveraging the structural property of sparsity common in real-world data, the Sparse VAE achieves identifiability in a purely unsupervised manner.

Methods: Sparse Decoding and Identifiability

The core innovation of the Sparse VAE is its decoder structure. Unlike standard DGMs where every latent factor can influence every observed feature, the Sparse DGM enforces a sparse mapping.

Comparison between a Sparse DGM and a standard dense DGM. In the sparse model, each feature $x_{i,j}$ depends on a subset of latent factors $z_{i,k}$.

Key components include:

  • Sparse Decoding: Each feature $j$ is governed by a sparse weight vector $w_j$. For instance, a specific gene might only be active in a few biological processes.
  • Spike-and-Slab Lasso (SSL) Prior: This hierarchical Bayesian model enforces sparsity by choosing between a "spike" (tightly peaked at zero) and a "slab" (allowing significant influence) for each factor.
  • The Anchor Feature Assumption: The authors prove that if every latent factor has at least two "anchor features"—features depending only on that specific factor—the model becomes identifiable. The model discovers these anchors automatically during training.

Results and Insights

The Sparse VAE was evaluated on synthetic data and real-world datasets including scientific abstracts (PeerRead), movie ratings (MovieLens), and single-cell RNA sequencing (Zeisel).

Factor Recovery and Interpretability

On synthetic data, the Sparse VAE successfully recovered the ground-truth latent factors and their sparse influence patterns, whereas standard VAEs failed to distinguish the underlying structure.

Comparison of factor recovery between Sparse VAE and standard VAE. The Sparse VAE correctly identifies the functional relationships and the sparse weight matrix $W$.

In real-world applications, the model demonstrated superior performance:

  • Genomics: Factors learned from the Zeisel dataset predicted cell types with 95% accuracy, outperforming other DGMs.
  • Predictive Accuracy: The Sparse VAE consistently achieved lower held-out reconstruction error. On MovieLens, it reached a Negative Log-Likelihood (NLL) of 170.9, compared to 175.9 for a standard VAE.
  • Robustness: Because it learns the "true" sparse mapping, the model generalizes better under distribution shifts where the correlations between factors change.

Conclusion

The Sparse VAE demonstrates that sparsity is a powerful inductive bias for achieving identifiability in unsupervised learning. While currently optimized for tabular data and requiring more computational resources than standard VAEs, it provides a theoretically grounded path toward more interpretable and reliable deep generative models. Future work may address scaling these methods to non-tabular data like images and improving optimization guarantees.

Summary updated

BibTeX
@article{moran2022identifiable,
  author = {Gemma Elyse Moran and Dhanya Sridhar and Yixin Wang and David Blei},
  title = {{Identifiable Deep Generative Models via Sparse Decoding}},
  journal = {Accepted by TMLR},
  year = {2022},
  url = {https://openreview.net/forum?id=vd0onGWZbE},
}
Figure