TL;DR
While Large Language Models (LLMs) use conversational memory to provide personalized experiences, this "memory" creates a silent vector for severe privacy leakage. This paper introduces MemoAnalyzer, a proactive browser plugin that uses prompt-based inference to identify and visualize sensitive information hidden within an LLM's short- and long-term memory. By mapping data sensitivity to color and inference confidence to opacity, it empowers users to easily edit or delete lingering private data without sacrificing interaction speed.
What Problem Does This Paper Address?
Modern conversational agents (like ChatGPT) rely on two types of memory to maintain context: short-term memory (the context window) and long-term memory (often powered by Retrieval-Augmented Generation, or RAG). While this prevents you from having to repeat yourself, it happens entirely behind a curtain of opacity.
The authors identify a critical challenge: low user privacy awareness regarding aggregated data. A user might share completely benign, isolated pieces of information across multiple days or chat sessions. However, when the LLM aggregates these past inputs, it can infer highly sensitive personal details—such as health conditions, financial status, or job dissatisfaction—that the user never explicitly disclosed. If this data is later used for model fine-tuning or training, it leaves users vulnerable to privacy leakage and membership inference attacks.
Methods
To tackle this, the authors developed MemoAnalyzer, a pop-up browser plug-in designed to give users proactive control over their data before it is permanently fused into training pipelines.
The system operates via a few core technical components:
- Privacy Inference Engine: Using a one-shot prompting method with GPT-4o, MemoAnalyzer scans the current dialogue history and long-term memories to infer potential sensitive information items, their types, and the system's confidence in those inferences.
- Dual-Attribute Visualization: To prevent cognitive overload, the system uses an intuitive visual mapping system:
- Sensitivity is mapped to color temperature (highly sensitive information appears red, while lower sensitivity appears blue).
- Inference Confidence is mapped to background opacity (clearer, more solid blocks indicate higher confidence).
- Source Tracking & Editing Proxy: When a user clicks a notification, the system expands the view to highlight the exact keywords in the past inputs or memories that triggered the inference. Users can directly edit or delete these source texts via an interactive proxy interface.
Datasets
To evaluate the system in a realistic, multi-day deployment, the authors designed a 5-day study with tasks derived from the ShareGPT90K dataset (a public dataset of real human-AI interactions). They structured these tasks into three common real-world categories:
- Work-related tasks
- Life-related tasks
- Academic/study-related tasks
Key Insights and Ideas
- The Memory Blindspot: In a formative interview study ($N=40$), the authors found a massive cognitive gap. A staggering 30 out of 40 participants were entirely unaware that their long-term interactions were being actively memorized and stored, and 35 had never even clicked their LLM's default memory management settings.
- The Aggregation Danger: Participants easily understood the privacy risk once it was explained, but they consistently failed to realize how separate, innocent prompts could be combined to reveal sensitive insights.
- Proactive vs. Automated Control: While automated privacy filters exist, users explicitly expressed a need for proactive modification permissions. They wanted to choose what to keep (like formatting preferences or research interests) and what to purge (like health or basic personal information).
Key Results
The authors conducted a 5-day in-lab evaluation ($N=36$) comparing MemoAnalyzer against the default ChatGPT memory setting and a manual copy-paste baseline.
- Superior Privacy Protection: When evaluated across three commercial LLMs (GPT-4o, Qwen-72B, and Qwen-7B), MemoAnalyzer demonstrated a marked reduction in total inferred private information. Under GPT-4o, it successfully restricted privacy exposure to just 77.7% of the default GPT baseline.
- No Efficiency Penalty: Remarkably, adding this interactive privacy layer did not slow users down. The total task completion time and privacy management time for MemoAnalyzer were statistically comparable to the default GPT implementation.
- Lower Cognitive Load: According to NASA-TLX subjective ratings, MemoAnalyzer significantly reduced physical and mental demands, frustration, and effort compared to the manual baseline, proving that interactive privacy tools don't have to be cumbersome.
Limitations and Future Work
While promising, the study notes a few limitations:
- Demographic Bias: The user studies were conducted entirely with university students, a demographic that typically possesses higher-than-average tech literacy and might grasp memory mechanisms more easily than the general public.
- Evaluation Window: A 5-day study captures early-stage memory accumulation, but long-term memory risks compound over months or years.
Future research directions include testing MemoAnalyzer in more diverse, real-world environments, exploring its scalability across highly extended usage periods, and refining the collaborative division of labor between human intent and automated AI memory adjustments.
Summary updated