# TriMap: Large-scale Dimensionality Reduction Using Triplets

arXiv: https://arxiv.org/abs/1910.00204 · HTML: https://mlsanity.com/paper/1910.00204/

## Key facts

- Cited by 60 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 1 Oct 2019.

## Built on by (most cited first, 30 of 60)

- [Interpretable Machine Learning: Fundamental Principles and 10 Grand Challenges](https://mlsanity.com/paper/2103.11251/) (2021)
- [Where is your place, Visual Place Recognition?](https://mlsanity.com/paper/2103.06443/) (2021)
- [On UMAP's true loss function](https://mlsanity.com/paper/2103.14608/) (2021)
- [From t-SNE to UMAP with contrastive learning](https://mlsanity.com/paper/2206.01816/) (2022)
- [Landscape of Thoughts: Visualizing the Reasoning Process of Large Language Models](https://mlsanity.com/paper/2503.22165/) (2025)
- [Unsupervised visualization of image datasets using contrastive learning](https://mlsanity.com/paper/2210.09879/) (2022)
- [Hierarchical Nearest Neighbor Graph Embedding for Efficient Dimensionality Reduction](https://mlsanity.com/paper/2203.12997/) (2022)
- [Learning from Randomly Initialized Neural Network Features](https://mlsanity.com/paper/2202.06438/) (2022)
- [TLDR: Twin Learning for Dimensionality Reduction](https://mlsanity.com/paper/2110.09455/) (2021)
- [Stop Misusing t-SNE and UMAP for Visual Analytics](https://mlsanity.com/paper/2506.08725/) (2025)
- [InDiReCT: Language-Guided Zero-Shot Deep Metric Learning for Images](https://mlsanity.com/paper/2211.12760/) (2022)
- [The Shape of Attraction in UMAP: Exploring the Embedding Forces in Dimensionality Reduction](https://mlsanity.com/paper/2503.09101/) (2025)
- [WiCluster: Passive Indoor 2D/3D Positioning using WiFi without Precise Labels](https://mlsanity.com/paper/2107.01002/) (2021)
- [Topological Autoencoders++: Fast and Accurate Cycle-Aware Dimensionality Reduction](https://mlsanity.com/paper/2502.20215/) (2025)
- [DREAMS: Preserving both Local and Global Structure in Dimensionality Reduction](https://mlsanity.com/paper/2508.13747/) (2025)
- [Interpretable Dimensionality Reduction by Feature Preserving Manifold Approximation and Projection](https://mlsanity.com/paper/2211.09321/) (2022)
- [Relating tSNE and UMAP to Classical Dimensionality Reduction](https://mlsanity.com/paper/2306.11898/) (2023)
- [Sampling-enabled scalable manifold learning unveils the discriminative cluster structure of high-dimensional data](https://mlsanity.com/paper/2401.01100/) (2024)
- [Curvature Augmented Manifold Embedding and Learning](https://mlsanity.com/paper/2403.14813/) (2024)
- [Outlier Detection in Large Radiological Datasets using UMAP](https://mlsanity.com/paper/2407.21263/) (2024)
- [Navigating the Effect of Parametrization for Dimensionality Reduction](https://mlsanity.com/paper/2411.15894/) (2024)
- [t-SNE Exaggerates Clusters, Provably](https://mlsanity.com/paper/2510.07746/) (2025)
- [Hodoscope: Unsupervised Monitoring for AI Misbehaviors](https://mlsanity.com/paper/2604.11072/) (2026)
- [Collection Space Navigator: An Interactive Visualization Interface for Multidimensional Datasets](https://mlsanity.com/paper/2305.06809/) (2023)
- [k* Distribution: Evaluating the Latent Space of Deep Neural Networks using Local Neighborhood Analysis](https://mlsanity.com/paper/2312.04024/) (2023)
- [Metric Design != Metric Behavior: Improving Metric Selection for the Unbiased Evaluation of Dimensionality Reduction](https://mlsanity.com/paper/2507.02225/) (2025)
- [Layerwise Bregman Representation Learning with Applications to Knowledge Distillation](https://mlsanity.com/paper/2209.07080/) (2022)
- [Calibrating dimension reduction hyperparameters in the presence of noise](https://mlsanity.com/paper/2312.02946/) (2023)
- [Inference and Visualization of Community Structure in Attributed Hypergraphs Using Mixed-Membership Stochastic Block Models](https://mlsanity.com/paper/2401.00688/) (2024)
- [MS-IMAP -- A Multi-Scale Graph Embedding Approach for Interpretable Manifold Learning](https://mlsanity.com/paper/2406.02778/) (2024)

## Abstract (arXiv)

We introduce "TriMap"; a dimensionality reduction technique based on triplet constraints, which preserves the global structure of the data better than the other commonly used methods such as t-SNE, LargeVis, and UMAP. To quantify the global accuracy of the embedding, we introduce a score that roughly reflects the relative placement of the clusters rather than the individual points. We empirically show the excellent performance of TriMap on a large variety of datasets in terms of the quality of the embedding as well as the runtime. On our performance benchmarks, TriMap easily scales to millions of points without depleting the memory and clearly outperforms t-SNE, LargeVis, and UMAP in terms of runtime.
