← Lab /AI/ML

DP-KSA achieves strong privacy-utility tradeoff for retrieval-augmented QA

DP-KSA provides differential privacy guarantees while preserving answer quality in RAG systems

AI/ML arXiv 16 Feb 2026 Method Prototype evidence Threat model

Published as “Differentially Private Retrieval-Augmented Generation”

Why it matters

DP-KSA enables deployment of RAG systems that rely on sensitive corpora (e.g., medical or legal documents) while providing formal differential-privacy guarantees and retaining useful QA performance.

Summary

DP-KSA provides differential privacy for retrieval-augmented generation by privately extracting a small set of keywords from an ensemble of LLM responses and using them to prompt the final generation. Empirically it outperforms the strictly private non-RAG baseline at moderate privacy budgets (e.g., ε=3-5) and can even match or exceed non-private keyword-only baselines, with larger models showing the strongest trade-offs. However, at the strongest privacy (ε=1) or with very small models the utility can fall to or below the non-RAG baseline, and Levenshtein similarity drops for the biggest models. The paper evaluates on 100-question subsets of two real-world QA benchmarks using three instruction-tuned LLMs.

What they found 2

  1. At a moderate privacy budget (ε=5) DP-KSA’s ROUGE-1 and ROUGE-L scores are comparable to or exceed those of the non-private keyword-only baseline.

    “DP-KSA achieves ROUGE-1 and ROUGE-L scores at a moderate privacy budget (ε= 5) that are comparable to or exceed those of non-private KSA.”

  2. For Qwen 2.5 (3B) the DP-KSA scores at ε=5 exceed the fully non-private RAG baseline on several metrics.

    “with Qwen 2.5 (3B), the ROUGE-1, ROUGE-L, and Levenshtein similarity scores at ε= 5 exceed those of the nonprivate RAG baseline”

Caveats 5

  • at ε= 1, performance tends to drop below or remain comparable to the non-RAG baseline (ε= 0).
  • The non-RAG baseline (ε= 0), where only the question is given without any retrieved context, outperforms both the non-private KSA and DP-KSA (ε= 3) settings.
  • Interestingly, however, we observe a decline in Levenshtein similarity as model size increases to 32B.
  • Due to practical constraints in computational resources, we follow prior work and use a subset of 100 questions from each dataset.
  • In future work, we will consider a more adaptive scheme for selecting the number of ensembles to further improve privacy-utility tradeoffs across different generator model families and sizes.

What’s new here 4

  • Applies the propose-test-release (PTR) paradigm to privately select frequent keywords from an ensemble of generated responses.
  • Compresses the retrieval context to a low-dimensional keyword subspace before applying differential privacy, avoiding token-level noise.
  • Combines subsample-and-aggregate with PTR to achieve formal (ε,δ)-DP guarantees on the final RAG output.
  • Demonstrates that keyword-only prompts can retain utility comparable to full-document RAG under DP.

Threat model stated by the source

Adversaryquery-only attacker
Capabilitycan send arbitrary prompts to the RAG system and observe the generated response; has access to the public generator model
Assumesthe external database D is private; the generator model F is publicly available