CRAICLFeb 16, 2025

ALGEN: Few-shot Inversion Attacks on Textual Embeddings using Alignment and Generation

arXiv:2502.11308v24 citationsh-index: 20
Originality Highly original
AI Analysis

This work addresses the privacy risks for users of LLMs and vector databases by demonstrating a low-cost inversion attack that can reveal sensitive information, representing a significant advancement in the field.

The paper tackles the vulnerability of textual embeddings to inversion attacks by introducing ALGEN, a method that requires only a single data point for a partially successful attack and achieves optimal performance with as little as 1k samples across various black-box encoders, without relying on leaked data.

With the growing popularity of Large Language Models (LLMs) and vector databases, private textual data is increasingly processed and stored as numerical embeddings. However, recent studies have proven that such embeddings are vulnerable to inversion attacks, where original text is reconstructed to reveal sensitive information. Previous research has largely assumed access to millions of sentences to train attack models, e.g., through data leakage or nearly unrestricted API access. With our method, a single data point is sufficient for a partially successful inversion attack. With as little as 1k data samples, performance reaches an optimum across a range of black-box encoders, without training on leaked data. We present a Few-shot Textual Embedding Inversion Attack using ALignment and GENeration (ALGEN), by aligning victim embeddings to the attack space and using a generative model to reconstruct text. We find that ALGEN attacks can be effectively transferred across domains and languages, revealing key information. We further examine a variety of defense mechanisms against ALGEN, and find that none are effective, highlighting the vulnerabilities posed by inversion attacks. By significantly lowering the cost of inversion and proving that embedding spaces can be aligned through one-step optimization, we establish a new textual embedding inversion paradigm with broader applications for embedding alignment in NLP.

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