TL;DR
The paper introduces OPeRA, the first public dataset that captures real human online shopping behavior by combining user personas, browser observations, fine-grained web actions, and just-in-time rationales. By benchmarking state-of-the-art Large Language Models (LLMs) on a next-action prediction task, the authors demonstrate that while current models can capture high-level intent, they struggle to deeply integrate personal traits into step-by-step web navigation. This work highlights a critical gap in building personalized digital twins and provides a rigorous framework for future behavioral simulation research.
What Problem Does This Paper Address?
LLM agents are increasingly deployed to simulate human behavior in applications like UI/UX testing, social science research, and personalized digital assistants. However, evaluating how accurately these agents mimic individual human behavior remains an open challenge.
Existing web-agent datasets typically suffer from two major flaws: they either record sparse, decontextualized actions (e.g., only final purchases or isolated clicks) or rely entirely on synthetic, annotator-generated interaction logs. Crucially, they miss the internal reasoning (the why) behind a user's action and the user's background profile (the who). Without capturing the interplay between a user's persona, their real-time observations, and their step-by-step rationale, LLMs cannot be accurately evaluated or trained to act as authentic human proxies.
Methods
To capture high-fidelity human behavior, the authors developed ShoppingFlow, a custom Chrome browser extension designed to track real-world user interactions on Amazon over a four-week period.
The data collection and evaluation framework consists of:
- Behavior Tracking: A content script logs fine-grained user interactions (inputs, clicks, scrolls) with precise timestamps and target elements, while a background script tracks page-level events like reloads and navigation.
- Just-in-Time Rationales: To capture internal reasoning without causing user fatigue, the plugin randomly triggers context-aware pop-ups (8% probability) at decision points, prompting users to explain their actions in natural language.
- Persona Profiling: Detailed user profiles are gathered via a structured online survey and optional semi-structured interviews, capturing demographics, explicit shopping preferences (via an adapted Consumer Styles Inventory), and personality traits (Big-Five and MBTI).
- Next Action Prediction Task: The authors establish a benchmark task where an LLM is provided with a user's persona, historical web contexts, actions, and rationales, and must predict the exact next action (both the action type and the specific target element or input text).
Datasets
The paper introduces the OPeRA (Observation, Persona, Rationale, Action) dataset, provided in two variants:
- OPeRA-full: Contains 692 shopping sessions from 51 unique users, encompassing 28,904 real-user
<action, observation>pairs and 604 user-annotated rationales. - OPeRA-filtered: A processed version optimized for stable behavior modeling that filters out noise (like background clicks) and retains 527 sessions, 5,856 pairs, and 207 rationales across simplified action spaces (click, input, terminate).
Unlike existing benchmarks (such as Mind2Web or WebShop) which rely on synthetic tasks, OPeRA provides time-aligned logs of authentic, non-linear human shopping journeys.
Key Insights and Ideas
- Persona Integration is a Bottleneck: Simply injecting persona information into the prompt does not consistently improve exact next-action generation accuracy. Current LLMs struggle to deeply integrate high-level persona traits into step-by-step, fine-grained decision-making, sometimes treating the persona text as distracting noise.
- Rationales are Vital Supervisors: Removing historical rationales consistently degrades model performance across almost all metrics, particularly in predicting final session outcomes. Step-by-step reasoning acts as essential intermediate supervision that helps the model align its choices with plausible human intent.
- Task-Completion Bias: LLMs rarely predict the "terminate" action (giving up on a search), even though it appears frequently in real human data. This indicates that current LLMs are heavily biased toward completing a task (making a purchase) rather than realistically simulating human frustration or early exit behavior.
Key Results
Four state-of-the-art LLMs—GPT-4.1, DeepSeek-R1, Claude-3.7-Sonnet, and Llama-3.3-70B-Instruct—were evaluated in a zero-shot setting:
- GPT-4.1 achieved the strongest overall performance, yielding an exact-match next-action generation accuracy of 21.51% (which slightly increased to 22.06% when the persona was removed), a macro F1 of 48.78% for action type prediction, and a weighted F1 of 44.47% for fine-grained click type prediction.
- DeepSeek-R1 performed moderately well, reaching a maximum action generation accuracy of 15.74% (without rationale), benefiting from its strong reasoning capabilities but potentially constrained by its 128k context length.
- Claude-3.7 and Llama-3.3 trailed behind, with Llama-3.3 scoring the lowest across all metrics (8.31% action generation accuracy), likely due to its smaller model size and limited capacity to leverage complex contextual histories.
- Error Analysis: The vast majority of model failures (60.8% to 75.8%) were attributed to clicking the wrong button or failing to generate the exact search query text during input actions.
Limitations and Future Work
The authors acknowledge several limitations in their current setup:
- Simplified Action Space: To keep the task tractable, continuous UI actions like scrolling and page navigation were omitted during evaluation, focusing only on discrete clicks, inputs, and terminations.
- Unused Visual Signals: Although the dataset includes screenshots for every single interaction, the benchmarked models only processed structured HTML text data, ignoring visual UI cues that naturally drive human decisions.
- Coarse Segmentation: The session segmentation strategy relies on a fixed time threshold (78 minutes), which might occasionally over-fragment or mix complex, multi-stage shopping journeys.
Future Directions: The authors envision extending this benchmark to multimodal LLMs that can interpret the raw visual elements of screenshots alongside HTML. They also suggest using OPeRA to explore personalized recommendation systems and to generate high-fidelity synthetic interaction data for adaptive website design.
Summary updated