OPeRA: A Dataset of Observation, Persona, Rationale, and Action for Evaluating LLMs on Human Online Shopping Behavior Simulation

Ziyi Wang, Yuxuan Lu, Wenbo Li, Amirali Amini, Bo Sun, Yakov Bart, Weimin Lyu, Jiri Gesi, Tian Wang, Jing Huang, Yu Su, Upol Ehsan, Malihe Alikhani, Toby Jia-Jun Li, Lydia B. Chilton, Dakuo Wang · DOI

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in generating human-like text. However, a more profound challenge lies in behavioral alignment: the ability of an AI to accurately mimic the specific, step-by-step actions of a real person in a complex environment. Most existing web-agent datasets focus on task completion—such as "find a toaster under $50"—but fail to capture the non-linear, idiosyncratic nature of real human behavior. These datasets often lack the underlying "why" behind an action and ignore the user's unique personality. To bridge this gap, we introduce OPeRA, a novel dataset designed to evaluate LLMs as "digital twins" capable of simulating individual human shopping behavior.

The OPeRA Dataset

OPeRA is the first public dataset to integrate four critical components of human behavior: Observation, Persona, Rationale, and Action. Unlike synthetic benchmarks or those generated by annotators, OPeRA is grounded in authentic, unguided human activity.

Detailed components of the OPeRA dataset, including user shopping behavior traces and multi-modal persona profiles.

The dataset is presented in two versions to suit different research needs:

  • OPeRA-full: A comprehensive collection comprising 692 sessions, 28,904 action-observation pairs, and 604 user-annotated rationales.
  • OPeRA-filtered: A curated version containing 527 sessions and 5,856 high-quality pairs, specifically cleaned to support stable behavior simulation experiments.

By providing a rich trace of browser observations alongside detailed user personas, OPeRA allows researchers to benchmark how well models can align their logic with specific human intent.

Methodology: Data Collection via ShoppingFlow

To capture high-fidelity behavioral data, the authors developed ShoppingFlow, a custom Chrome extension. Over a four-week period, 51 participants used the extension while performing their usual shopping activities on Amazon.

The OPeRA data collection pipeline using the ShoppingFlow plugin to capture real-time actions and rationales.

The system recorded four distinct data streams:

  1. Observation: Full and simplified HTML of visited pages, providing the structural context of the web environment, supplemented by screenshots.
  2. Persona: Detailed profiles gathered through surveys and interviews, including demographics, Big Five personality traits, MBTI, and specific shopping habits (e.g., brand consciousness vs. price sensitivity).
  3. Rationale: "Just-in-time" explanations for actions. To avoid user fatigue while ensuring data quality, pop-ups were triggered at an 8% probability, asking users to explain their specific choices (e.g., "I clicked this because it's cheaper with a subscription").
  4. Action: Fine-grained logs of clicks, scrolls, and text inputs, capturing the physical interaction with the interface.

Experimental Results and Key Insights

The researchers benchmarked several state-of-the-art models—including GPT-4o, DeepSeek-R1, Claude-3.7-Sonnet, and Llama-3.3-70B—on a "Next Action Prediction" task. The goal was to determine if a model could predict a user's next move given their history and persona.

The Critical Role of Rationale

A key finding was that including historical rationales consistently improved model performance. This "internal monologue" serves as vital intermediate supervision. By understanding the reasoning behind previous steps, the model can better align its logic with the user's current intent. Ablation studies confirmed that removing rationales led to a performance drop across nearly all tested models, highlighting that the "why" is just as important as the "what."

The Persona Paradox

Interestingly, while persona information improved the prediction of action types (e.g., predicting a "click" vs. a "scroll"), it did not consistently improve "exact match" accuracy for specific UI elements. In some instances, persona data introduced noise. This suggests that while current LLMs can recognize behavioral patterns associated with certain personalities, they struggle to deeply integrate complex personality traits into fine-grained, step-level decision-making.

Performance Benchmarks

Models were evaluated on Action Generation Accuracy (exact match) and Action Type F1:

  • GPT-4o: The top performer, achieving an exact match accuracy of 21.51% and a Macro F1 of 48.78 for action types.
  • DeepSeek-R1: Followed with 14.75% accuracy, showing solid reasoning but potentially limited by context window constraints.
  • Claude-3.7 & Llama-3.3: Trailed significantly, with Llama-3.3 achieving only 8.31% accuracy, likely due to smaller parameter counts and shorter context lengths.

Discussion and Future Work

Despite the advancements represented by OPeRA, a significant gap remains between LLM-generated actions and actual human behavior. Current models can generate "believable" shopping sequences that look human-like, but they still struggle to replicate the exact, often idiosyncratic, paths taken by real users.

Future research will focus on:

  • Multimodal Integration: Utilizing the collected screenshots to incorporate visual signals into simulations, moving beyond text-only HTML processing.
  • Continuous Interaction: Expanding the action space to include complex scrolling and navigation patterns that were simplified for the initial benchmark.
  • Scaling: Increasing the participant pool to identify more robust persona clusters, allowing models to learn from a broader range of human behaviors.

OPeRA provides a foundational resource for developing more personalized, human-aligned AI agents and improving UI/UX testing through realistic user simulation.

Summary updated

BibTeX
@inproceedings{wang2026opera,
  author = {Ziyi Wang and Yuxuan Lu and Wenbo Li and Amirali Amini and Bo Sun and Yakov Bart and Weimin Lyu and Jiri Gesi and Tian Wang and Jing Huang and Yu Su and Upol Ehsan and Malihe Alikhani and Toby Jia-Jun Li and Lydia B. Chilton and Dakuo Wang},
  title = {{OPeRA: A Dataset of Observation, Persona, Rationale, and Action for Evaluating LLMs on Human Online Shopping Behavior Simulation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.2033},
}
Figure