Evaluating the Utility of Grounding Documents with Reference-Free LLM-based Metrics
Yilun Hua, Giuseppe Castellucci, Peter Schulam, Heba Elfardy, Kevin Small
TL;DR
Grounding utility in Retrieval Augmented Generation faces challenges with annotation-heavy metrics and LLM-agnostic relevance. The authors introduce GroGU, a model-specific, reference-free metric defined as $ \text{GroGU}_\theta(q,\mathbf{D_r}) = \gamma(y_g \mid q, \mathbf{D_r}) - \gamma(y_u \mid q) $, to quantify how grounding documents affect generation confidence, along with a robust variant KeyEntropy that focuses on salient tokens. They demonstrate GroGU captures utility beyond mere relevance and can differentiate utility across models and layouts, enabling annotation-free data curation for training a query-rewriter with Direct Preference Optimization (DPO). Applying GroGU to select high-utility rewrites yields consistent improvements in retrieval performance (up to 18.2 in MRR) and downstream generation accuracy (up to 9.4 percentage points) across sparse and dense retrievers, highlighting practical impact for tuning RAG systems without labeled data.
Abstract
Retrieval Augmented Generation (RAG)'s success depends on the utility the LLM derives from the content used for grounding. Quantifying content utility does not have a definitive specification and existing metrics ignore model-specific capabilities and/or rely on costly annotations. In this paper, we propose Grounding Generation Utility (GroGU), a model-specific and reference-free metric that defines utility as a function of the downstream LLM's generation confidence based on entropy. Despite having no annotation requirements, GroGU is largely faithful in distinguishing ground-truth documents while capturing nuances ignored by LLM-agnostic metrics. We apply GroGU to train a query-rewriter for RAG by identifying high-utility preference data for Direct Preference Optimization. Experiments show improvements by up to 18.2 points in Mean Reciprocal Rank and up to 9.4 points in answer accuracy.
