Learning to Rank for Multiple Retrieval-Augmented Models through Iterative Utility Maximization

Alireza Salemi, Hamed Zamani · DOI

Introduction

Traditional search engines are primarily optimized for human interaction, focusing on metrics like click-through rates and dwell time. However, the rise of Retrieval-Augmented Generation (RAG) has introduced a new class of "users": Large Language Model (LLM) agents. These agents retrieve external data to perform tasks such as question answering or fact verification.

This paper addresses the unique challenges of serving these machine users:

  1. Diverse Information Needs: Different LLMs have varying "tastes"; a smaller model might require explicit facts, whereas a larger model can infer details from context.
  2. Cold-Start Feedback: Training a retriever for machines often suffers from low-quality initial feedback if the starting results are poor.
  3. Dynamic Preferences: Offline training may fail to capture the real-time needs of an agent during an active session.

To solve these, the authors propose Iterative Utility Maximization (IUM), a framework that treats LLM agents as the primary users and optimizes search rankings based on their specific task performance.

The IUM Framework

The core of IUM is an Expectation-Maximization (EM) inspired approach that bridges the gap between document retrieval and agent utility. The framework operates in two distinct phases: Offline and Online.

Overview of the IUM framework, illustrating the iterative feedback loop between the retrieval model and agents during both offline training and online personalization.

Offline IUM

In the offline phase, the search engine retrieves documents for various agents. Each agent provides feedback based on task success (e.g., achieving an "Exact Match" in a QA task). This feedback is used to iteratively update a BERT-based cross-encoder re-ranker. To handle multiple agents, the model uses Personalization Identifiers—Task IDs (tid) and Model IDs (mid)—allowing it to learn distinct preferences for different architectures and tasks.

Online IUM

During the serving phase, the retriever continues to adapt. It processes batches of queries, collects feedback from the specific agent currently being served, and updates its parameters in real-time. This "online personalization" ensures the search engine remains aligned with the agent's immediate needs.

Experimental Setup

The framework was evaluated using the KILT (Knowledge-Intensive Language Tasks) benchmark, spanning six datasets including Natural Questions (NQ), TriviaQA, and FEVER. The authors tested against 18 unique RAG agents constructed from different LLM backbones (e.g., T5-small, BART-base) and RAG strategies (In-Prompt Augmentation vs. Fusion-in-Decoder).

Key Insights and Results

The experiments revealed several critical findings regarding how search engines interact with LLMs:

  • The Personalization Paradox: Without Task and Model IDs, performance actually decreased over iterations as the model tried to find a "universal average" that satisfied no one. Including these identifiers allowed the model to successfully branch out and meet individual agent needs.
  • Architectural Preferences: Agents using the same backbone (e.g., T5) showed higher similarity in their document rankings than those using different backbones, suggesting the search engine learns specific architectural requirements.
  • Iterative Gains: The iterative nature of IUM effectively solved the cold-start problem. Each round of training provided better documents, which in turn generated higher-quality feedback for subsequent rounds.
Empirical results showing (a) the necessity of personalization for performance gains over iterations and (b) the impact of batch size on online learning efficiency.

Quantitatively, Offline IUM outperformed state-of-the-art baselines like uRAG and Contriever for 14 out of 18 agents. On the NQ dataset, the Exact Match (EM) score for a BART-based agent jumped from 33.09 (BM25) to 45.11 using Online IUM.

Conclusion and Future Work

IUM demonstrates that search engines can be significantly improved by directly optimizing for the utility of the downstream RAG agent. While the current work focuses on the re-ranking stage, future extensions could apply this iterative logic to first-stage dense retrieval. Additionally, addressing the computational cost of online updates and exploring generalization to unseen agents remain important areas for future research.

Summary updated

BibTeX
@inproceedings{salemi2025learning,
  author = {Alireza Salemi and Hamed Zamani},
  title = {{Learning to Rank for Multiple Retrieval-Augmented Models through Iterative Utility Maximization}},
  booktitle = {ICTIR},
  year = {2025},
  doi = {10.1145/3731120.3744584},
}
Figure