Papers › A visual observation on the geometry of UMAP projections of the difference vectors of...

A visual observation on the geometry of UMAP projections of the difference vectors of antonym and synonym word pair embeddings

25 Mar 2026arXiv:2603.24150added by Syntology

Rami Luisto

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

Antonyms, or opposites, are sometimes defined as \emph{word pairs that have all of the same contextually relevant properties but one}. Seeing how transformer models seem to encode concepts as directions, this begs the question if one can detect ``antonymity'' in the geometry of the embedding vectors of word pairs, especially based on their difference vectors. Such geometrical studies are then naturally contrasted by comparing antonymic pairs to their opposites; synonyms. This paper started as an exploratory project on the complexity of the systems needed to detect the geometry of the embedding vectors of antonymic word pairs. What we now report is a curious ``swirl'' that appears across embedding models in a somewhat specific projection configuration.

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="2603.24150")

Code

Syntology Ran 0 of 25 code samples harvested from 1 repository linked to this paper; 25 have no recorded run.

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

ramiluisto/CuriousSwirl 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

25 samples harvested; 0 ran; 0 honoured the contract we drafted; 25 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.

25unverified

Licence: 0 of the 25 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 ramiluisto/CuriousSwirl. “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.

balance_classes ramiluisto/CuriousSwirl/semsim/classify.py found in paper text by Syntology unverified MIT (permissive) · 4e66903f7714773f · report
build_features ramiluisto/CuriousSwirl/semsim/classify.py found in paper text by Syntology unverified MIT (permissive) · 65507ab8bdad9e9f · report
build_projection_params ramiluisto/CuriousSwirl/semsim/projection_cache.py found in paper text by Syntology unverified MIT (permissive) · aea8a7d36b40146f · report
compute_pca_projection ramiluisto/CuriousSwirl/semsim/projections.py found in paper text by Syntology unverified MIT (permissive) · 51e4bf7eff968db9 · report
compute_tsne_projection ramiluisto/CuriousSwirl/semsim/projections.py found in paper text by Syntology unverified MIT (permissive) · 8c2201a9c54f1361 · report
compute_umap_projection ramiluisto/CuriousSwirl/semsim/projections.py found in paper text by Syntology unverified MIT (permissive) · 4776fba74086339d · report
cosine_similarity ramiluisto/CuriousSwirl/semsim/stats.py found in paper text by Syntology unverified MIT (permissive) · 3500710b647d99ab · report
dot_product ramiluisto/CuriousSwirl/semsim/stats.py found in paper text by Syntology unverified MIT (permissive) · 9a9338b265d08fe3 · report
euclidean_distance ramiluisto/CuriousSwirl/semsim/stats.py found in paper text by Syntology unverified MIT (permissive) · 45e2b883e4e52baa · report
extract_transformer_embeddings ramiluisto/CuriousSwirl/semsim/embeddings.py found in paper text by Syntology unverified MIT (permissive) · db18cbb63ad64fdb · report
extract_word2vec_embeddings ramiluisto/CuriousSwirl/semsim/embeddings.py found in paper text by Syntology unverified MIT (permissive) · 0d46a4f5b229b35f · report
generate_antonym_pairs ramiluisto/CuriousSwirl/semsim/pairs.py found in paper text by Syntology unverified MIT (permissive) · 733c302dd47abcb2 · report
generate_shuffled_pairs ramiluisto/CuriousSwirl/semsim/pairs.py found in paper text by Syntology unverified MIT (permissive) · f5c3c779c57bee35 · report
generate_synonym_pairs ramiluisto/CuriousSwirl/semsim/pairs.py found in paper text by Syntology unverified MIT (permissive) · 524abf9bd354578b · report
get_embedding_path ramiluisto/CuriousSwirl/config.py found in paper text by Syntology unverified MIT (permissive) · f087285272edbb72 · report
get_model_slug ramiluisto/CuriousSwirl/config.py found in paper text by Syntology unverified MIT (permissive) · d0ad9ca728f04022 · report
get_nouns ramiluisto/CuriousSwirl/semsim/data.py found in paper text by Syntology unverified MIT (permissive) · b90f750b418d59aa · report
get_pair_path ramiluisto/CuriousSwirl/config.py found in paper text by Syntology unverified MIT (permissive) · 39d62c2346fbb8ed · report
get_vocabulary ramiluisto/CuriousSwirl/semsim/data.py found in paper text by Syntology unverified MIT (permissive) · f60cc27077f1980b · report
load_embeddings ramiluisto/CuriousSwirl/semsim/embeddings.py found in paper text by Syntology unverified MIT (permissive) · e298f4b865e41113 · report
load_stuttgart ramiluisto/CuriousSwirl/semsim/data.py found in paper text by Syntology unverified MIT (permissive) · 6f9a74ca00952c93 · report
plot_confusion_matrix ramiluisto/CuriousSwirl/semsim/plots.py found in paper text by Syntology unverified MIT (permissive) · 2523a48b4c15f71f · report
plot_metric_distributions ramiluisto/CuriousSwirl/semsim/plots.py found in paper text by Syntology unverified MIT (permissive) · 28c4a8b9ae88c062 · report
plot_pvalue_heatmap ramiluisto/CuriousSwirl/semsim/plots.py found in paper text by Syntology unverified MIT (permissive) · 720477544f913473 · report
symmetrize_features ramiluisto/CuriousSwirl/semsim/classify.py found in paper text by Syntology unverified MIT (permissive) · b06f15870f2100a1 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2603.24150, was issued in March 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