Dimension Reduction with Locally Adjusted Graphs

Yingfan Wang, Yiyang Sun, Haiyang Huang, Cynthia Rudin

Introduction

This paper, presented at AAAI-25, introduces LocalMAP (Local Manifold Alignment and Projection), a dimensionality reduction (DR) algorithm designed to solve a persistent problem in data visualization: the tendency for distinct clusters in high-dimensional space to collapse into a single, indistinct "blob" in 2D embeddings. By implementing a dynamic, self-correcting graph mechanism, LocalMAP achieves significantly clearer cluster separation than current industry standards.

The Challenge: The "Euclidean Lie" and Scaling

Most modern DR algorithms, including t-SNE and UMAP, follow a two-step process: constructing a graph where edges represent similarities in high-dimensional space, and then optimizing a low-dimensional embedding to respect those edges. The authors identify two fundamental flaws in this approach:

  1. The "Euclidean Lie": Due to the curse of dimensionality, high-dimensional Euclidean distance is often an unreliable measure of true similarity. This leads to "false positive" edges that tether unrelated clusters together.
  2. The Scaling Problem: The authors provide a formal proof (Theorem 1) showing that as a dataset grows, the ratio of attractive forces to repulsive forces between clusters increases. In large-scale data, there are often insufficient "negative" edges to push nearby clusters apart, leading to overlapping boundaries.
Figure 1: Illustration of the complex graph structures and false-positive connections that can occur in high-dimensional data, complicating cluster separation.

The LocalMAP Approach

LocalMAP builds upon the PaCMAP framework but introduces a dynamic, self-correcting graph that adjusts during the optimization process through two key innovations:

  • Dynamic NN Weighting: The algorithm monitors the low-dimensional embedding in real-time. If two points connected by a "neighbor" edge are consistently pushed apart by the optimization, LocalMAP assumes the edge was a high-dimensional error and dynamically weakens its attractive force.
  • Local FP Resampling: While standard methods use random "Further Pair" (FP) edges for global repulsion, LocalMAP resamples these negative edges to be local. It specifically targets points that are close in the 2D embedding but should not be, providing the necessary "push" to create crisp boundaries.

Experimental Evaluation

The authors evaluated LocalMAP against 11 state-of-the-art methods across diverse benchmarks, including image datasets (MNIST, Fashion-MNIST) and biological single-cell RNA-seq data.

LocalMAP consistently achieved the highest Silhouette scores, a metric for cluster separation. For example, on the MNIST dataset, it scored 0.58, compared to UMAP (0.52) and PaCMAP (0.54). Qualitatively, LocalMAP is one of the few algorithms capable of clearly separating all 10 digit classes in MNIST without using label information during training.

Figure 2: Comparative visualization of UMAP, t-SNE, PaCMAP, and LocalMAP, demonstrating LocalMAP's superior ability to maintain distinct and clean cluster boundaries.

Discussion and Future Work

While LocalMAP introduces some computational overhead due to edge resampling every 10 iterations, it remains efficient enough for large-scale datasets and is notably more robust than t-SNE across multiple runs. Currently, the method is non-parametric, meaning new data points cannot be projected into an existing embedding without re-running the optimization. Future research may focus on combining these local adjustment insights with parametric deep learning approaches to enhance scalability and flexibility.

Summary updated

BibTeX
@inproceedings{wang2025dimension,
  author = {Yingfan Wang and Yiyang Sun and Haiyang Huang and Cynthia Rudin},
  title = {{Dimension Reduction with Locally Adjusted Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i20.35436},
}
Figure