Distributional Reduction: Unifying Dimensionality Reduction and Clustering with Gromov-Wasserstein

Hugues Van Assel, Cédric Vincent-Cuaz, Nicolas Courty, Rémi Flamary, Pascal Frossard, Titouan Vayer

TL;DR

Distributional Reduction (DistR) unifies dimensionality reduction and clustering into a single mathematical framework using the Gromov-Wasserstein distance from optimal transport. By treating data as probability distributions, DistR allows researchers to simultaneously project high-dimensional data into low-dimensional spaces while grouping them into a sparse set of representative "prototypes."

What Problem Does This Paper Address?

In unsupervised learning, we typically have two separate goals:

  1. Dimensionality Reduction (DR): Projecting data into 2D or 3D to visualize its geometric structure (e.g., PCA, t-SNE, UMAP).
  2. Clustering: Grouping similar data points together to find meaningful categories (e.g., k-means, spectral clustering).

Traditionally, these are treated as distinct tasks or performed sequentially (e.g., run PCA, then run k-means on the results). However, sequential pipelines can be suboptimal; the DR step might discard information crucial for clustering, or the clustering might ignore the global geometry preserved by DR. The authors address this gap by providing a unified optimization problem that handles both tasks at once, creating a more cohesive "coarsened" representation of complex datasets.

Methods

The core innovation is framing data reduction as a Gromov-Wasserstein (GW) problem. While standard Optimal Transport compares distributions in the same space, GW compares distributions across different spaces by looking at how pairwise relationships (similarities) are preserved.

  • The DistR Framework: The method minimizes the GW divergence between a high-dimensional input distribution (with $N$ points) and a low-dimensional embedding distribution (with $n$ prototypes, where $n < N$).
  • Unification: The authors prove that many classic algorithms are just special cases of this framework. For instance, if you set the number of prototypes equal to the number of data points ($n=N$), you recover spectral DR methods like Kernel PCA. If you optimize the weights of the prototypes, you move toward clustering methods like weighted k-means.
  • Optimization: They solve this non-convex problem using Block Coordinate Descent (BCD). The algorithm alternates between updating the positions of the prototypes in the low-dimensional space and updating the "coupling" (the soft assignment of data points to prototypes).
  • Scalability: To handle large datasets, they leverage low-rank factorizations of similarity matrices, reducing the computational complexity from $O(N^2)$ to linear in terms of the number of samples $N$.
Illustration of DistR on toy examples, showing how it finds low-dimensional embeddings and clusters simultaneously.

Datasets

The authors evaluated DistR across several domains:

  • Image Datasets: MNIST (handwritten digits), Fashion-MNIST (clothing items), and COIL-20 (object rotations).
  • Genomic Datasets: Several single-cell RNA-sequencing (scRNA-seq) datasets, including PBMC 3k, SNAREseq, and Zeisel 1 & 2. These are particularly challenging due to their high dimensionality and inherent noise.

Key Insights and Ideas

  • DR is "Optimal Transport in Disguise": One of the most striking theoretical findings is that spectral DR methods and neighbor embedding techniques (like t-SNE) are mathematically equivalent to minimizing a GW objective under specific conditions.
  • Prototypes over Points: Instead of just moving points around, DistR focuses on finding "prototypes." This is highly useful in biology (e.g., identifying "metacells"), where a few representative points can summarize thousands of individual cells.
  • Geometric Flexibility: DistR isn't limited to Euclidean space. The authors demonstrate it working effectively in Hyperbolic space (the Poincaré ball), which is better suited for hierarchical data like evolutionary trees or cell lineages.
Examples of embeddings produced by DistR on image and genomic datasets, including a projection onto a Poincaré ball.

Key Results

  • Superior Trade-offs: DistR consistently achieves a better balance between homogeneity (how well prototypes represent a single class) and silhouette scores (how well-separated the clusters are in the embedding space) compared to sequential pipelines like "DR then Clustering."
  • Robustness to Prototype Count: As shown in Figure 5, DistR maintains high performance across a wide range of prototype counts ($n$), whereas sequential methods often fluctuate or degrade.
  • Automatic Cluster Selection: The model is adaptive; in some toy cases, it can automatically recover the "true" number of clusters even if the user provides a larger initial budget for prototypes.
Performance scores across different numbers of prototypes, showing DistR's consistency compared to sequential methods.

Limitations and Future Work

  • Local Optima: Because the objective function is non-convex, the BCD algorithm is sensitive to initialization and may get stuck in local optima.
  • Hyperparameter Tuning: Like the methods it unifies (t-SNE, UMAP), DistR still relies on hyperparameters like "perplexity" or "affinity scales" that require careful validation.
  • Future Directions: The authors suggest extending DistR to multi-view settings (e.g., combining gene expression and protein data for the same cells) and developing hierarchical versions that capture data structures at multiple scales simultaneously.

Summary updated

BibTeX
@article{assel2025distributional,
  author = {Hugues Van Assel and Cédric Vincent-Cuaz and Nicolas Courty and Rémi Flamary and Pascal Frossard and Titouan Vayer},
  title = {{Distributional Reduction: Unifying Dimensionality Reduction and Clustering with Gromov-Wasserstein}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=cllm6SS354},
}
Figure