Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Sentence Embedding Leaks More Information than You Expect: Generative Embedding Inversion Attack to Recover the Whole Sentence

About

Sentence-level representations are beneficial for various natural language processing tasks. It is commonly believed that vector representations can capture rich linguistic properties. Currently, large language models (LMs) achieve state-of-the-art performance on sentence embedding. However, some recent works suggest that vector representations from LMs can cause information leakage. In this work, we further investigate the information leakage issue and propose a generative embedding inversion attack (GEIA) that aims to reconstruct input sequences based only on their sentence embeddings. Given the black-box access to a language model, we treat sentence embeddings as initial tokens' representations and train or fine-tune a powerful decoder model to decode the whole sequences directly. We conduct extensive experiments to demonstrate that our generative inversion attack outperforms previous embedding inversion attacks in classification metrics and generates coherent and contextually similar sentences as the original inputs.

Haoran Li, Mingshi Xu, Yangqiu Song• 2023

Related benchmarks

TaskDatasetResultRank
Embedding InversionQNLI (test)
ROUGE-L0.1463
12
Embedding InversionIMDB (test)
RougeL11.37
12
Embedding InversionAGNews (test)
RougeL6.12
12
Embedding InversionMIMIC-III v1.4 (test)
Age Accuracy0.0779
2
Text ReconstructionQNLI out-of-domain (test)
RougeL12.64
2
Text ReconstructionIMDB out-of-domain (test)
RougeL11.37
2
Text ReconstructionAGNEWS out-of-domain (test)
RougeL0.0538
2
Showing 7 of 7 rows

Other info

Follow for update