Papers › How smoothing the affinity matrix affects neighborhood preservation in t-SNE

How smoothing the affinity matrix affects neighborhood preservation in t-SNE

17 Aug 2026arXiv:2608.17190added by Syntology

Shirin Mohebi, Guillaume Bied, Jefrey Lijffijt

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Dimensionality reduction methods are instrumental to visualize high-dimensional data, and t-SNE stands as one of the most widely used methods due to its emphasis on local neighborhood preservation. A central component of t-SNE is the affinity matrix, which expresses pairwise similarities in the form of symmetrized probabilities, over which the optimization problem of t-SNE is defined. We study how the sharpness of this probability distribution affects neighborhood preservation at different scales. We introduce a row-wise power transform controlled by a parameter gamma that can smooth or sharpen each row of the affinity matrix while preserving sparsity and rank order. We show that this transform is equivalent to rescaling the Gaussian bandwidth and thus to changing the perplexity. However, as the sharpness of the probability distribution varies per point, a fixed gamma leads to point-dependent effective perplexities, making it distinct from changing the global perplexity. Empirically, we find that sharpening improves preservation of the very nearest neighbors, while smoothing improves preservation of broader local neighborhoods, outperforming alternative affinity constructions including multiscale methods in the mid-local range.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2608.17190")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

aida-ugent/smooth_affinity_tsne found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 8 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8ran
3unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from aida-ugent/smooth_affinity_tsne. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

estimate_intrinsic_dim aida-ugent/smooth_affinity_tsne/openTSNE/affinity.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · 59f64a426919994c · report
jitter aida-ugent/smooth_affinity_tsne/openTSNE/initialization.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 57eb0722ae52ab9d · report
load_adult aida-ugent/smooth_affinity_tsne/experiments/compare_affinity_variants.py found in paper text by Syntology ran BSD-3-Clause (permissive) · bde1f33b923c355d · report
load_mnist aida-ugent/smooth_affinity_tsne/experiments/compare_affinity_variants.py found in paper text by Syntology ran BSD-3-Clause (permissive) · e267fe6d285a5ca0 · report
load_mouse aida-ugent/smooth_affinity_tsne/experiments/compare_affinity_variants.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 14dcb94aec8d457d · report
random aida-ugent/smooth_affinity_tsne/openTSNE/initialization.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 321c8c3b648319f4 · report
rescale aida-ugent/smooth_affinity_tsne/openTSNE/initialization.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 926a223b1588a59c · report
summarise aida-ugent/smooth_affinity_tsne/experiments/seed_variation.py found in paper text by Syntology ran BSD-3-Clause (permissive) · af695c8551b71ca5 · report
build_affinity aida-ugent/smooth_affinity_tsne/experiments/smooth_tsne_opentsne_gamma.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 5385b534dde1e2b0 · report
run_tsne aida-ugent/smooth_affinity_tsne/experiments/smooth_tsne_opentsne_gamma.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · fc865037816f6fd3 · report
run_tsne_from_joint aida-ugent/smooth_affinity_tsne/experiments/smooth_tsne_opentsne_gamma.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 4dca6299d6d9a990 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2608.17190, was issued in August 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections