Abstract
Autonomous Web agents powered by Large Language Models (LLMs) have shown remarkable progress in instruction following. However, a significant gap remains: the lack of personalization. Most agents treat every user as a "blank slate," ignoring individual preferences and historical behaviors. This paper presents PersonalWAB, the first comprehensive benchmark for personalized Web agents, and PUMA (Personalized User Memory-enhanced Alignment), a framework designed to align agent actions with specific user histories. Our findings show that specialized, smaller models can surpass the performance of general-purpose giants like GPT-4o when effectively leveraging personal data.
Introduction: The Personalization Gap
Most current LLM-based Web agents operate on a "one-size-fits-all" basis. For instance, if two different users ask an agent to "find a good pillow," the agent typically provides identical top-rated results. However, one user might be a budget-conscious shopper who prefers firm memory foam, while another might be a premium buyer looking for organic down.
The challenge of personalization is twofold:
- Instruction Comprehension: Users often leave implicit preferences out of their prompts.
- Action Execution: Agents must determine which Web functions to call and with what specific parameters to satisfy a user's unique style and needs.
The PUMA Framework
To address these challenges, the authors propose the PUMA (Personalized User Memory-enhanced Alignment) framework. Rather than overwhelming the model with a user's entire history, PUMA employs a more surgical approach:
- Task-Specific Memory Retrieval: PUMA maintains a long-term memory bank of user behaviors (purchases, reviews, etc.). Upon receiving an instruction, it uses a cosine-similarity strategy to retrieve only the most relevant historical data. For example, a search task might trigger the retrieval of product categories, while a review task pulls the user's past writing style.
- Two-Step Optimization: The model (initially LLaMA-2-7B) undergoes Heuristic Supervised Fine-Tuning (SFT) to learn basic Web function mechanics. This is followed by Direct Preference Optimization (DPO), which rewards the model for choosing parameters that align with historical user preferences and penalizes generic or mismatched choices.
PersonalWAB: A Benchmark for Personalization
The authors developed PersonalWAB, a benchmark built upon the Amazon Review dataset to standardize the evaluation of personalized agents.
PersonalWAB includes 1,000 diverse users across five categories (Electronics, Home, Grocery, etc.), featuring simulated user profiles and real historical behaviors. It evaluates agents across three primary scenarios: personalized search, recommendation, and review generation. Crucially, the benchmark abstracts the Web into callable functions (e.g., search_product_by_query), focusing evaluation on reasoning and personalization rather than GUI navigation.
Key Insights and Results
The study yielded several critical insights into the nature of personalized agents:
- Function Selection Bottleneck: Even powerful models like GPT-4o struggle to distinguish between "Search" and "Recommendation" tasks without explicit personalization, often defaulting to the wrong tool.
- Memory Efficiency: Dumping entire user histories into an LLM creates noise. PUMA’s task-specific filtering was essential for maintaining accuracy.
- Specialization vs. Scale: A fine-tuned LLaMA-7B model using PUMA consistently outperformed zero-shot GPT-4o. PUMA achieved a Function Accuracy of 0.994 and a Result Accuracy of 0.406, compared to the "No Memory" GPT-4o baseline of 0.684 and 0.355, respectively.
- Performance Gains: PUMA is significantly faster, completing tasks in an average of 2.8 seconds—a 2.4x speedup over GPT-4o-based methods (6.7 seconds).
Conclusion and Future Work
While PUMA and PersonalWAB represent a major step forward, limitations remain. The current benchmark is focused on the shopping domain, and extending it to areas like social media or healthcare will introduce new complexities. Furthermore, the use of deep user history necessitates the integration of privacy-preserving techniques. Future research will also explore "dynamic preference learning," allowing agents to update their understanding of users in real-time during interactions.
Summary updated