The Tree-SNE Tree Exists
Jack Kendrick
TL;DR
This work analyzes scale sensitivity in t-SNE and introduces Tree-SNE, a hierarchical embedding that reveals subclusters by progressively weakening the kernel tail via a one-parameter family $K_\alpha(d)$, yielding a tree-like embedding. By formulating the embedding as the zero-set of a gradient $F$ and proving that generically $F$ has constant rank, the authors apply the constant-rank level-set theorem to show the zero-set is a smooth manifold of dimension $1+d(d+1)/2$ with a non-constant scaling parameter $\alpha$, guaranteeing a continuous Tree-SNE tree. They demonstrate practical utility on large high-dimensional datasets from the HathiTrust library and on a Shakespeare authorship dataset, illustrating macro- and micro-level clustering along tree branches. The results provide a principled, scale-aware framework for clustering with attraction–repulsion embeddings and open avenues for extending the approach to other methods with similar dynamics.
Abstract
The clustering and visualisation of high-dimensional data is a ubiquitous task in modern data science. Popular techniques include nonlinear dimensionality reduction methods like t-SNE or UMAP. These methods face the `scale-problem' of clustering: when dealing with the MNIST dataset, do we want to distinguish different digits or do we want to distinguish different ways of writing the digits? The answer is task dependent and depends on scale. We revisit an idea of Robinson & Pierce-Hoffman that exploits an underlying scaling symmetry in t-SNE to replace 2-dimensional with (2+1)-dimensional embeddings where the additional parameter accounts for scale. This gives rise to the t-SNE tree (short: tree-SNE). We prove that the optimal embedding depends continuously on the scaling parameter for all initial conditions outside a set of measure 0: the tree-SNE tree exists. This idea conceivably extends to other attraction-repulsion methods and is illustrated on several examples.
