TL;DR
Personalized LLM agents often compress user histories into hidden "user models" to protect privacy and improve efficiency, but this paper reveals that hiding the raw text is not enough. The authors introduce UMPeek, a black-box attack that reconstructs these hidden user profiles solely by observing an agent's choices across adaptively selected tasks. UMPeek drastically outperforms existing extraction attacks and successfully bypasses standard response-level privacy defenses, highlighting a fundamental tension between personalization and privacy.
What Problem Does This Paper Address?
When LLM agents interact with users over time, they need to remember user preferences, goals, and constraints. To avoid bloating prompts with massive chat histories, modern agents compress this information into compact, structured states or embeddings—collectively called user models.
Because these user models strip away the exact wording of the original text, developers often assume they inherently protect user privacy against direct memory-extraction attacks. This paper challenges that assumption. The authors address a critical security gap: even if an attacker cannot access the backend state or the raw history, they can still infer sensitive user traits simply by observing the behavior and choices the agent makes during ordinary interactions. If an agent consistently steers decisions based on a hidden preference, its visible behavior inevitably leaks that preference.
Methods
The authors propose UMPeek, a black-box attack based on hypothesis-guided adaptive probing. Instead of trying to extract verbatim text, UMPeek infers semantic claims about the user through a three-stage loop:
- Constructing Behavioral Hypotheses: The attack identifies "decision dimensions" left open by a prompt (e.g., a restaurant recommendation request that doesn't specify dietary restrictions). If the agent makes a concrete choice (e.g., recommending only vegetarian options), UMPeek generates a semantic hypothesis (e.g., "The user is vegetarian").
- Adaptively Testing Hypotheses: To rule out coincidences or local context, UMPeek dynamically selects follow-up tasks. It replays the task to check for persistence and switches to entirely different tasks (e.g., asking the agent to arrange catering) to see if the hypothesis holds true in new contexts.
- Selective Recovery: UMPeek applies a discrete evidence rule, accepting only the semantic claims that accumulate strong behavioral support across the interaction sequence and face zero contradictions.
Because UMPeek operates entirely through the standard user interface, it requires no knowledge of the underlying LLM, system prompts, or backend architecture.
Datasets
The attack was evaluated across four diverse personalization benchmarks containing a total of 16,323 interactions:
- PersonaMem-v2: Multiple-choice interactions capturing implicit persona preferences.
- PersonaLens: Task-oriented interactions across distinct user profiles.
- ETAPP: Tool-use scenarios where personalization dictates tool selection and arguments.
- LoCoMo: Question-answering grounded in long, multi-session conversations.
To prove real-world viability, the authors also validated UMPeek on four independently implemented commercial and open-source platforms: Google Vertex AI Memory Bank, AWS Bedrock AgentCore Memory, Mem0 Platform, and the OpenClaw personal agent.
Key Insights and Ideas
- Semantic Privacy vs. Record Confidentiality: Stripping out raw text or canaries from an agent's memory prevents extraction, but it does not guarantee semantic privacy. Information that actively shapes behavior remains vulnerable to inference.
- The Power of Sequential Disambiguation: A single response from an LLM is often ambiguous—a choice could be driven by general model bias or local context. However, by strategically changing the task conditions, an attacker can systematically isolate the exact underlying user trait.
- The Personalization-Privacy Paradox: Standard response-level defenses (like filtering out sensitive words) fail because the leak happens at the decision level, not the surface-text level. Stronger stateful defenses that successfully mitigate the attack do so by suppressing the personalization itself, severely degrading the agent's utility.
Key Results
In pooled benchmark evaluations against seven baseline attacks, UMPeek demonstrated a massive performance leap:
- Semantic Recovery: UMPeek achieved a 0.619 User-Model Recovery F1 (UMR-F1) score, more than six times higher than the strongest baseline attacks (AttrInf and PIE at 0.100), which were not designed for adaptive behavioral tracking.
- Ablation Performance: Replacing UMPeek's adaptive task selection with a fixed sequence of requests caused the UMR-F1 score to plummet from 0.651 to 0.281, proving that smart, evidence-driven probing is the core driver of the attack's success.
- Real-World Validation: On live managed cloud services (Google, AWS, and Mem0), UMPeek successfully recovered hidden user traits within just three requests, achieving a macro UMR-F1 of 0.500.
Limitations and Future Work
While highly effective, UMPeek relies on predefined "decision dimensions" tailored to the specific task family being probed. If an agent possesses a hidden user model trait that never maps to an observable decision dimension within the supported interface, UMPeek cannot detect it. Additionally, the attack's reliance on multiple sequential queries (up to 16 in benchmark settings) might trigger rate limits or anomaly detection in highly monitored production environments.
The authors suggest that future defense research must move away from simple text-filtering and focus on developing interaction-level controls. The goal will be to design systems that bound how much information a sequence of personalized choices can collectively leak, without destroying the helpfulness of the agent.
Summary updated