Quantization Enables Private Dense Retrieval against Malicious Service Providers
Louis Tremblay Thibault, Sofiane Azogagh, Marc-Olivier Killijian, Ulrich Aïvodji
Abstract
Dense retrieval, the key component of Retrieval Augmented Generation (RAG), retrieves the most relevant documents by comparing dense vector representations of queries and passages from a large corpus. In privacy-sensitive applications, the server observes the query and controls which evidence is returned, creating both confidentiality and integrity risks. We formulate private dense retrieval as providing query privacy and retrieval integrity against a malicious server, and develop a two-round cryptographic protocol that provides both guarantees. Our protocol reduces private and verifiable retrieval to multiplication of a committed matrix by an encrypted vector and uses low-bit quantization to make this computation practical. We evaluate the resulting trade-off between cryptographic cost, retrieval quality, and downstream RAG accuracy across six embedding models, four language models, and corpora of up to 2.68 million passages. Our results show that, with a clipped quantizer, three-bit quantization largely preserves retrieval quality and downstream accuracy, while a private query over a corpus the size of a clinical reference requires one to three minutes of server time. These results suggest that private dense retrieval is already practical for moderately sized, privacy-sensitive corpora when minute-scale latency is acceptable.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
Related papers
Exposure of Virtual Asset Service Providers to Quantum Cryptanalysis: A Comparative Analysis with the Banking System and Public Blockchains in Brazil and the United
Shared title terminologycs.CRLuciano Juvinski
Backdoor in the Loop: Compromising Agentic Search via Malicious Retrievers
Shared title terminologycs.CRBeining Xu, Peichun Hua, Yunming Xiao
AI Agents Enable Mass Profiling
Shared title terminologycs.CRDaniel Paleka, Simon Lermen, Guy Galun et al.
PRIME: A Modular Approach for Private Synthetic Data
Shared title terminologycs.CRMiguel Fuentes, Brett Mullins, Cecilia Ferrando et al.
Heracles: An AI-Enabled Hybrid Cyber Range for OT Security
Shared title terminologycs.CRFrancesco Altiero, Domenico Cotroneo
When Automation Acts: Accountability Gaps in AI-Enabled SIEM/SOAR
Shared title terminologycs.CRUgbede Ibrahim, Yan Lin Aung, Hong Qing Yu