Abstract
Large Language Models (LLMs) increasingly utilize long-term memory features, such as Retrieval-Augmented Generation (RAG), to personalize user experiences. However, this persistence introduces significant privacy risks through data aggregation and the opaque inference of sensitive personal details. We present MemoAnalyzer, a proactive system designed to identify and visualize private information inferred by LLMs. By mapping inference confidence to visual cues and providing direct links to source data, MemoAnalyzer empowers users to modify or delete "ghosts of the past" before they become permanent privacy risks. Our evaluation demonstrates that MemoAnalyzer significantly reduces privacy leakage without compromising task efficiency, while simultaneously increasing user trust through transparency.
Introduction
As LLMs move beyond single-turn chats to implement persistent memory, they store past inputs to provide better context and personalization. This evolution creates a significant privacy gap characterized by three main issues:
- Aggregation Risk: Models can aggregate harmless data from multiple sessions to infer highly sensitive personal details (e.g., combining work stress discussions with medical queries to infer a specific health condition).
- Opacity: Users are generally unaware of what the model "remembers" or how it constructs a user profile.
- Lack of Control: Current privacy controls are often buried in settings or require tedious manual deletion of history.
Methodology: The MemoAnalyzer System
The researchers developed MemoAnalyzer, a browser plug-in that acts as an intermediary between the user and the LLM. The system utilizes a one-shot prompting method (GPT-4o) to analyze interactions and stored memory in real-time.
To reduce cognitive load, the system employs a hierarchical visualization strategy:
- Color Temperature: Red highlights indicate high sensitivity, while blue indicates lower sensitivity.
- Opacity: The transparency of the highlight corresponds to the model's inference confidence.
- Proactive Interaction: After each interaction, the system provides a pop-up notification. Users can click an inferred item to trace it back to the "source" text in their history and modify it immediately.
Evaluation
The system was evaluated using a 5-day in-lab study with 36 participants. To ensure the evaluation mirrored real-world scenarios, tasks were designed based on the ShareGPT90K dataset, covering work, life, and academic-related interactions.
Key Results
- Privacy Protection: MemoAnalyzer significantly reduced the amount of private information the model could infer. Users were able to reduce inferred private data to 77.7% of the GPT baseline and 95.4% of the manual baseline.
- Efficiency: Despite the added layer of privacy management, there was no significant difference in total task completion time compared to standard GPT usage after the first day of habituation.
- User Perception: The system scored significantly higher than manual settings in usability, perceived control, transparency, and effectiveness. Interestingly, visualizing the memory mechanism increased user trust by providing a sense of agency.
Discussion and Conclusion
A key insight from the study was the "Aha!" moment of inference: participants were often more shocked by what the model inferred than what they had explicitly said. MemoAnalyzer succeeds because it is proactive—it interrupts the workflow just enough to trigger awareness without compromising speed.
Future work will address limitations regarding demographic diversity, the potential for "privacy fatigue" over long-term use, and the reliance on self-policing LLMs to identify risks. Integrating these transparency layers directly into native LLM APIs remains a primary goal for scaling these protections.
Summary updated