Publication | Open Access
Text Embeddings Reveal (Almost) As Much As Text
47
Citations
28
References
2023
Year
Unknown Venue
Structured PredictionEngineeringMachine LearningCorpus LinguisticsText MiningWord EmbeddingsNatural Language ProcessingInformation RetrievalData ScienceComputational LinguisticsLanguage StudiesContent AnalysisMachine TranslationDense Text EmbeddingsNlp TaskText Embeddings RevealRetrieval Augmented GenerationEmbedding PerformsText EmbeddingsContent RepresentationText ProcessingLinguisticsLanguage Generation
How much private information do text embeddings reveal about the original text? We investigate the problem of embedding inversion, reconstructing the full text represented in dense text embeddings. We frame the problem as controlled generation: generating text that, when reembedded, is close to a fixed point in latent space. We find that although a naive model conditioned on the embedding performs poorly, a multi-step method that iteratively corrects and re-embeds text is able to recover 92% of 32-token text inputs exactly. We train our model to decode text embeddings from two state-of-the-art embedding models, and also show that our model can recover important personal information (full names) from a dataset of clinical notes.
| Year | Citations | |
|---|---|---|
Page 1
Page 1