Evaluating Contrastive Feedback for Effective User Simulations

Andreas Konstantin Kruff, Timo Breuer, Philipp SchaerarXiv 2025 · DOI

TL;DR

To make Large Language Model (LLM) user simulations more realistic, researchers from TH Köln applied the principles of contrastive learning to prompt engineering. By feeding the LLM running summaries of both relevant and irrelevant documents encountered during a search session, the simulated users generated better queries and found information more effectively than traditional static baselines.

What Problem Does This Paper Address?

Evaluating search engines through Interactive Information Retrieval (IIR) user studies is notoriously slow and expensive. To scale testing, researchers use user simulations—algorithmic agents that mimic human search behavior (formulating queries, clicking results, and deciding when to stop).

While LLMs have supercharged user simulations, they are typically given an unrealistic advantage: the complete, explicitly formulated topic description (including detailed narratives of what is and isn't relevant). In the real world, human users suffer from an "Anomalous State of Knowledge"—they often don't know exactly what they are looking for until they start seeing results. This paper tackles the challenge of dynamically updating a simulated user's knowledge state based on their interaction history, making the simulation both more realistic and more effective.

Methods

The authors implemented their simulation using the SimIIR 3 framework powered by a quantized Llama 3.3 (70B) model. They designed several user configurations to test different prompting strategies:

  • Baselines: Static users given either the full TREC topic context (FTTC) or just the topic title (TTT), generating queries only once at the start.
  • Relevance Feedback: Dynamic users whose prompts are updated after every judged document. PRF (Positive Relevance Feedback) appends summaries of relevant documents seen so far; NRF (Negative Relevance Feedback) appends summaries of irrelevant documents.
  • Contrastive Relevance Feedback (CRF): The core novelty. This strategy provides the LLM with summaries of both relevant and irrelevant documents simultaneously. This forces the model to learn task-specific distinctions in-context, mimicking contrastive fine-tuning paradigms.

The overall simulation workflow is illustrated in the flowchart below:

Figure 1: A flowchart of the analyzed user configuration described in Section 3.1. The color codes correspond to those in Figure 2 that show the experimental results in the simulated search sessions.

Datasets

The experiments were conducted using two standard TREC newswire test collections:

  • Core17: TREC Common Core 2017 (utilizing the New York Times Annotated Corpus).
  • Core18: TREC Common Core 2018 (utilizing the TREC Washington Post Corpus).

BM25 was used as the underlying search engine ranking function to keep computational costs manageable during iterative query reformulations.

Key Insights and Ideas

  • The "Uptake" Phase: In the initial steps of a search session, all prompting strategies perform similarly. The benefits of dynamic feedback only become apparent in the long run—specifically after about four queries have been issued. This suggests that the LLM needs a few interactions to successfully accumulate and exploit session history.
  • Contrastive Prompting Works: Providing both positive and negative examples helps the LLM refine its internal boundary of what constitutes a "relevant" document, leading to superior query reformulation.
  • Titles Alone Risk Topical Drift: A variant called CRF' (which used contrastive feedback but only provided the topic title instead of the full description) performed significantly worse on Core17. This indicates that without a strong initial description anchor, contrastive feedback alone can cause the simulation to drift away from the core topic.

Key Results

The authors evaluated performance using Information Gain (IG) to balance effort vs. effect, alongside Session-Discounted Cumulative Gain (sDCG).

  • Dynamic Beats Static: All feedback configurations (PRF, NRF, CRF) consistently outperformed the static baselines (FTTC, TTT) across both datasets.
  • Core17 Winner: The CRF configuration was the clear top performer, validating the hypothesis that contrastive examples in prompts improve search effectiveness.
  • Core18 Nuance: On Core18, CRF performed on par with PRF. In this case, adding summaries of irrelevant documents didn't hurt performance, but it didn't provide a distinct advantage over just using positive summaries.

The quantitative trajectories of these search sessions can be seen in Figure 2:

Figure 2: Results of the simulated sessions for different prompting strategies evaluated with the help of Effort-Effect trade-offs and sDCG on Core17 (top) and Core18 (bottom).

Limitations and Future Work

The authors highlighted a major bottleneck inherent to evaluating advanced user simulations on historical datasets: the pooling problem. Because the LLM-based user agents generate highly creative and diverse query variants, they frequently retrieve documents that were never evaluated by human annotators during the original TREC data collection.

When the simulation encounters these unjudged documents, it cannot reliably calculate information gain. The authors suggest that future work should explore using LLMs themselves to generate reliable relevance judgments for these unjudged documents, though they acknowledge this introduces its own evaluation challenges. Additionally, more work is needed to determine exactly when contrastive feedback reliably beats purely positive feedback.

Summary updated

BibTeX
@misc{kruff2025evaluating,
  author = {Andreas Konstantin Kruff and Timo Breuer and Philipp Schaer},
  title = {{Evaluating Contrastive Feedback for Effective User Simulations}},
  year = {2025},
  eprint = {2505.02560},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.02560},
}
Figure