Clustering with UMAP: Why and How Connectivity Matters

Ayush Dalmia, Suzanna Sia
8/12/2021
23 citations
cs.AI

Official code: adalmia96/umap-mnn (24 stars, Jupyter Notebook, last commit 2021-12-11).

Abstract

Topology based dimensionality reduction methods such as t-SNE and UMAP have seen increasing success and popularity in high-dimensional data. These methods have strong mathematical foundations and are based on the intuition that the topology in low dimensions should be close to that of high dimensions.

Show full abstract

Given that the initial topological structure is a precursor to the success of the algorithm, this naturally raises the question: What makes a "good" topological structure for dimensionality reduction? Insight into this will enable us to design better algorithms which take into account both local and global structure. In this paper which focuses on UMAP, we study the effects of node connectivity (k-Nearest Neighbors vs mutual k-Nearest Neighbors) and relative neighborhood (Adjacent via Path Neighbors) on dimensionality reduction. We explore these concepts through extensive ablation studies on 4 standard image and text datasets; MNIST, FMNIST, 20NG, AG, reducing to 2 and 64 dimensions. Our findings indicate that a more refined notion of connectivity (mutual k-Nearest Neighbors with minimum spanning tree) together with a flexible method of constructing the local neighborhood (Path Neighbors), can achieve a much better representation than default UMAP, as measured by downstream clustering performance.

View on arXivView PDF

Code Implementations(1)

adalmia96/umap-mnnOfficial100%
242Jupyter NotebookJun 5, 20214 years ago

Similar Papers

Cite this paper

@article{dalmia2021clustering,
  title  = {Clustering with UMAP: Why and How Connectivity Matters},
  author = {Ayush Dalmia and Suzanna Sia},
  year   = {2021},
  eprint = {2108.05525},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.05525}
}

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/2108.05525.svg)](https://codeofpaper.com/paper/2108.05525)

Discussion