Zero2Text: Zero-Training Cross-Domain Inversion Attacks on Textual Embeddings
Doohyun Kim, Donghwa Kang, Kyungjae Lee, Hyeongboo Baek, Brent Byunghoon Kang
TL;DR
Zero2Text presents a training‑free, cross‑domain inversion attack that recovers text from unknown textual embeddings by coupling LLM‑driven generation with an online, instance‑level alignment learned via ridge regression. It bypasses offline data requirements and domain restrictions, enabling robust inversion even under strict black‑box and cross‑domain scenarios. The method achieves state‑of‑the‑art fidelity on MS MARCO against OpenAI’s victim model, notably yielding approx. 1.8× higher ROUGE‑L and 6.4× higher BLEU‑2 scores than prior baselines, while incurring minimal API query cost. Defense experiments show standard techniques like differential privacy offer limited protection against such adaptive, online attacks, underscoring urgent privacy‑preserving needs for embedding APIs and vector databases.
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.
