Inferring hidden user models from the behavior of personalized LLM agentsInferring Hidden User Models from the Behavior of Personalized LLM Agents
The authors propose the black-box attack UMPeek, which infers the hidden user model from the visible behavior of a personalized agent; on four benchmarks and three backends, UMR-F1 reaches 0.619, which the authors state is more than six times the strongest baseline.
black-box: the attacker is an external party with whom the agent is supposed to interact (such as a collaborator or service provider), has no account or backend privileges, and only submits ordinary task requests with limited adaptivity through the ordinary interface, observing returned text and visible tool actions; the attacker cannot modify the system prompt, model configuration, tools, retained state, or the state assembly process, and requests cannot ask the agent to reveal memory or hidden state; the attacker only needs to suspect that some decisions are personalized, and need not know the underlying LLM, the personalization pipeline, or auxiliary information about the target user.
- After a personalized LLM agent compresses memory into a hidden user model, the source records and backend state are invisible, and direct memory extraction attacks lose their target; however, the retained information still shapes visible behavior, which the authors argue constitutes a new semantic inference attack surface.
- Proposes the black-box attack UMPeek: constructs behavioral hypotheses from visible choices not specified in the request, collects supporting or contradictory evidence through replay and switching of ordinary tasks, adaptively selects subsequent requests according to task-family scheduling rules, and accepts only semantic claims with sufficient behavioral support and no contradictions.
- On four benchmarks and three backends, UMR-F1 is 0.619, which the authors state is more than six times the strongest baseline of 0.100; on three managed services, the macro-average UMR-F1 is 0.500; recovery remains under response-level defenses, and Stateful Counterfactual further lowers recovery but also lowers task utility.
- The paper has no dedicated limitations section. Experimental coverage: benchmarks use a single downstream model, Qwen3-14B; real-world validation has only 20 confirmed-retained targets per service and 25 for OpenClaw; real-world scores are conditional on retention and do not estimate the exposure rate of all stored information.
- Evaluated models
- Qwen3-14B
- Benchmarks
- PersonaMem-v2PersonaLensETAPPLoCoMoGoogle Vertex AI Memory BankAWS Bedrock AgentCore MemoryMem0 PlatformOpenClaw
- Metrics
- UMR-F1HBPSChoice F1TaskScore
Researchers propose UMPeek, a black-box attack against personalized LLM agents that, through hypothesis-guided adaptive probing, infers the agent's hidden user model from its personalized behavior. The attack forms hypotheses from the optional choices left by a request, switches between ordinary follow-up tasks, and retains only inferences supported by visible behavior and not refuted, recovering private information in them even when the source records and backend state are inaccessible. The authors compare it with existing attacks on a benchmark covering multiple personalized tasks and user-model backends, validate the retained information in real systems, and also evaluate defenses against adaptive probing. The authors' evaluation shows that UMPeek outperforms existing attacks in both benchmark and real-system comparisons, and can still recover user information under response-level defenses, indicating that as long as retained information affects visible behavior, making records and backend state inaccessible alone cannot guarantee semantic privacy.
Paper analysis
What problem does this paper attempt to solve?
The authors argue that although the hidden user model blocks direct memory extraction, it can still be semantically inferred through personalized behavior, and they propose the black-box attack UMPeek.
Core question: when a personalized agent compresses memory into a hidden "user model" and both the source records and the backend state are invisible, can an attacker infer the retained user private information from visible behavior alone.
- Problem setting: personalized LLM agents increasingly turn history into compressed or structured user models (such as typed profiles or learned embeddings) to guide subsequent decisions. Once the source wording is removed from state reachable through the ordinary interface, such designs are often considered more privacy-protective, because direct memory extraction attacks lose their target text.
- Shortcomings of existing methods: the authors state that existing extraction attacks target text stored in the model or memory components, not information retained in the user model after transformation; for example, on LongMemEval, key-fact summaries reduce exact extraction of injected canaries by 64 to 76% while retaining almost all personalization recall (introduction cites [26]).
- Core observation: personalization itself requires retained information to shape subsequent responses or tool actions, and an external observer can treat these choices as evidence of what the user model retained, without accessing source records, accounts, or the backend. The difficulty is that a choice may also be caused by the request, local context, or general model behavior, requiring additional tasks to distinguish competing explanations.
- Paper proposal: UMPeek, a black-box attack based on hypothesis-guided adaptive probing; evaluated on four benchmarks, three backends, real systems, and three defenses.
- Threat model (Section 2.2):
- Goal: return a semantic estimate Ŝ(u, x) for the target domain x, i.e., readable claims about the user that must be bound to visible choices; one correctly attributed claim constitutes a leak.
- Knowledge: knows only public task and interface descriptions, and only needs to suspect that some decisions are personalized; does not know the underlying LLM, hidden prompts, personalization pipeline, backend representations, or source records, and has no auxiliary information about the target user.
- Capabilities: submits limited, adaptive ordinary task requests through the ordinary interface (cannot ask to reveal memory or hidden state), observes returned text and visible tool actions; may process observations offline with public models.
- Victim system: a personalized agent that communicates with collaborators or service providers on behalf of the user; the attacker cannot modify the system prompt, model configuration, tools, retained state, or the state assembly process.
What related research exists?
Related work falls into four groups: persistent personalization, direct extraction and adversarial manipulation, inferring users from behavior, and agent privacy evaluation and defenses.
Personalization and persistent user state
- Personalized systems turn history into profiles, embeddings, compressed context, or structured memory for subsequent decisions ([6], [10], [12], [13], [15], [16], [17], [21], [47], [61]); for example, UEM compresses records into soft-prompt embeddings, a USER-LLM Perceiver variant compresses embeddings of 50 user events into 16 embedding tokens, and PPlug synthesizes history into a single personal embedding.
- An audit of ChatGPT memory found personal and inferred attributes, and persona skills turn history into portable artifacts that bring disclosure and impersonation risks ([62], [63]); key-fact summaries can reduce direct canary extraction ([26]).
- Paper positioning: UMPeek does not ask what text is stored in history or derived state, but asks how much of the retained meaning can still be inferred when history and derived state are inaccessible.
Direct extraction and adversarial manipulation
- Black-box attacks recover training samples, agent memory, retrieved content or membership, and hidden prompts ([27]–[32], [54]); recent work induces contextual memory or exfiltrates isolated records through malicious tools ([64], [65]); exposed embeddings and internal states can be inverted ([66], [67]); other attacks manipulate tool actions through adversarial inputs ([55], [56]).
- Paper positioning: UMPeek neither accesses backend state nor controls tools, but infers semantic user information from ordinary visible behavior.
Inferring users from personalized behavior
- Model and attribute inversion infer users from predictions, activity, recommendations, supplied text, or public traces ([33], [34], [39], [41], [57], [68]–[71]); recent work audits assistant profiles, recovers private negotiation constraints from interaction dynamics, and infers user traits from agent network metadata ([72]–[74]).
- Paper positioning: UMPeek adaptively tests open-ended explanations of inaccessible personalized state through task-dependent choices.
Agent privacy evaluation and defenses
- Agent audits check improper use, acquisition, or disclosure of private information in task contexts ([75]–[82]); CMPL exposes failures missed by single-turn audits using adaptive dialogue, and compositional privacy studies leakage accumulated across responses ([40], [83]).
- Defenses: PrivacyChecker filters context information flow, SP-Mem separates sensitive values from sanitized memory, and RootGuard protects dependent releases by one-time sanitization of source values ([60], [84], [85]). The paper states that these works protect or audit usable private data, whereas UMPeek studies information implied by personalized decisions, including information that was never stated.
Baselines and benchmarks: the comparison attacks are seven: ADAM, LLM-PBE, PLeak, IPI, Imprompter, AttrInf, and PIE; the benchmarks are PersonaMem-v2, PersonaLens, ETAPP, and LoCoMo; the defense comparisons are PrivacyChecker, the Theory-of-Mind defense, and this paper's Stateful Counterfactual Exposure Control.
How does the paper address this problem?
UMPeek turns visible choices into behavioral hypotheses, collects discriminative evidence using replay and task switching, and accepts only claims that are supported and uncontradicted.
Overall approach: the attack is formalized as black-box recovery of hidden user model information from personalized behavior, and UMPeek centers on a "hypothesis-guided adaptive probing" loop—proposing semantic hypotheses from visible choices not specified by the request, then testing them with ordinary follow-up tasks, keeping only claims that are behaviorally supported and uncontradicted.
Problem formalization (Section 2)
- The system maintains or assembles a hidden user model Su for the same user u; for domain x, S(u, x) is the information in it usable for decisions in that domain; for each request q, the system assembles a request-conditioned state C(u, x, q), and the agent produces visible behavior o according to p(o | q, C(u, x, q)) (a natural-language answer or a user-visible tool action).
- The attack observes only behavior exposed through the ordinary interface and returns a semantic estimate Ŝ(u, x): readable user claims bound to visible choices, rather than backend fields, graph structures, or embedding coordinates.
- Success is judged by attribution rather than likelihood: a claim scores only if it matches the hidden state and is bound to the behavior from which it was inferred; recovery may be partial, and one correctly attributed claim counts as a leak.
Constructing behavioral hypotheses (Section 3.1)
- First define a small number of "decision dimensions" from public task and interface descriptions (observable decision surfaces the user can influence), defined before inspecting target behavior and without touching target user records; each dimension is paired with a claim template whose value is left blank.
- If the request already fixes a value for a dimension, that value in the response is not evidence of user information; a candidate claim is formed only when the request leaves it blank and the response or action gives a specific value (a recommended or excluded option, a selected tool, a parameter filled into an action), with the source interaction (qi, oi) attached.
- Proposals lacking an "open dimension → visible decision" chain are discarded, including task restatements, boilerplate, surface style, generic advice, and unused interface options.
Adaptively testing hypotheses (Section 3.2)
- Two kinds of follow-up requests: replay tests whether a candidate choice recurs in another realization of the same target; task switching tests whether the explanation still predicts compatible behavior outside the context in which it was first proposed.
- Requests are selected from a fixed pool of public task forms according to task-family scheduling rules: requests that can elicit specific choices for multiple unresolved dimensions, or distinguish competing values, are preferred; the rule only schedules evidence collection, is not fitted to the target user, and the authors state it is also not proposed as an optimal information-gain objective.
- Each return updates the unresolved status of each dimension, and two targets sharing a request pool may follow different request sequences; B is the maximum number of follow-up requests, m ≤ B, and the process stops early when no available request form can add a discriminative choice.
Selective recovery (Section 3.3)
- Hypotheses are first mapped to a canonical semantic form defined by decision dimension and value, with synonymous surface forms merged and source interactions kept separate, so that repeated wording within the same response is not treated as independent evidence.
- Evidence roles: direct support (the response explicitly links user information to a choice, or the executed action provides the value), cross-request support (another blank interaction produces a compatible choice), contradiction (a comparable open interaction makes a choice that the candidate claim would exclude); omission provides no evidence, and a request fixing other values does not count as a valid contradiction.
- Acceptance rule: a claim must be bound to at least one specific visible choice and have no contradictory behavior in the execution sequence; implicit claims proposed by recommendations must also survive replay or explain compatible choices under changed task conditions. When mutually exclusive explanations cannot be distinguished, all remain unresolved and do not enter Ŝ(u, x).
Evaluation method (Section 4)
- Metrics: UMR-F1 uses deterministic category-aware lexical rules for one-to-one matching (requiring category compatibility, normalized spelling and morphology, and accepting exact match, normalized containment, or token overlap of at least 0.72), without LLMs or embedding models; HBPS measures whether recovered claims predict reference behavior on three unseen tasks.
- Real-world validation additionally uses Choice F1 (whether recovered claims identify the option chosen by the service); defense evaluation adds TaskScore (the original task metric for each benchmark).
What experiments did the paper conduct?
UMR-F1 0.619 versus 0.100 for the strongest baseline across four benchmarks and three backends; both real-system and defense experiments verify residual exposure of the behavioral channel.
Experimental setup
- Systems under test: benchmark and defense experiments use the same agent connected to three personalization backends—Mem0, Graphiti, and LangMem+LangGraph—with the downstream model fixed to Qwen3-14B (vLLM serving, non-thinking mode, greedy decoding); real-world validation covers three managed services, Google Vertex AI Memory Bank, AWS Bedrock AgentCore Memory, and Mem0 Platform, and the end-to-end personal agent OpenClaw, where Google and Mem0 use Gemini 2.5 Flash-Lite to produce visible behavior and AWS uses Amazon Nova 2 Lite (Appendix C).
- Benchmarks and scale: PersonaMem-v2 has 5,000 multiple-choice interactions (200 personas), PersonaLens has 5,000 task-based interactions (79 users), ETAPP has 4,800 tool cases, and LoCoMo has 1,523 questions; in total 16,323 per backend and 48,969 target-backend interactions overall; UMR-F1 is computed on the 48,941 evaluations with at least one reference claim, and HBPS uses all 48,969.
- Baselines: seven attacks—ADAM, LLM-PBE, PLeak, IPI, Imprompter, AttrInf, and PIE—instantiated with their published request strategies under the same black-box access and request limits, with only the final statements converted to a unified semantic claim format.
- Evaluation method: a deterministic lexical matcher (token overlap threshold 0.72; for real-world validation, at least two shared content words and overlap of 0.60 or higher), with no LLM or embedding model involved in scoring.
- Budget and repetition: benchmark and defense experiments allow at most 16 follow-up requests per method; the managed-service comparison allows at most 3 total requests per target; intervals use bootstrap clustered by user or conversation (Table 1, Table 4), and mechanism and ablation use normal approximation on a fixed balanced subset.
- Real-world samples: 20 confirmed-retained targets per service (retention is tested first, and the attacker does not know the retention result), and OpenClaw retains 28 claims from 50 agents and 206 candidate claims, taking one each from 25 personas, for 25 targets in total.
Main results
According to Table 1 (aggregated over four benchmarks × three backends; 95% clustered bootstrap confidence intervals in parentheses):
Method UMR-F1 HBPS UMPeek 0.619 [0.614, 0.623] 0.289 [0.285, 0.292] ADAM 0.002 [0.002, 0.003] 0.003 [0.003, 0.004] LLM-PBE 0.018 [0.016, 0.020] 0.051 [0.049, 0.052] PLeak 0.001 [0.000, 0.001] 0.000 [0.000, 0.001] IPI 0.051 [0.049, 0.053] 0.068 [0.066, 0.069] Imprompter 0.053 [0.051, 0.055] 0.084 [0.081, 0.087] AttrInf 0.100 [0.098, 0.102] 0.144 [0.141, 0.147] PIE 0.100 [0.098, 0.102] 0.147 [0.144, 0.150] - The authors state that UMPeek's semantic recovery score exceeds that of the strongest comparison attack sixfold, and that it leads in every benchmark-backend setting (abstract, Table 2); the authors argue that leading jointly shows that recovered claims are behaviorally relevant rather than merely similar to the reference wording.
- The authors explain: extraction-style baselines have no readable object to recover, and attribute-inference-style baselines can propose plausible user descriptions but cannot attribute them to personalization-dependent choices.
- According to Table 2, UMPeek's UMR-F1 across all twelve benchmark-backend combinations ranges from 0.467 (Mem0 × PersonaMem-v2) to 0.817 (Graphiti × LoCoMo), and the backend ordering varies with the benchmark; the authors accordingly state that the attack surface is not tied to a single storage or retrieval organization. LoCoMo has higher UMR-F1 than ETAPP but lower HBPS, and the authors state that semantic recovery and behavioral effect are complementary rather than interchangeable success measures.
Adaptive request selection and ablation
- According to Figure 1 (balanced subset of 3,072 targets): initial responses contribute almost no correct recovery, and public interface information adds only a small increase; selected follow-up responses raise UMR-F1 to 0.606, and the acceptance rule yields a final UMR-F1 of 0.651 and claim precision of 0.634. The authors accordingly state that the main source of evidence is behavior accumulated across selected tasks.
- According to Table 3: full UMPeek and the fixed sequence both use about 15 follow-up requests, with UMR-F1 of 0.651 and 0.281 respectively; the authors state that the gap is explained by informative task selection rather than asking more questions. Removing the acceptance rule drops it to 0.606 (the loss is concentrated in claim precision, from 0.634 to 0.550); removing the public description or the initial visible tool evidence has almost no effect (both 0.648); using only the initial response text gives 0.003.
Real-world validation
- According to Section 6.2 and Figure 2: UMPeek achieves the highest observed UMR-F1 on each managed service, with a macro average of 0.500 versus 0.180 for the strongest comparison method; macro precision and recall are both balanced at 0.500, whereas Imprompter has recall 0.450 and precision only 0.113. The authors state that this supports the transferability of behavioral recovery to independently implemented systems.
- Choice prediction is a different capability: on AWS AgentCore, UMPeek and Imprompter have almost the same Choice F1, but UMPeek's UMR-F1 is two and a half times higher; the authors state that being able to predict visible options is not the same as identifying the hidden user information that explains the choice. Figure 3 shows that the gap is driven mainly by precision on Google and AWS, and that both precision and recall improve on Mem0; the confidence intervals separate UMPeek from the comparison methods on AWS and Mem0, and overlap on Google.
- According to Figure 4: UMPeek achieves the highest observed UMR-F1 within three requests on all three services, and no method achieves higher recovery with the same or fewer requests; the authors state that this rules out a larger request budget as the explanation for the lead. Each selected OpenClaw target already contains a visible choice matching the retained preference in the first interaction, which the authors state shows that accumulation across requests is not always necessary, but its selection conditional on retention does not estimate the exposure of all of OpenClaw's stored information.
Adaptive defenses
- According to Table 4 (128 targets per benchmark-backend, at most 16 follow-up requests): the two response-level defenses leave substantial exposure (e.g., the Theory-of-Mind defense on PersonaLens has UMR-F1 0.631), and Stateful Counterfactual further lowers macro-average UMR-F1 to 0.187; the authors state that screening outputs one by one cannot close a channel assembled from multiple responses.
- However, Stateful Counterfactual is not best on all metrics: it has the lowest macro UMR-F1, but it does not have the lowest HBPS or the highest TaskScore on every benchmark (e.g., TaskScore 0.482 on PersonaMem-v2, below PrivacyChecker's 0.664 and Theory-of-Mind's 0.682). The authors state that the three results must be evaluated separately.
- According to Figure 6(b): after 16 follow-up requests, recovery under PrivacyChecker and the Theory-of-Mind defense reaches about 65% and 90% of the undefended level respectively; the authors state that looking only at initial responses would overestimate their resistance to adaptive attackers. According to Table 5: removing cross-request tracking barely changes semantic recovery, HBPS, or TaskScore, whereas removing counterfactual comparison raises UMR-F1 and lowers TaskScore on every benchmark (macro UMR-F1 rises from 0.179 to 0.242); the authors state that counterfactual comparison is the active ingredient on this subset.
Other ablations and analyses
- No follow-up requests (including public/interface evidence): UMR-F1 0.153, claim precision 0.328 (Table 3).
- No initial visible tool evidence: UMR-F1 0.648 (Table 3).
- No public task or tool description: UMR-F1 0.648 (Table 3).
- Stateful Counterfactual threshold variation (Figure 6(a), 32 targets per setting, thresholds 0.5/1.0/1.5): relaxing release raises TaskScore on all four benchmarks and raises UMR-F1 on three of them; the authors state that none of the tested thresholds both eliminates recovery and matches undefended task performance.
What are some points that can be further explored?
The paper has no dedicated limitations section; the experiments cover a single benchmark downstream model, small-scale real-world targets, and three inference-time defenses.
Limitations and future directions noted by the authors
- The paper does not have a dedicated Limitations section and does not list shortcomings under the wording "limitations"; the following two items are open questions the authors explicitly point out in the discussion and conclusion.
- The authors state that the defense results expose a utility tension: reducing the behavioral effect of retained information can reduce recovery, but may also remove useful personalization; the conclusion proposes that protecting personalized agents requires interaction-level control, preserving the adaptation provided by repeated personalization-dependent choices while limiting what they leak (Section 9).
- The authors state that the relevant goal is not merely sanitizing text, but limiting how confidently a sequence of released choices can be attributed to retained user information, while preserving the choices the task requires; the three results UMR-F1, HBPS, and TaskScore expose these three requirements (Section 7).
Experimental coverage
- The downstream model for the benchmark and defense experiments is fixed to a single Qwen3-14B (non-thinking mode, greedy decoding, Section 4); the real-world hosted services use Gemini 2.5 Flash-Lite (Google, Mem0) and Amazon Nova 2 Lite (AWS) to produce visible behavior (Appendix C).
- The benchmarks are four: PersonaMem-v2, PersonaLens, ETAPP, LoCoMo; the backends are three: Mem0, Graphiti, LangMem+LangGraph; a total of 48,969 target-backend interactions (Section 4).
- The real-world validation sample size is small: 20 confirmed retained targets per hosted service, 25 targets for OpenClaw (one retention statement per persona); scores are conditioned on retention and do not estimate the retention rate or the recovery rate over all source statements (Section 6.1, Appendix C).
- The defense evaluation covers three inference-time defenses (PrivacyChecker, Theory-of-Mind, Stateful Counterfactual), with at most 16 follow-up requests and 128 targets per benchmark-backend (Section 7, Appendix D).
- The paper does not report the specific auxiliary model the attacker uses for offline processing of observations (Section 2.2 only says publicly available models can be used); real-world results were collected in August 2026 (Appendix C).
Summarize the main content of the paper
UMPeek recovers hidden user model information from visible behavioral semantics; benchmarks, real systems, and defense experiments all show exposure of the behavioral channel.
An attack paper on the privacy of personalized agents: when memory is compressed into a hidden user model and the source records and backend state are invisible, the authors argue that retained information still leaks through personalized choices.
- Problem: direct memory extraction attacks lose their target because the source wording has been removed, and user models are often considered more privacy-protective; the authors argue that as long as retained information continues to shape visible behavior, an external party can infer it through ordinary requests.
- Method: UMPeek uses hypothesis-guided adaptive probing—constructing behavioral hypotheses from visible choices not specified by the request, testing within-task persistence with replay and cross-context explanatory power with task switching, scheduling subsequent requests according to evidence status, and accepting only semantic claims with sufficient behavioral support and no contradictions; it is black-box throughout and does not access or decode backend representations.
- Main results: on the four benchmarks PersonaMem-v2, PersonaLens, ETAPP, and LoCoMo and the three backends Mem0, Graphiti, and LangMem+LangGraph, UMR-F1 is 0.619 and HBPS is 0.289, while the strongest baselines are 0.100 and 0.147 respectively (Table 1); the authors state that the semantic recovery score exceeds the strongest comparison attack sixfold, and that non-zero recovery is maintained across all twelve benchmark-backend combinations (0.467–0.817, Table 2).
- Mechanism evidence: on the balanced subset, full UMPeek and the fixed sequence both use about 15 follow-up requests, with UMR-F1 of 0.651 and 0.281 respectively (Table 3); the authors state that the advantage comes from hypothesis-guided request selection rather than query volume.
- Real world: on 20 confirmed-retained targets each for Google Memory Bank, AWS AgentCore, and Mem0 Platform, UMPeek's macro-average UMR-F1 is 0.500 versus 0.180 for the strongest comparison method, and it achieves the highest observed recovery for each service within three requests.
- Defenses: response-level defenses (PrivacyChecker, Theory-of-Mind) leave recovery at about 65% and 90% of the undefended level after 16 follow-up requests; Stateful Counterfactual lowers macro UMR-F1 to 0.187 but reduces personalized task utility, which the authors state exposes a three-way tension between privacy and utility and requires interaction-level control.