Visualizing high-dimensional data is a cornerstone of modern machine learning. Whether you are debugging a deep neural network or exploring a new dataset, tools like t-SNE and UMAP are likely your go-to methods. However, a new approach called MAP IT (Marginal Alignment Projective Information Theory) introduces a fundamentally different technique that produces cleaner, more meaningful embeddings.
The Problem with Current Methods
Most popular dimensionality reduction (DR) methods, such as t-SNE, UMAP, and PacMap, rely on aligning pairwise probabilities. They try to ensure that if two points are close in high-dimensional space, they remain close in the 2D or 3D visualization.
This approach has two main drawbacks:
- The Normalization Headache: To turn distances into "true" probabilities, these methods usually require a global normalization factor. This creates a complex "n-body problem" where every point's position depends on every other point, making optimization tricky and theoretically opaque.
- Local Blindness: By focusing only on pairs, these methods can miss the wider context of a local region—essentially ignoring the overall density or "degree" of a neighborhood.
The MAP IT Solution
MAP IT shifts the focus from edges to nodes. Instead of aligning the probability of point $A$ being near point $B$, it aligns the marginal probabilities (the "importance" or "degree" of a point within its local neighborhood) between the input and target spaces.
The secret behind this is the Cauchy-Schwarz (CS) divergence. Unlike the Kullback-Leibler (KL) divergence used in t-SNE, the CS divergence is projective. This means you can use unnormalized weights directly in your cost function without losing mathematical rigor, completely bypassing the normalization headache.
The authors also introduce a dual viewpoint for this alignment:
- Discrete: Aligning degrees in a similarity graph.
- Continuous: Aligning probability densities smoothed by kernels (like the t-distribution or Gaussian).
This leads to a gradient-based update rule where each point in the visualization experiences attractive and repulsive forces that are adaptively weighted by the entropy of the local regions.
Key Results
The authors evaluated MAP IT on several classic benchmarks, including MNIST, Coil-20, and Frey Faces. MAP IT consistently produced more distinct clusters compared to t-SNE, UMAP, and PacMap.
By aligning wider local regions via marginals, MAP IT preserves class structure better than pairwise alignment. It is particularly good at separating classes that are notoriously difficult to untangle. For instance, when visualizing the digits 4, 7, and 9 in MNIST, MAP IT creates much more "breathing room" between the classes.
Quantitatively, the authors measured "k-NN recall" (how many of a point's original neighbors remain neighbors in the 2D map). While MAP IT has lower recall at very small values of $k$—indicating it prioritizes global cluster structure over fine-grained manifold preservation—it performs excellently as $k$ increases, showing it captures the "big picture" of the data's organization.
Limitations and Future Work
- Hyperparameter Sensitivity: Like all DR methods, MAP IT depends on the number of nearest neighbors ($k$). The authors suggest values between 5 and 15 usually work well, but more study is needed.
- Scaling: While the theory is inherently scalable due to the lack of normalization, the current implementation was tested on modest datasets. The authors demonstrated that sampling non-neighbor forces can reduce computation by 98% without ruining the map, but full-scale "big data" tests are still to come.
- Parametric Version: The current work focuses on non-parametric visualization. Extending this to a "Parametric MAP IT" (using a neural network to learn the mapping) is a promising next step.
Summary updated