# Attraction-Repulsion Swarming: A Generalized Framework of t-SNE via Force Normalization and Tunable Interactions

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

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 47 references that are in the map.
- First posted on arXiv 15 Nov 2024.

## Builds on (most cited first, 13 of 13)

- [A Simple Framework for Contrastive Learning of Visual Representations](https://mlsanity.com/paper/2002.05709/) (2020)
- [UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction](https://mlsanity.com/paper/1802.03426/) (2018)
- [Efficient Algorithms for t-distributed Stochastic Neighborhood Embedding](https://mlsanity.com/paper/1712.09005/) (2017)
- [Clustering with t-SNE, provably](https://mlsanity.com/paper/1706.02582/) (2017)
- [Attraction-Repulsion Spectrum in Neighbor Embeddings](https://mlsanity.com/paper/2007.08902/) (2020)
- [On UMAP's true loss function](https://mlsanity.com/paper/2103.14608/) (2021)
- [A Comparison of Word Embeddings for the Biomedical Natural Language Processing](https://mlsanity.com/paper/1802.00400/) (2018)
- [Heavy-tailed kernels reveal a finer cluster structure in t-SNE visualisations](https://mlsanity.com/paper/1902.05804/) (2019)
- [t-SNE, Forceful Colorings and Mean Field Limits](https://mlsanity.com/paper/2102.13009/) (2021)
- [Uniform Manifold Approximation and Projection (UMAP) and its Variants: Tutorial and Survey](https://mlsanity.com/paper/2109.02508/) (2021)
- [UNSW-NB15 Computer Security Dataset: Analysis through Visualization](https://mlsanity.com/paper/2101.05067/) (2021)
- [Dimensionality Reduction in Deep Learning for Chest X-Ray Analysis of Lung Cancer](https://mlsanity.com/paper/1801.06495/) (2018)
- [Large data limits and scaling laws for tSNE](https://mlsanity.com/paper/2410.13063/) (2024)

## Built on by (most cited first, 1 of 1)

- [On the continuum limit of t-SNE for data visualization](https://mlsanity.com/paper/2604.12041/) (2026)

## Abstract (arXiv)

We propose a new method for data visualization based on attraction-repulsion swarming (ARS) dynamics, which we call ARS visualization. ARS is a generalized framework that is based on viewing the t-distributed stochastic neighbor embedding (t-SNE) visualization technique as a swarm of interacting agents driven by attraction and repulsion. Motivated by recent developments in swarming, we modify the t-SNE dynamics to include a normalization by the total influence, which results in better posed dynamics in which we can use a data size independent time step (of h=1) and a simple iteration, without the need for the array of optimization tricks employed in t-SNE. ARS also includes the ability to separately tune the attraction and repulsion kernels, which gives the user control over the tightness within clusters and the spacing between them in the visualization. In contrast with t-SNE, our proposed ARS data visualization method is not gradient descent on the Kullback-Leibler divergence, and can be viewed solely as an interacting particle system driven by attraction and repulsion forces. We provide theoretical results illustrating how the choice of interaction kernel affects the dynamics, and experimental results to validate our method and compare to t-SNE on the MNIST and Cifar-10 data sets.
