Partition First, Embed Later: Laplacian-Based Feature Partitioning for Refined Embedding and Visualization of High-Dimensional Data

Erez Peterfreund, Ofir Lindenbaum, Yuval Kluger, Boris Landa

High-dimensional datasets—such as single-cell RNA sequencing (scRNA-seq) or complex sensor arrays—often contain multiple overlapping "stories" hidden within different groups of features. Standard visualization methods like tSNE, UMAP, and Diffusion Maps typically process all available features simultaneously to build a single global similarity graph.

However, real-world data is frequently governed by multiple distinct latent processes. For example, in a scRNA-seq dataset, one group of genes might describe a cell's developmental stage, while another describes its position in the cell cycle. When all features are embedded at once, these independent signals interfere with each other, resulting in convoluted visualizations where subtle, underlying structures are obscured or distorted.

Standard embedding methods often struggle to disentangle multiple latent processes, resulting in muddled, overlapping visualizations.

The "Partition First, Embed Later" Framework

To address this, the authors introduce a novel optimization framework called Feature Partitioning (FP). The core idea is to automatically split $D$ features into $K$ mutually exclusive groups such that each group describes a "smooth" and "simple" geometric structure before applying standard embedding techniques.

The algorithm minimizes an objective function based on the graph Laplacian, seeking feature partitions that yield the most consistent, low-dimensional manifolds. Unlike traditional methods that learn a single graph, this approach simultaneously learns $K$ different affinity matrices—one for each feature subset.

To navigate the complex optimization landscape of assigning features to groups without getting stuck in local minima, the authors employ an entropic regularization strategy. Features initially belong partially to all groups, and assignments are gradually sharpened until each feature is exclusively assigned to one partition.

The proposed Feature Partitioning approach successfully separates features into distinct subsets, revealing clean, disentangled low-dimensional structures (e.g., a loop and a wave) that would otherwise be obscured.

Key Insights and Empirical Success

A key insight of this work is that the "correct" partitioning of features naturally yields the lowest intrinsic dimensionality. By optimizing for graph smoothness, the algorithm automatically discovers functional groups without requiring prior domain knowledge. Furthermore, the paper provides rigorous theoretical guarantees that the method will correctly identify true underlying manifolds in high-dimensional regimes, even if those manifolds are partially dependent on one another.

The researchers validated their approach across synthetic, biological, and image-based datasets with striking results:

  • Perfect Synthetic Partitioning: On synthetic data (e.g., 2D ellipsoids in 6D space), the FP algorithm achieved 0% error in assigning features to their correct groups, significantly outperforming traditional methods like Spectral Co-Clustering.
  • Biological Discovery: In an analysis of embryonic mouse skin cells, standard tSNE only highlighted broad cell types. In contrast, the FP method successfully split the genes into two functional groups: one revealing the developmental trajectory and the other exposing previously invisible cell cycle phases.
  • Video Disentanglement: In video datasets of rotating figurines, the method separated pixels belonging to different objects, creating distinct embeddings that perfectly tracked individual rotations.

Across all tests, the FP-based embeddings showed the lowest $k$-nearest neighbor error, meaning the local structure of the embedding most accurately reflected the true latent variables.

Limitations and Future Directions

While highly effective, the approach has a few limitations. Choosing the optimal number of partitions ($K$) currently relies on an "elbow" method applied to the smoothness score curve, which requires some user inspection. Additionally, the iterative minimization process is computationally heavier than a single tSNE run, though SVD-based speedups are proposed for larger datasets.

Future work will focus on better handling "nuisance" features—random noise that doesn't belong to any smooth structure—and developing more efficient convex relaxations for the optimization problem to further improve speed and robustness.

Summary updated

BibTeX
@inproceedings{peterfreund2025partition,
  author = {Erez Peterfreund and Ofir Lindenbaum and Yuval Kluger and Boris Landa},
  title = {{Partition First, Embed Later: Laplacian-Based Feature Partitioning for Refined Embedding and Visualization of High-Dimensional Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=6CwO5nVvku},
}
Figure