arXiv(opens in a new tab)cs.IRSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.11646

Your Retriever Already Knows: Distribution-Shape QPP for RAG Retrieval Sufficiency

Matyáš Veselý, Michal Průšek, Jiří Franc

Matyáš Vesely 1^{1}[0009-0006-7994-4494], Michal Průšek 1,2^{1,2}[0009-0009-0573-3784], and Jiří Franc 1^{1}[0000-0002-5761-8675]

1^{1} Department of Mathematics, FNSPE CTU in Prague

2^{2} Institute of Information Theory and Automation, Czech Academy of Sciences

Abstract. Standard Retrieval-Augmented Generation (RAG) pipelines often provide no reliable inference-time signal of whether retrieval succeeded; on ambiguous or out-of-scope queries, generation may then hallucinate. Motivated by a Czech nuclear-regulator deployment where data sensitivity precludes third-party LLM APIs, we compare three Query Performance Prediction (QPP) paradigms for retrieval sufficiency in RAG: score-based features, a content-based LLM judge, and a hybrid. On the eight ViDoRe vision domains (14,514 queries), our 24 non-lexical features (GeneralQPP; 15 distribution-shape, 5 query-surface, 4 global) reach a weighted-average AUROC of 0.856 at 2 ms per query, ahead of a classic-QPP literature pool (Classic Full, 0.835) and well above a local Qwen3.5 LLM judge (0.649, +0.207 gap; ~3000× faster and cheaper per query). Adding the LLM judgment as one feature (hybrid) matches S1 on ViDoRe (0.863) but gains a statistically significant edge on SÜJB (AUROC 0.911 at Hit@5, adversarial-detection 0.954; 1,510 queries, 500 synthetic adversarial), at LLM latency. Rankings agree across datasets (Spearman ρ=0.90\rho=0.90). Under Leave-One-Domain-Out, S1 drops to 0.706; a 13-feature LODO-stepwise subset (S1-Lean) recovers to 0.719 (+0.032 over the literature pool).

Keywords: Query Performance Prediction · Retrieval-Augmented Generation · Retrieval Sufficiency · Safety-Critical RAG · Vision Document Retrieval

1 Introduction

Retrieval-Augmented Generation (RAG) [11] grounds a language model on documents retrieved from a corpus. Our scope is pre-generation retrieval-sufficiency prediction (narrower than full answer-quality prediction): without ground-truth labels, predict whether the top-k context likely contains the answer so the system can decide at inference time whether to answer, abstain, or escalate before the LLM hallucinates.

In safety-critical deployments the need is acute: our motivating Czech nuclear-regulator pipeline (SÜJB) forbids third-party LLM APIs for data-sensitivity reasons, and incorrect answers carry real consequences, so a confidence estimator must be fast, cheap, and local. Can the distribution shape

M. Veselý et al.

of retrieval scores provide a reliable enough signal without reading document content, or does content-aware judging add essential information?

This question maps naturally to Query Performance Prediction (QPP) [2], a well-studied task in information retrieval whose recent literature spans four threads relevant here: classic score-statistic predictors, dense-retrieval extensions, direct applications to RAG, and LLM-as-judge alternatives.

Classic post-retrieval QPP. QPP has a long history in sparse IR, with unsupervised post-retrieval predictors derived from top-k score statistics. Three classics anchor the field: NQC [17] reads query drift from top-k standard deviation; WIG [21] contrasts top-k mean against a corpus baseline; SMV [18] combines magnitude and dispersion. These signals remain the backbone of later QPP studies, including those below.

Neural and dense QPP. Dense retrievers break some classic-predictor assumptions. Coherence-based measures [20] exploit embedding-space neighbors; projection-displacement and dimension-importance estimators [7,8,6] probe dense-representation geometry. A cross-paradigm evaluation [5] finds classic predictors fail to generalize across collections and retrievers, motivating supervised feature-rich models.

QPP for RAG. Direct application of QPP to RAG is recent. Huly et al. [10] train a supervised regressor on six post-retrieval features (WIG, NQC, SMV, top-k mean and variance, U-SMV) to predict the perplexity gain that retrieval provides for text completion. Tian et al. [19] define Retrieval and Generation Performance Prediction, combining four score-only features (NQC, MaxScore, Dense-QPP, A-Pair-Ratio) with BERT-QPP [1], a cross-encoder regressor on top-1 relevance. Both works confirm that retrieval-side features alone carry substantial signal for RAG success, but neither compares them against an LLM that actually reads the retrieved documents.

LLMs as retrieval judges. A complementary line uses LLMs to assess retrieval quality: QPP-GenRE [13] fine-tunes open-source LLMs to emit per-document relevance judgments reconstructable into classical IR metrics, and Self-RAG [3] uses reflection tokens for self-critique. Such judges can be accurate but inference cost scales with retrieval depth and context, and sensitive deployments may disallow third-party APIs entirely.

Vision document retrieval. ColPali [9] embeds document page images directly via late-interaction MaxSim, outperforming OCR pipelines. ViDoRe V3 [12] benchmarks vision RAG across eight enterprise domains. QPP for this multimodal page-image setting remains relatively unexplored, particularly for retrieval sufficiency in vision-document RAG.

Contributions. (i) GeneralQPP, a 24-feature non-lexical predictor for retrieval sufficiency that reads no document content; (ii) a uniform-protocol comparison of score-based, content-based, and hybrid paradigms on ViDoRe (8 vision domains) and a Czech regulatory corpus (SÜJB); (iii) evidence that a local multimodal LLM judge is more useful as an auxiliary feature than as a standalone predictor,

Figure

Fig. 1. Retrieval-sufficiency pipeline. Retriever: Qwen3-VL-Embedding-8B (4096-dim; text encoder on queries, vision encoder on page images) returns the top-k pages with similarity scores. Score-only methods (S0–S4) read only the score vector; the content-based method C1 (Qwen3.5-35B-A3B-FP8, multimodal MoE: 35B total / 3B active per token, FP8 weights, 262K-token context) reads the retrieved JPEG pages (max 1,568 px) and returns JSON with reasoning, score ∈ [0, 100], and a sufficient flag. Hybrids (H1–H3) feed both signals into one trained classifier whose confidence output drives the answer / abstain decision in the downstream RAG generator.

while score-distribution features give the best latency-quality trade-off in our setting.

References (20)

  • BERT-QPP: Contextualized pre-trained transformers for QPP. In: CIKM
  • Query performance prediction: From fundamentals to advanced techniques
  • Self-RAG: Learning to retrieve, generate, and critique through self-reflection
  • Verification of forecasts expressed in terms of probability
  • Uncovering the limitations of query performance prediction
  • Query performance prediction for neural IR: Are we there yet? In: SIGIR
  • Projection-displacement-based QPP for dense retrievers
  • Query performance prediction using dimension importance estimators
  • ColPali: Efficient document retrieval with vision language models
  • Predicting RAG performance for text completion
  • Retrieval-augmented generation for knowledge-intensive NLP tasks
  • ViDoRe V3: Evaluation of RAG in real-world scenarios (opens arXiv in a new tab)
  • QPP using relevance judgments generated by LLMs
  • Obtaining well calibrated probabilities using Bayesian binning
  • Probabilistic outputs for support vector machines
  • Predicting query performance by query-drift estimation
  • Query performance prediction by considering score magnitude and variance together
  • Predicting retrieval utility and answer quality in RAG. In: ECIR
  • Coherence-based query performance measures for dense retrieval
  • Query performance prediction in web search environments