Harnessing the Universal Geometry of Embeddings

Rishi Jha, Collin Zhang, Vitaly Shmatikov, John X. Morris
5/18/2025
cs.LG

No official code found. Best implementation: rjha18/vec2vec (270 stars, last commit 2026-02-03). 1 more below.

Abstract

We introduce the first method for translating text embeddings from one vector space to another without any paired data, encoders, or predefined sets of matches. Our unsupervised approach translates any embedding to and from a universal latent representation (i.e., a universal semantic structure conjectured by the Platonic Representation Hypothesis). Our translations achieve high cosine similarity across model pairs with different architectures, parameter counts, and training datasets. The ability to translate unknown embeddings into a different space while preserving their geometry has serious implications for the security of vector databases. An adversary with access only to embedding vectors can extract sensitive information about the underlying documents, sufficient for classification and attribute inference.

View on arXivView PDF

Code Implementations(2)

rjha18/vec2vecCommunity100%
27048PythonJan 23, 20258 months ago

Project website for ["Harnessing the Universal Geometry of Embeddings"](https://arxiv.org/abs/2505.12540)

10May 24, 20251 years ago

Cite this paper

@article{jha2025harnessing,
  title  = {Harnessing the Universal Geometry of Embeddings},
  author = {Rishi Jha and Collin Zhang and Vitaly Shmatikov and John X. Morris},
  year   = {2025},
  eprint = {2505.12540},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.12540v3},
  journal = {NEURIPS 2025 2025}
}

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

Discussion