CLCRMay 4, 2023

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

arXiv:2305.03010v1257 citations
Originality Incremental advance
AI Analysis

This work addresses privacy risks for users of language models by revealing that sentence embeddings leak more information than previously thought, though it is incremental as it builds on prior embedding inversion research.

The paper tackles the problem of information leakage from sentence embeddings by proposing a generative embedding inversion attack (GEIA) that reconstructs input sequences from embeddings, outperforming previous attacks in classification metrics and generating coherent, contextually similar sentences.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes