Private Retrieval Augmented Generation via Random Projection

Dixi Yao, Tahseen Rabbani, Tian Li
10/15/2026
cs.AIcs.CR
rag

No confident code implementation found for this paper.

Abstract

Retrieval-Augmented Generation (RAG) enhances the capabilities of large language models (LLMs) by querying external structured knowledge. However, it can also introduce privacy risks by leaking sensitive information from the retrieval datastore.

Show full abstract

We propose a simple method to preserve datastore privacy in RAG systems via random projection. By applying the same projection to both datastore embeddings and query embeddings, our method provably preserves semantic similarity between queries and retrieved items while substantially mitigating data extraction attacks. Across multiple RAG architectures and datasets, we show that this lightweight approach achieves superior retrieval and generation performance compared to prior methods which leverage formal differential privacy (DP) guarantees, while exhibiting comparable empirical privacy under strong attack models. Our results for the first time suggest that random projection can serve as a competitive and practical baseline for privacy-preserving RAG systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yao2026private,
  title  = {Private Retrieval Augmented Generation via Random Projection},
  author = {Dixi Yao and Tahseen Rabbani and Tian Li},
  year   = {2026},
  eprint = {2610.22297},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.22297v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.22297.svg)](https://codeofpaper.com/paper/2610.22297)

Discussion