Distilling a Small Utility-Based Passage Selector to Enhance Retrieval-Augmented Generation

Hengran Zhang, Keping Bi, Jiafeng Guo, Jiaming Zhang, Shuaiqiang Wang, Dawei Yin, Xueqi Cheng

Introduction

In Retrieval-Augmented Generation (RAG), the standard approach involves retrieving documents based on topical relevance. However, relevance does not always equate to utility. A passage may be topically related to a query but redundant or lacking the specific information required to formulate an accurate answer. While large-scale language models (LLMs) like GPT-4 or Qwen-32B excel at judging passage utility, their high computational cost makes them impractical for evaluating large volumes of candidate documents in real-time.

This paper addresses the efficiency-utility trade-off by distilling the utility-judgment capabilities of large models into a compact, 1.7B parameter "Utility Selector." This specialized model identifies the most helpful passages for answer generation, reducing inference costs by 70% compared to its teacher model.

Methodology

The authors propose a novel framework called Utility-based Selection Distillation. The model is trained to jointly perform two tasks: generating a pseudo-answer based on provided passages and identifying which specific passages were instrumental in that generation.

To manage long lists of retrieved documents efficiently, the researchers introduced a Forward-Propagating Sliding Window. Unlike traditional re-rankers that often move from the bottom of a list upward, this method processes documents from front to back.

Comparison of relevance ranking and the forward-propagating sliding window for utility selection.

As illustrated in Figure 3, the model starts with the top-ranked passages, selects those with high utility, and carries them forward into the next window as context. This ensures that the judgment of a passage's utility is informed by previously processed information, effectively managing redundancy and complementarity between documents.

Experimental Setup

The models were distilled from a Qwen3-32B teacher into a Qwen3-1.7B student, resulting in two specialized versions: RankQwen1.7B (for relevance) and UtilityQwen1.7B (for utility). Training involved 100,000 queries from the MS MARCO dataset. Evaluation was conducted across diverse benchmarks:

  • NQ (Natural Questions): Simple queries typically answered by a single passage.
  • HotpotQA: Complex queries requiring multi-hop reasoning across multiple documents.
  • BEIR Benchmark: Used to validate general ranking effectiveness.

Results and Discussion

Experimental results demonstrate that utility-based selection is particularly vital for complex reasoning tasks. While relevance ranking is often sufficient for simple questions (NQ), multi-hop questions (HotpotQA) benefit significantly from identifying a specific set of complementary passages.

Generation performance (EM and F1) across different Top-k retrieval results for NQ and HotpotQA.

As shown in Figure 1, the performance of RAG systems is highly sensitive to the number of retrieved passages (Top-k). The Utility Selector addresses this by adaptively deciding how many passages to keep. For instance, it selects an average of ~11 passages for NQ but is more selective for HotpotQA, keeping only ~5 high-density passages. This dynamic thresholding allowed the Utility Selector to consistently outperform fixed Top-K relevance ranking across different generators like Llama-3.1-8B and Qwen2.5-7B.

Furthermore, the distilled student model achieved a 70% reduction in computational costs and 30% lower inference latency compared to the 32B teacher, primarily because the selector aggressively skips low-utility regions of the retrieval list.

Conclusion

This work demonstrates that distilling utility-based judgment into small models can significantly enhance RAG performance while maintaining efficiency. By focusing on what is useful rather than just what is relevant, the Utility Selector provides a more robust foundation for complex question answering. Future work will explore extending this distillation method to other tasks such as fact-checking and summarization, as well as narrowing the remaining performance gap between the 1.7B student and the 32B teacher.

Summary updated

BibTeX
@misc{zhang2025distilling,
  author = {Hengran Zhang and Keping Bi and Jiafeng Guo and Jiaming Zhang and Shuaiqiang Wang and Dawei Yin and Xueqi Cheng},
  title = {{Distilling a Small Utility-Based Passage Selector to Enhance Retrieval-Augmented Generation}},
  year = {2025},
  eprint = {2507.19102},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.19102},
}
Figure