A Scalable Approach to Clustering Embedding Projections

Donghao Ren, Fred Hohman, Dominik Moritz
4/9/2025
cs.HCcs.LG

No official code found. Best implementation: apple/embedding-atlas (4,962 stars, MIT, last commit 2026-04-27).

Abstract

Interactive visualization of embedding projections is a useful technique for understanding data and evaluating machine learning models. Labeling data within these visualizations is critical for interpretation, as labels provide an overview of the projection and guide user navigation. However, most methods for producing labels require clustering the points, which can be computationally expensive as the number of points grows. In this paper, we describe an efficient clustering approach using kernel density estimation in the projected 2D space instead of points. This algorithm can produce high-quality cluster regions from a 2D density map in a few hundred milliseconds, orders of magnitude faster than current approaches. We contribute the design of the algorithm, benchmarks, and applications that demonstrate the utility of the algorithm, including labeling and summarization.

View on arXivView PDF

Code Implementations(1)

MIT

Embedding Atlas is a tool that provides interactive visualizations for large embeddings. It allows you to visualize, cross-filter, and search embeddings and metadata.

4,962330CSS, VueMay 7, 20255 months agoMIT
embeddingvisualization

Similar Papers

Cite this paper

@article{ren2025scalable,
  title  = {A Scalable Approach to Clustering Embedding Projections},
  author = {Donghao Ren and Fred Hohman and Dominik Moritz},
  year   = {2025},
  eprint = {2504.07285},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.07285v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.07285.svg)](https://codeofpaper.com/paper/2504.07285)

Discussion