Understanding Users' Privacy Perceptions Towards LLM's RAG-based Memory

Shuning Zhang, Rongjun Ma, Ying Ma, Shixuan Li, Yiqun Xu, Xin Yi, Hewu Li · DOI

Introduction

As Large Language Models (LLMs) evolve from stateless conversational interfaces into personalized assistants equipped with long-term "memory," they introduce a complex new frontier for privacy risks. Modern systems like ChatGPT, Gemini, and Kimi increasingly utilize Retrieval-Augmented Generation (RAG) to retain user information across distinct sessions. While this enables high-level personalization—such as remembering a user's specific coding preferences or personal anecdotes—it also transforms transient interactions into a persistent, searchable record of a user's life. This paper investigates how users perceive these memory features, revealing a significant gap between system functionality and user understanding.

The "Black Box" of AI Memory

The core challenge identified is a "black box" problem: users often lack a clear understanding of how memories are formed, the duration of their storage, or the extent of their influence on future outputs. This opacity creates a fundamental tension between utility (the convenience of a personalized assistant) and privacy (the desire for informational self-determination). Users are forced to navigate a "privacy calculus," weighing the productivity gains of a tailored experience against the risks of data persistence and unintended disclosure.

Methodology

To explore these perceptions, researchers conducted a qualitative study involving semi-structured interviews with 18 participants from diverse academic and professional backgrounds, including engineering, life sciences, and design. The study focused on ChatGPT’s memory feature as a primary case study.

The researchers employed thematic analysis, an iterative process of coding interview transcripts to identify recurring patterns. To ensure the reliability of the findings, two researchers independently coded the data, achieving a high inter-rater agreement with a Cohen’s Kappa of 0.90. The dataset for this study comprised qualitative interview transcripts and user reflections on their own chat histories and memory logs.

Mental Models of RAG-based Memory

The study revealed that users do not hold a monolithic view of AI memory. Instead, their perceptions fall into four distinct mental models:

  1. Transient Buffer: An incorrect assumption that memory only exists within the confines of a single chat session.
  2. Training Data Extension: A common fear that personal chats are directly used to retrain the global model, rather than being stored in a retrieval-based architecture.
  3. Active Processor: A more sophisticated view where the AI is seen as an agent that intelligently curates and summarizes input.
  4. The "Black Box": A total lack of conceptual understanding regarding the underlying mechanisms.

Privacy Calculus and the Fear of Inference

A striking finding was the anxiety surrounding uncontrolled inferences. Users expressed discomfort when the AI "knew" information they had never explicitly shared—such as their profession or location—by identifying patterns across multiple queries.

In performing their "privacy calculus," users demonstrated a willingness to trade sensitive professional context (e.g., specific coding formats) for efficiency. However, they established firm boundaries regarding Personally Identifiable Information (PII), financial data, and unpublished intellectual property.

User Strategies and System Limitations

The research highlighted several issues with current RAG implementations, most notably flawed recall. Participants reported instances where the LLM associated answers with the wrong questions or applied past requirements to unrelated new tasks, leading to "contextual errors."

To mitigate privacy risks, users employ various protective strategies:

  • Strategic Disclosure: Carefully filtering the information they provide to the model.
  • Proactive Obfuscation: Manually erasing or altering sensitive details within the chat.
  • Habitual Resetting: Frequently starting new chat sessions to escape the "memory loop" and prevent the AI from building an overly detailed profile.

Conclusion and Future Directions

The study concludes with an "unequivocal user mandate" for more granular control. Users expressed a desire for negotiated agency—a workflow where they can review, edit, or approve a memory before it becomes permanent. Proposed features include "incognito windows" for memory, "timed deletion" for ephemeral data, and the ability to organize memories into distinct "workspaces" or "personas."

While the study provides critical insights, the authors acknowledge limitations, including a demographic focus on young, highly educated participants in a specific cultural context. Future work should explore "context-aware architectures" and "interface scaffolding" to increase transparency, such as using footnotes to explain why a specific memory was retrieved for a given response.

Summary updated

BibTeX
@misc{zhang2025understanding,
  author = {Shuning Zhang and Rongjun Ma and Ying Ma and Shixuan Li and Yiqun Xu and Xin Yi and Hewu Li},
  title = {{Understanding Users' Privacy Perceptions Towards LLM's RAG-based Memory}},
  year = {2025},
  eprint = {2508.07664},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.07664},
}
Figure