Abstract
Evaluating Information Retrieval (IR) systems traditionally requires expensive user studies. While user simulators offer a scalable alternative, traditional models often rely on rigid, independent rules that fail to capture the complex, interdependent nature of human search behavior. We introduce USimAgent, a framework that leverages Large Language Models (LLMs) to simulate search users through a "reasoning-before-acting" loop. By maintaining session-long context and performing explicit reasoning, USimAgent generates realistic queries and autonomously determines task completion. Our evaluation demonstrates that USimAgent significantly outperforms traditional baselines in query reformulation and stopping behavior prediction, providing a more human-like simulation of the search process.
Introduction
Traditional user simulators treat searching as a series of robotic, independent steps: selecting a query, clicking a link, and stopping after a fixed number of results. However, human search is a cognitive process where users learn as they go, reason about the snippets they encounter, and reformulate queries based on prior findings. Traditional "brittle" simulators struggle to capture this interdependence. USimAgent aims to bridge this gap by using the reasoning and planning capabilities of LLMs to create a more autonomous and realistic search agent.
The USimAgent Framework
USimAgent operates on a multi-round loop inspired by the ReAct (Reason + Act) framework. Instead of executing actions in isolation, the agent follows a structured workflow for every round of search:
- Reasoning & Action: The LLM analyzes the task and session history to "think" about the current state. It decides whether to continue searching or stop because the information need has been met.
- Query Reformulation: If the search continues, the agent generates a new query based on its current knowledge and remaining information needs.
- Click Prediction: Given a Search Engine Results Page (SERP), the agent selects links to click based on titles and snippets.
- Observation: The agent "reads" the content of clicked pages, updating its internal memory before the next round.
This architecture allows the agent to maintain a "logical thread" throughout a search session, mimicking the way a human researcher decomposes complex tasks into manageable sub-tasks.
Experimental Setup
The researchers evaluated USimAgent using a public user behavior dataset (Liu et al., 2019) derived from a laboratory study where 40 participants completed nine complex search tasks. The data was refined to 164 high-quality sessions where original search result content could be accurately reconstructed, providing a ground truth for query reformulations, click logs, and session durations.
Key Insights and Results
The Critical Role of Context
Ablation studies revealed that session context is the most vital component of the framework. Without a memory of previous steps, the agent's performance dropped significantly across all metrics. Context allows the agent to realize when it has gathered enough information to stop, preventing redundant searching.
Reasoning vs. Heuristics
While traditional models use simple stopping rules (e.g., "stop after 3 clicks"), USimAgent uses "reasoning rules" (e.g., "I have found the side effects, now I need to find methods"). This led to superior Accuracy (0.8043) and Precision (0.9365) in predicting session termination compared to heuristic models like "Fixed Depth" or "Frustration Point."
Performance Benchmarks
- Query Generation: USimAgent achieved a BLEU score of 0.4630, nearly doubling the performance of the "Popular Selection" baseline (0.2765).
- Click Prediction: USimAgent performed comparably to traditional probabilistic models (like UBM or DBN). While it didn't clearly outperform them—likely due to traditional models being specifically tuned for position bias—it remained competitive without requiring massive historical training data.
Limitations and Future Work
Despite its strengths, USimAgent faces challenges regarding position bias. LLMs tend to evaluate results based on content relevance alone, whereas humans are heavily influenced by the order of results. Future iterations may require explicit prompting to account for result ranking. Additionally, the study noted a performance decline when moving from GPT-4 to GPT-3.5, suggesting that the simulator's effectiveness is currently tied to the underlying reasoning limits of the LLM. Future work will explore fine-tuning LLMs on specialized search behavior datasets to further narrow the gap between simulated and real-world users.
Summary updated