TL;DR
This paper introduces OPeRA, a novel dataset that captures detailed human online shopping behavior, including user personas, web observations, actions, and the rationale behind those actions. They use this dataset to benchmark current LLMs, finding that while they can predict actions to some extent, there's significant room for improvement in accurately simulating personalized human behavior.
What Problem Does This Paper Address?
The core challenge this paper tackles is the evaluation of Large Language Models (LLMs) in their ability to accurately simulate real human behavior, specifically in the context of online shopping. While LLMs are increasingly capable of generating human-like actions, existing datasets often lack the richness and detail needed to truly assess this mimicry. Many datasets provide only sparse, decontextualized actions, or focus on aggregate outcomes rather than the step-by-step reasoning and individual user characteristics that drive behavior. This gap makes it difficult to develop LLM agents that can act as personalized digital twins, understanding and predicting individual user actions based on their unique personas and motivations.
Methods
The authors developed a custom Chrome browser plugin called ShoppingFlow to collect data. This plugin captures user interactions (clicks, scrolls, inputs) along with corresponding web observations (HTML, screenshots) during online shopping sessions. Crucially, it also prompts users to provide just-in-time rationales for their actions at a certain probability. To gather user personas, they employed a structured online survey and optional semi-structured interviews, collecting demographic information, shopping preferences, and personality traits. The collected data was then post-processed to ensure data quality and privacy, including anonymization and session segmentation.
Datasets
The primary contribution is the introduction of the OPeRA dataset.
- OPeRA-full: Contains 692 shopping sessions from 51 unique users, with 28,904 <action, observation> pairs and 604 rationales.
- OPeRA-filtered: A refined version with 527 sessions, 5,856 <action, observation> pairs, and 207 rationales.
This dataset is unique in its comprehensive capture of Observation, Persona, Rationale, and Action, differentiating it from existing datasets that often focus on only one or two of these aspects.
Key Insights and Ideas
- The "Why" Matters: The inclusion of explicit rationales alongside actions and observations is critical for understanding user decision-making and for training more accurate LLM agents. Simply predicting the next action isn't enough; understanding the motivation behind it is key.
- Persona Integration is Tricky: While persona information generally improved action type and click type prediction, it didn't consistently boost exact action generation accuracy. This suggests LLMs currently struggle to deeply integrate persona into step-level decision-making, highlighting a significant area for future research.
- LLMs Still Struggle with Nuance: Even state-of-the-art LLMs make mistakes, particularly in correctly predicting button clicks and generating accurate input text. They also tend to be optimized for task completion (like purchasing) rather than simulating realistic user behavior, which can include early session termination.
Key Results
The paper benchmarks four LLMs (GPT-4.1, DeepSeek-R1, Claude-3.7, and Llama-3.3) on the OPeRA-test set for next action prediction.
- GPT-4.1 performed best overall, achieving 22.06% accuracy in next action generation and strong F1 scores for action type and session outcome prediction.
- Removing persona information sometimes improved exact action generation accuracy for GPT-4.1, but generally hurt action type and click type prediction.
- Removing historical rationales consistently degraded performance across all models, confirming their importance as intermediate supervision.
- LLaMA-3.3 underperformed significantly across all metrics, likely due to its smaller model size.
- Error analysis revealed that incorrect button clicks were the most common failure mode, followed by issues with input generation and termination actions.
Limitations and Future Work
The authors acknowledge several limitations:
- Simplified Action Space: The study used a simplified action space (click, input, terminate) and omitted actions like scrolling and page navigation. Future work could explore richer action spaces.
- No Visual Signals: The experiments did not incorporate visual signals from screenshots, as current LLMs are not yet robustly equipped to interpret them alongside structured web content. This is a promising avenue for future research.
- Simplified Setup: The evaluation used a reduced action space and coarse-grained session segmentation.
They envision OPeRA enabling future research in personalized recommendation, generating synthetic interaction data for website design, and developing more realistic and interpretable user behavior models.
Summary updated