Pisces: Cryptography-Based Private Retrieval-Augmented Generation with Dual-Path Retrieval
Abstract
Retrieval-augmented generation (RAG) enhances the response quality of large language models (LLMs) when handling domain-specific tasks, yet raises significant privacy concerns. This is because both the user query and documents within the knowledge base often contain sensitive or confidential information. To address these concerns, we propose $\texttt{Pisces}$, the first practical cryptography-based RAG framework that supports dual-path retrieval, while protecting both the query and documents. Along the semantic retrieval path, we reduce computation and communication overhead by leveraging a coarse-to-fine strategy. Specifically, a novel oblivious filter is used to privately select a candidate set of documents to reduce the scale of subsequent cosine similarity computations. For the lexical retrieval path, to reduce the overhead of repeatedly invoking labeled PSI, we implement a multi-instance labeled PSI protocol to compute term frequencies for BM25 scoring in a single execution. $\texttt{Pisces}$ can also be integrated with existing privacy-preserving LLM inference frameworks to achieve end-to-end privacy. Experiments demonstrate that $\texttt{Pisces}$ achieves retrieval accuracy comparable to the plaintext baselines, within a 1.87% margin.
Cite
Text
Liang et al. "Pisces: Cryptography-Based Private Retrieval-Augmented Generation with Dual-Path Retrieval." International Conference on Learning Representations, 2026.Markdown
[Liang et al. "Pisces: Cryptography-Based Private Retrieval-Augmented Generation with Dual-Path Retrieval." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/liang2026iclr-pisces/)BibTeX
@inproceedings{liang2026iclr-pisces,
title = {{Pisces: Cryptography-Based Private Retrieval-Augmented Generation with Dual-Path Retrieval}},
author = {Liang, Xiaojian and Song, Lushan and Du, Shishuai and Zhu, Weicheng and Faith, Tan Li Hui and Sim, Jun Jie and Jin, Haibing and Wu, Zhenghao and Liu, Yingting and Zhang, Xin and Yang, Jiang-Ming and Duan, Pu},
booktitle = {International Conference on Learning Representations},
year = {2026},
url = {https://mlanthology.org/iclr/2026/liang2026iclr-pisces/}
}