Zero2Text: Zero-Training Cross-Domain Inversion Attacks on Textual Embeddings
Preprint
Abstract
The proliferation of retrieval-augmented generation (RAG) has established vector databases as critical infrastructure, yet they introduce severe privacy risks via embedding inversion attacks. Existing paradigms face a fundamental trade-off: optimization-based methods require computationally prohibitive queries, while alignment-based approaches hinge on the unrealistic assumption of accessible in-domain training data. These constraints render them ineffective in strict black-box and cross-domain settings. To dismantle these barriers, we introduce Zero2Text, a novel training-free framework based on recursive online alignment. Unlike methods relying on static datasets, Zero2Text synergizes LLM priors with a dynamic ridge regression mechanism to iteratively align generation to the target embedding on-the-fly. We further demonstrate that standard defenses, such as differential privacy, fail to effectively mitigate this adaptive threat. Extensive experiments across diverse benchmarks validate Zero2Text; notably, on MS MARCO against the OpenAI victim model, it achieves 1.8x higher ROUGE-L and 6.4x higher BLEU-2 scores compared to baselines, recovering sentences from unknown domains without a single leaked data pair.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- Against All Odds: Overcoming Typology, Script, and Language Confusion in Multilingual Embedding Inversion AttacksProceedings of the AAAI Conference on Artificial Intelligence, 2025
- Text Embedding Inversion Security for Multilingual Language Models2024
- Transferable Embedding Inversion Attack: Uncovering Privacy Risks in Text Embeddings without Model Queries2024
- Sentence Embedding Leaks More Information than You Expect: Generative Embedding Inversion Attack to Recover the Whole Sentence2023
- LAMP: Extracting Text from Gradients with Language Model Priors2022
- Deep Leakage from Gradients2020
- Differentially Private Representation for NLP: Formal Guarantee and An Empirical Study on Privacy and Fairness2020
- Billion-Scale Similarity Search with GPUsIEEE Transactions on Big Data, 2019
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks2019
- A Discourse-Aware Attention Model for Abstractive Summarization of Long Documents2018