mlsanityData to 7 Oct 2026

Shadow Queries for Private Retrieval in Vector Databases

arXiv 2609.04767 ↗First posted 4 Sep 2026cs.AIcited by 0

On the map: Retrieval-augmented generation → Privacy and security of RAG

Abstract (arXiv)

Large language models (LLMs) increasingly rely on information retrieval (IR) systems, such as Retrieval-Augmented Generation (RAG), to incorporate domain-specific knowledge without costly re-training. These systems often store pre-computed document embeddings in cloud-based vector databases. However, such embeddings are vulnerable to embedding inversion attacks (EIAs), which can reconstruct their underlying text. Existing defenses, such as adding noise or scaling embeddings, often provide limited privacy or significantly reduce retrieval utility. We propose SHAQ (shadow query generation), a semantic-decomposition and embedding-decoupling defense against EIAs. SHAQ is based on the insight that EIAs rely on the strong coupling between an embedding and its original text. Instead of storing document embeddings directly, SHAQ uses a generative language model to create diverse shadow queries that capture different semantic aspects of each document. These queries are then encoded and stored in place of the original document embeddings, thereby decomposing document semantics and decoupling stored embeddings from the source text. Experiments across diverse IR datasets show that SHAQ substantially improves privacy while preserving retrieval utility, achieving a recovery rate as low as 0.2104, defending up to 19.50% more tokens than baseline defenses, and reaching up to 0.7967 MAP@10 with up to 5.53% utility improvement. These results demonstrate that semantic decomposition and embedding decoupling provide an effective alternative to directly modifying embeddings for defending against EIAs.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 25 of its 57 references that are in the map. First posted on arXiv 4 Sep 2026.

Builds on

25 of 57 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  8. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  9. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  10. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  11. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  12. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
13 more
  1. 2020Fact or Fiction: Verifying Scientific Claimscited by 546
  2. 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
  3. 2019Document Expansion by Query Predictioncited by 225
  4. 2020Information Leakage in Embedding Modelscited by 199
  5. 2020CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claimscited by 195
  6. 2023Text Embeddings Reveal (Almost) As Much As Textcited by 189
  7. 2023Query2doc: Query Expansion with Large Language Modelscited by 146
  8. 2020Fast WordPiece Tokenizationcited by 85
  9. 2023Sentence Embedding Leaks More Information than You Expect: Generative Embedding Inversion Attack to Recover the Whole Sentencecited by 81
  10. 2023A Comprehensive Survey on Vector Database: Storage and Retrieval Technique, Challengecited by 55
  11. 2025Catch-Only-One: Non-Transferable Examples for Model-Specific Authorizationcited by 7
  12. 2025Re-Key-Free, Risky-Free: Adaptable Model Usage Controlcited by 6
  13. 2026AI Model Modulation with Logits Redistributioncited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Embedding Inference Attack
  2. 2024RemoteRAG: A Privacy-Preserving LLM Cloud RAG Service
  3. 2026Security and Privacy in Retrieval-Augmented Generation: Architectures, Threats, Defenses, and Future Directions for Building Trustworthy Systems
  4. 2026PILLAR: Private Inverted-Index Lexical Lookup for Augmented Retrieval
  5. 2023Don't forget private retrieval: distributed private similarity search for large language models
  6. 2024"Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models
  7. 2026RAG-CT: Mitigating Privacy Risks on Retrieval-Augmented Generation Systems via Scanning Prompt Distribution
  8. 2025Private-RAG: Answering Multiple Queries with LLMs while Keeping Your Data Private