SePer: Measure Retrieval Utility Through The Lens Of Semantic Perplexity Reduction
Lu Dai, Yijie Xu, Jinhui Ye, Hao Liu, Hui Xiong
TL;DR
This work addresses the challenge of evaluating retrieval utility in retrieval-augmented generation (RAG) by introducing Semantic Perplexity (SePer), a sampling-based metric that tracks how retrieved information shifts an LLM's belief toward ground-truth answers. SePer estimates the LLM's semantic belief distribution through Monte-Carlo sampling and semantic clustering, and then computes the utility of retrieval as the change in this distribution, quantified as a semantic perplexity reduction. The paper provides theoretical grounding, validity and reliability analyses, and extensive experiments across QA and multi-hop tasks, showing strong alignment with human judgments and practical insights for RAG design (e.g., optimal numbers of retrieved items, prompt compression trade-offs, and reranker effects). Overall, SePer offers a principled, efficient, and generalizable framework to quantify retrieval utility, with meaningful implications for data curation, resource allocation, and system design in real-world RAG deployments.
Abstract
Large Language Models (LLMs) have demonstrated improved generation performance by incorporating externally retrieved knowledge, a process known as retrieval-augmented generation (RAG). Despite the potential of this approach, existing studies evaluate RAG effectiveness by 1) assessing retrieval and generation components jointly, which obscures retrieval's distinct contribution, or 2) examining retrievers using traditional metrics such as NDCG, which creates a gap in understanding retrieval's true utility in the overall generation process. To address the above limitations, in this work, we introduce an automatic evaluation method that measures retrieval quality through the lens of information gain within the RAG framework. Specifically, we propose Semantic Perplexity (SePer), a metric that captures the LLM's internal belief about the correctness of the retrieved information. We quantify the utility of retrieval by the extent to which it reduces semantic perplexity post-retrieval. Extensive experiments demonstrate that SePer not only aligns closely with human preferences but also offers a more precise and efficient evaluation of retrieval utility across diverse RAG scenarios.
