Abstract
Traditional search simulators often rely on "behaviorist" models that predict actions like clicks based on surface-level probabilities. This paper introduces a "thought-then-action" framework for search simulation, leveraging Large Language Models (LLMs) to model the internal cognitive processes of users. By fine-tuning models on a novel dataset of human "think-aloud" search sessions, the researchers demonstrate that incorporating explicit reasoning leads to more realistic and interpretable simulations, particularly for high-level tasks like query formulation and session termination.
Introduction
In Information Retrieval (IR), simulating user behavior is a critical tool for evaluating search engines without the prohibitive cost of large-scale human testing. However, existing simulators frequently fail to capture the complex, hidden cognitive drivers of search behavior—such as the realization that a query is too broad or that a specific result is irrelevant. This study addresses the gap between observable search actions (queries, clicks) and the internal reasoning that precedes them. By utilizing the reasoning capabilities of LLMs, the authors propose a framework that bridges this divide, moving from simple rule-based predictions to a more human-like "deliberative" simulation.
Methodology
The core of the proposed approach is a "thought-then-action" framework. Unlike traditional models that map a state directly to an action, this framework requires the model to generate a "Reasoning" string before outputting its next move.
- Data Collection: To ground the model in human cognition, the researchers conducted a user study with 31 participants using a "think-aloud" protocol. Participants verbalized their internal thoughts while performing search tasks, providing a unique dataset of explicit reasoning linked to specific actions.
- Model Training: A Llama3-8B model was fine-tuned using Supervised Fine-Tuning (SFT) on this "think-aloud" data. The model learns to predict the next action (query, click, or stop) by first generating the underlying rationale.
- Simulation Framework: The authors integrated these models into the USimAgent framework, comparing various configurations, including zero-shot GPT-3.5-turbo and the fine-tuned Llama model, to evaluate the impact of learned reasoning on simulation fidelity.
Datasets and Evaluation
The research utilized three datasets to validate the approach:
- UserStudy (New): Contains 296 search sessions enriched with transcribed "explicit thoughts" for every action.
- KDD19: A public dataset of lab-based search tasks used for performance evaluation.
- TianGong: A large-scale dataset of real-world search logs used to test the generalizability of the simulation to "in-the-wild" scenarios.
Key Results
The inclusion of explicit reasoning significantly improved the realism of simulated search paths, particularly for complex decision-making tasks.
- Query Generation: The fine-tuned N-Llama model demonstrated superior performance in generating human-like queries. On the KDD19 dataset, it achieved a BLEU score of 0.4766, outperforming the previous state-of-the-art SUIR method (0.4031).
- Stopping Behavior: Modeling the decision to end a search session—a high-level cognitive task—benefited greatly from the "thought-then-action" approach. The fine-tuned Llama models achieved an F1-score of approximately 0.62 on KDD19, a substantial improvement over the ~0.49 achieved by standard fixed-depth baselines.
- Click Prediction: Interestingly, while LLMs performed well in low-resource settings, traditional models like the Neural Click Model (NCM) remained highly competitive on large datasets. This suggests that clicking may be a more intuitive, pattern-based action compared to the more deliberative processes of querying and stopping.
Discussion and Insights
The study highlights a fundamental divide between deliberative and intuitive search actions. "Thinking" is most beneficial for high-level tasks like formulating new queries or deciding when to stop. For these tasks, the "white box" nature of the LLM simulation provides valuable interpretability, allowing researchers to understand why a simulated user behaves in a certain way.
Furthermore, the researchers observed a trade-off between alignment and diversity. While fine-tuning (N-Llama) produced queries very similar to the training data, using a general-purpose model like GPT-3.5 for the reasoning phase (GPT-Llama) resulted in more diverse search paths that better matched the overall distribution of human behavior, as indicated by higher MAUVE scores.
Conclusion and Future Work
This work demonstrates that modeling internal cognitive processes is a viable and effective path toward more realistic search simulations. While performance gains in some areas are modest, the increased interpretability and human-like behavior of the "thought-then-action" framework offer a significant advancement over purely behaviorist models. Future research will focus on scaling the collection of "think-aloud" data, incorporating long-term memory into the LLM agents, and applying these simulators to complex multi-turn conversational search environments.
Summary updated