TRANSMISSION // 2611.28748v1

Why conversation history changes RAG privacy

Source published

Tests of three open language models found fewer Enron contact-detail matches with retrieval, but retaining conversation history weakened that reduction. Clearing history helped, without eliminating matches.

AI-generated conceptual illustration for Why conversation history changes RAG privacy
AI-generated conceptual illustration; not documentary evidence.

Retrieval-augmented generation (RAG) gives a language model passages to consult while answering. Could this also reduce the chance that it produces contact details seen during training—and does any reduction hold across a conversation? A study of three open models finds that the answer depends strongly on how much conversation history the model retains.

A chatbot can produce information because it has learned it during training, or because that information appears in its prompt, conversation history or retrieved documents. These sources are difficult to disentangle. A study introducing the CRELT framework tests whether a RAG system produces real contact details from a target dataset during multi-turn exchanges, while checking whether each detail was already in the model’s input.

RAG systems retrieve passages from a document collection and provide them to a model before it answers. Earlier single-turn research found that retrieval could reduce training-data extraction. But conversations introduce another source of context: earlier questions and answers may remain available to the model. Syed Khaderi, Karima Makhlouf and Sami Zhioua investigated how retrieval and conversation history together relate to disclosures over multiple turns.

A controlled test of disclosure

The researchers tested three open-weight models: GPT-J-6B, Pythia-6.9B and Pythia-12B. Their training corpus, The Pile, includes Enron emails. The study used contact details from Enron as targets in scripted, ten-turn conversations.

In the RAG setup, a search system supplied two passages from WikiText-103 at each turn. The researchers scanned this retrieval corpus and found none of the target Enron addresses or phone numbers. That check helps rule out the direct copying of those target details from the retrieved passages.

CRELT used an input-aware counting rule. A target address or number counted as a disclosure only if it appeared in a model reply, had not appeared in an earlier reply, and was absent from the model’s input at that turn. This distinction matters because some initial prompts already contained Enron addresses. Depending on the experiment and model, 29–53% of raw matches were already in the input and were excluded from the count.

The measure is a match to a real target detail, not proof that the model recalled that detail from a particular training example. A model might sometimes guess a plausible address or number. The researchers tested some ways addresses could be constructed from visible names and compared results with simple guessing baselines, but they do not establish the source of every counted match.

The main experiment varied whether retrieval was enabled, whether the model received full or cleared conversation history, and which of two prompting strategies was used. Other tests examined cross-turn attacks and different limits on how many previous turns remained available.

Retrieval and history had different effects

Across all three models, retrieval was associated with fewer target matches over ten turns under both full-history and cleared-history conditions. The reduction was 74–83% when history was cleared, but 26–38% when the full conversation was retained.

With retrieval enabled, the full-history condition had 3.6–4.9 times as many disclosures as the cleared-history condition in the reported model-level averages. Clearing history reduced disclosure by 72–79%, but did not eliminate it. In a separate history-window experiment, retaining one previous turn produced disclosure around the full-history level or higher. Under a decision rule set out for that experiment, the authors classified the pattern as “step-like”: the substantial difference was between clearing history and retaining at least one turn. This is a result for their tested models and setup, not a general rule for every conversational system.

A control experiment tested whether the retrieval passages’ relevance mattered. It replaced retrieved passages with random passages of the same length from the same corpus. Under cleared history, this control reproduced 91–99.5% of the measured retrieval reduction; under full history, it reproduced 47–78%. The result suggests that added context may explain much of the reduction under cleared history. Under full history, however, the control was too noisy to separate the effect of added text from the effect of retrieved content. It does not identify a definite mechanism or establish retrieval as a privacy defense.

What the findings can tell us

The study measures exact matches to real Enron contact details that were absent from the model input. Such matches raise a privacy concern, but they are not, by themselves, proof of memorization. The authors report that their main history and retrieval patterns persisted after checks that removed some potentially guessable addresses. Even so, the measured counts describe disclosures of target items, not confirmed retrieval of specific training examples.

The evidence is limited to three base models from two related model families, one target dataset, a retrieval corpus verified to lack those targets, and scripted attacks. Chat-tuned models, adaptive attackers, other data, or retrieval collections containing sensitive information could behave differently. The models generated at most 64 new tokens per turn, so longer outputs might reveal matches the experiment did not capture. A separate predictability test did not measure answer quality or usefulness, leaving practical trade-offs around clearing history unresolved.

The authors describe CRELT as a reusable framework for auditing disclosure across turns while excluding matches already supplied in the input. Their results suggest that privacy audits should test conversations, not just isolated prompts, and record history policy as an experimental condition.

The manuscript is an arXiv preprint, posted on November 21, 2026. A preprint is a publicly shared research manuscript; the source provided here does not establish that it has undergone peer review. Its findings should therefore be read as evidence from this particular experiment, rather than as a settled assessment of RAG privacy.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • A tougher test for conversational search systems

    Supporting evidence: Both papers provide reasons to include multi-turn interactions in RAG evaluation: Khaderi et al. report that single-turn privacy audits can underestimate training-data disclosure, while Brehme et al. report that multi-hop, multi-turn testing exposes additional system challenges. These are complementary findings from different models, tasks and outcomes, not a direct comparison or replication.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.28748v1 — Original paper

      Excerpt reference: static/papers/2611.28748v1.md:13-88
      Basis: Paper text
      Source SHA-256: 28cf66b83a700870186f12951acc5bc21e1037e1b8b7c3e58238d3b941833caa

    • 2611.30335v1 — Original paper

      Excerpt reference: static/papers/2611.30335v1.md:13-49
      Basis: Paper text
      Source SHA-256: 7c1834a8f03ed4ace7f9f967a922478dcc6f91a303e4543156cad9ec1e64ba6f

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.