Skip to main content
QUICK REVIEW

[Paper Review] BasisVAE: Translation-invariant feature-level clustering with Variational Autoencoders

Kaspar Märtens, Christopher Yau|arXiv (Cornell University)|Mar 6, 2020
Natural Language Processing TechniquesComputer Science20 references8 citations
TL;DR

BasisVAE proposes a joint probabilistic framework that combines Variational Autoencoders (VAEs) with a Bayesian mixture prior in the decoder to simultaneously perform non-linear dimensionality reduction and feature-level clustering. By modeling features as linear combinations of learned basis functions with cluster-specific scaling and translation parameters, it enables interpretable, translation-invariant clustering of high-dimensional tabular data—demonstrated effectively on single-cell gene expression data where it outperforms standard clustering and VAEs in revealing biologically meaningful gene expression patterns.

ABSTRACT

Variational Autoencoders (VAEs) provide a flexible and scalable framework for non-linear dimensionality reduction. However, in application domains such as genomics where data sets are typically tabular and high-dimensional, a black-box approach to dimensionality reduction does not provide sufficient insights. Common data analysis workflows additionally use clustering techniques to identify groups of similar features. This usually leads to a two-stage process, however, it would be desirable to construct a joint modelling framework for simultaneous dimensionality reduction and clustering of features. In this paper, we propose to achieve this through the BasisVAE: a combination of the VAE and a probabilistic clustering prior, which lets us learn a one-hot basis function representation as part of the decoder network. Furthermore, for scenarios where not all features are aligned, we develop an extension to handle translation-invariant basis functions. We show how a collapsed variational inference scheme leads to scalable and efficient inference for BasisVAE, demonstrated on various toy examples as well as on single-cell gene expression data.

Motivation & Objective

  • To address the limitation of standard VAEs in providing interpretable, cluster-level insights for high-dimensional tabular data such as genomics.
  • To unify dimensionality reduction and feature clustering into a single probabilistic model, avoiding ad hoc two-stage workflows.
  • To enable translation-invariant clustering by explicitly modeling shift parameters (δ) for features with similar shapes but different offsets.
  • To provide a scalable and interpretable framework for identifying groups of features with shared functional dynamics, especially in single-cell omics data.
  • To allow researchers to discover not only shape similarity but also relative timing or phase shifts between features through inferred parameters (λ and δ).

Proposed method

  • Introduces a modified VAE decoder with a hierarchical Bayesian clustering prior using categorical latent variables to assign features to clusters.
  • Models each feature's response as a linear combination of basis functions, with cluster-specific scaling (λ) and translation (δ) parameters.
  • Employs a collapsed variational inference scheme to enable efficient and sparse inference, even when over-specifying the number of clusters K.
  • Uses a zero-inflated negative binomial likelihood in the decoder for modeling non-negative, zero-inflated single-cell gene expression data.
  • Extends the model to handle translation invariance by allowing cluster-specific shift parameters (δ), enabling grouping of features with similar shapes but different phase offsets.
  • Applies the model to real-world data, including synthetic gene expression and single-cell spermatogenesis data, to demonstrate joint discovery of latent structure and feature groupings.

Experimental results

Research questions

  • RQ1Can a joint model of dimensionality reduction and feature clustering be constructed within the VAE framework to improve interpretability in high-dimensional tabular data?
  • RQ2How can translation invariance be explicitly modeled in a deep generative framework to group features with similar functional shapes but different phase shifts?
  • RQ3Does incorporating a probabilistic clustering prior in the VAE decoder lead to more accurate and sparse cluster assignments compared to post-hoc clustering methods?
  • RQ4To what extent can BasisVAE recover known biological gene expression patterns in single-cell data without prior knowledge of pseudotime or cluster structure?
  • RQ5Can the inferred scaling (λ) and translation (δ) parameters provide biologically meaningful insights into relative timing or dynamics of gene expression?

Key findings

  • BasisVAE successfully identifies five distinct clusters in synthetic gene expression data, with the translation-invariant variant correctly grouping features that are shifted versions of the same shape.
  • In single-cell spermatogenesis data, the translation-invariant BasisVAE assigned genes like Tex101, Ly6k, Sdc4, Tubb5, and Ccnd2 to the same cluster, revealing shared expression dynamics despite different offsets.
  • The model's inferred δ parameters allowed for the interpretation of relative timing differences between genes, such as delayed expression of one gene relative to another in the same cluster.
  • The scale-invariant version of BasisVAE assigned genes with identical shapes but different offsets to separate clusters, highlighting the importance of translation invariance for accurate biological grouping.
  • Collapsed variational inference enabled efficient and sparse inference, even when over-specifying the number of clusters (K=50), leading to meaningful and stable cluster allocations.
  • BasisVAE outperformed k-means and correlation-based similarity metrics in revealing the true underlying structure in both synthetic and real single-cell data, as shown by reordering of features and latent variables.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.