TL;DR
This paper introduces PersonaTrail, a novel benchmark designed to evaluate how well LLM-based web agents can personalize their actions using raw, fine-grained browser history. To help agents tackle these personalized tasks, the authors also develop PACMem (Preference-Aware Contextual Memory), a framework that structures messy browsing logs into a clean, two-level hierarchy of factual and behavioral memories, significantly outperforming existing agent memory baselines.
What Problem Does This Paper Address?
While large language model (LLM) web agents have gotten remarkably good at executing explicit instructions (e.g., "Buy a green shirt on Amazon"), real human interactions are rarely that well-specified. In practice, users give vague, context-dependent prompts like "Find a well-reviewed movie in the genre I usually watch" or "Show me the recipe I searched for last Tuesday."
To fulfill these requests, an agent must look at the user's raw browsing history. However, existing benchmarks either assume fully explicit prompts or abstract user history into clean, high-level summaries (like transaction records). They fail to test an agent's ability to parse low-level, noisy browser interactions (clicks, scrolls, typing, page transitions) to infer latent user preferences or recall specific past episodes.
Methods
To bridge this gap, the authors developed a dual-pronged solution: a realistic benchmark generation pipeline and a structured memory framework for agents.
1. PersonaTrail Benchmark Construction
The authors built a pipeline to generate realistic user histories and queries:
- Website Curation & Assignment: They gathered thousands of real-world websites and used an LLM to match them to diverse, synthetically generated user personas.
- Trajectory Rollout: An agent executed tasks on these live sites, embedding user preferences into the interaction logs (e.g., applying specific filters or clicking certain categories). This created a fine-grained, timestamped browsing history ($H$) for each persona.
- Personalized Query Generation: They generated two types of queries: Preference Inference (requires deducing long-term user habits) and Episodic Grounding (requires locating a specific past event based on temporal or contextual cues).
2. PACMem Framework
Raw browsing logs are too long and noisy to stuff directly into an LLM's context window. PACMem solves this by structuring raw trajectories into a two-level memory hierarchy:
- Factual Memory: Raw interaction streams are segmented into atomic, goal-oriented sessions. Highly similar adjacent segments are merged into coherent "episodes" containing a descriptive title, timestamps, URLs, and key action sequences.
- Preference Memory: Factual memory entries are converted into embeddings and clustered using a graph-based approach. An LLM then processes these clusters to distill recurring behavioral patterns into natural language schemas (e.g., "Likes One-pot recipes" or "Uses IMDb for movies").
At inference time, PACMem utilizes a coarse-to-fine retrieval pipeline to inject the most task-relevant factual and preference entries directly into the agent's prompt.
Datasets
The primary dataset introduced is PersonaTrail, which features:
- 2,524 personalized queries spread across 317 real-world websites and 23 domains.
- Both single-hop (single website) and multi-hop (cross-site sequential navigation) tasks.
- Realism validated against the public Coveo clickstream dataset of real online shoppers, matching human metrics for events per session and page revisit rates.
The authors also evaluated PACMem on an external benchmark, Persona2Web, to demonstrate its cross-dataset generalization capabilities.
Key Insights and Ideas
- Procedural Memory is Blind to Taste: Existing agent memory frameworks (like Agent Workflow Memory) focus on how to navigate websites by creating reusable workflow templates. However, they strip out user-specific attributes, reducing preferences to empty placeholders. PACMem proves that preserving what the user likes is just as critical as how they browse.
- The Dual-Memory Necessity: Preference memory is excellent for handling vague, taste-based queries, but it completely fails on temporal queries. Conversely, removing factual memory causes episodic grounding performance to collapse (dropping by up to 33.59%). A personalized agent absolutely requires both abstract schemas and concrete episodic logs.
- Navigation is Still the Bottleneck: Error analysis revealed that even when the retrieval system successfully provides the correct memory to the agent, the agent often fails during live navigation due to loops, step budget exhaustion, or website dynamics.
Key Results
The experiments evaluated several state-of-the-art LLM backbones (including Claude 4.5 Haiku, GPT-5.4-mini, Gemini 3 Flash, and Qwen 3.6 27B).
- No-Retrieval Baseline Fails: Without access to history, agents achieve a near-0% Task Success Rate (TSR) on personalization tasks, despite showing high intent satisfaction (meaning they can navigate websites fine, but they choose the wrong items).
- PACMem Outperforms Baselines: PACMem consistently beat workflow-based and reasoning-based baselines. For instance, using the open-source Qwen3.6-27B model on single-hop preference inference, PACMem achieved a 53.61% TSR, outperforming the strong ReasoningBank baseline (46.45%).
- Multi-Hop Superiority: On complex multi-hop episodic grounding tasks, PACMem powered Qwen3.6-27B to a 39.03% TSR, vastly exceeding the 17.84% achieved by workflow-induction methods.
Limitations and Future Work
The authors note several constraints that pave the way for future research:
- Static Preferences: PersonaTrail assumes a single, stable preference per user dimension. Real-world scenarios involve preference drift (tastes changing over time) and multiple coexisting preferences.
- Synthetic Profiles: While the browsing trajectories happen on live websites, the underlying user profiles and intents are synthetically generated.
- Task Scope: The benchmark currently excludes unanswerable requests (e.g., searching for a past article that has been deleted) and tasks requiring multi-turn follow-up clarifications.
Summary updated