Harnessing the Universal Geometry of Embeddings
Rishi Jha, Collin Zhang, Vitaly Shmatikov, John X. Morris
TL;DR
The paper tackles translating text embeddings across heterogeneous spaces without paired data by introducing vec2vec, which learns a universal latent representation via adapters, a shared backbone, and cycle-consistent adversarial training with reconstruction and vector-space preservation. It demonstrates near-perfect alignment across model pairs and robustness to out-of-distribution inputs, enabling information extraction and inversion from translated embeddings. The work also uncovers potential security risks: an adversary could extract sensitive information from embedding databases by translating to a known space. It provides empirical support for a Strong Platonic Representation Hypothesis in text and suggests extensions to multi-modal embeddings like CLIP.
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.
