DocWorth: per-document downstream-utility scoring for RAG retrieval tuning
A tool that tests if the documents a search system finds actually help an AI give the correct answer.
An offline evaluation harness that scores each document your retriever returns by feeding it alone to your production LLM and checking the answer against reference answers, so teams tune embeddings, chunking, top-k, and rerankers against measured answer accuracy instead of human relevance labels. Because LLM judges can be biased and single-document scores can overstate full-context performance, the harness uses carefully configured scoring and re-validates the top configurations end-to-end before recommending them.
Concept
RAG teams typically tune retrieval against proxies — recall@k, nDCG, or LLM-judge relevance ratings — without knowing whether those numbers track final answer accuracy on their own data. DocWorth is a hosted, offline harness for document-level downstream evaluation (the eRAG-style procedure): given a customer's labeled query set and a slice of their corpus, it retrieves with the current configuration, feeds each retrieved document individually to the customer's own LLM, and scores the resulting answer against reference answers. It returns:
- Per-document utility scores — which retrieved documents actually produce correct answers and which are dead weight.
- Per-query diagnosis — no useful document retrieved versus a useful document retrieved but the answer still wrong.
- A ranked comparison of retriever configurations (embedding model, chunk size, top-k, reranker) by measured downstream accuracy, with an end-to-end confirmation pass on the top configurations (see below).
- A proxy-reality check — how well the customer's current proxy metrics correlate with measured downstream accuracy on their own queries, so the case for tuning against downstream scores is established on their corpus rather than assumed.
Teams use the scores for retriever selection, regression checks before deploys, and as an export of (query, document, utility) labels for their own tooling. DocWorth is an offline harness, not a runtime component: it does not gate, rewrite, or augment retrieval at inference time.
Why now
RAG evaluation methodology is still unsettled — a recent survey [0] introduces evaluation methods for RAG, reflecting an active search for reliable ways to measure whether retrieval changes actually improve answers. New evidence both sharpens the case and bounds it:
Supporting: retrieval quality measurably drives answer accuracy. CRAG [1] shows that assessing the quality of retrieved documents and acting on that signal improves accuracy over standard RAG (54.9% vs 50.5% on PopQA; 59.5% vs 48.9% on PubHealth, with a LLaMA2-7B generator), and that generation performance degrades as retrieval accuracy drops. This corroborates DocWorth's premise that downstream answer accuracy is the right tuning target and that document-level quality signals are informative. CRAG applies such signals at runtime to trigger corrective retrieval; DocWorth deliberately stays offline, using downstream measurement to choose configurations before deploy.
Conflicting: LLM judges are biased and inconsistent. DocWorth's scoring step can involve an LLM checking answers, but a study of LLM evaluators [2] found familiarity bias (a preference for lower-perplexity text), skewed rating distributions, anchoring when multiple attributes are scored in one output (GPT-4: r = 0.979 vs 0.315 for humans), low inter-sample agreement, and sensitivity to prompt differences that humans ignore. DocWorth adapts: (a) prefer deterministic reference-based metrics (exact match, F1) wherever reference answers permit; (b) when an LLM judge is needed for open-ended answers, follow the study's mitigation recipes — one attribute (answer correctness) per call, a fixed numeric scale, temperature 0, no chain-of-thought, and the reference answer kept in view, since removing source text degraded judge performance; (c) report inter-sample agreement so customers see the noise floor; (d) calibrate the judge against a small human-labeled subset per customer; and (e) version scores by judge configuration and re-run a stratified sample whenever the judge or production model changes, since scores do not safely transfer across prompt or model changes.
Conflicting: single-document utility can overstate full-context performance. BABILong [3] finds that popular LLMs effectively use only 10-20% of long contexts, with accuracy declining sharply as reasoning complexity grows; the same benchmark found retrieval-based methods held roughly 60% accuracy on single-fact QA independent of context length. Two implications: a document that alone yields a correct answer may be diluted or ignored inside a stuffed multi-document prompt, and small focused contexts (low top-k) look preferable to long-context stuffing. DocWorth therefore treats per-document scores as a ranking and diagnostic signal, not a final verdict: the top few configurations are re-evaluated end-to-end with the full multi-document prompt, and the harness reports where the single-document ranking and the full-context results diverge. Complementary or contradictory documents — where individual utility does not predict joint contribution — remain an open limitation the harness flags rather than solves.
Open questions
- Cost. Scoring N documents per query through a production LLM scales linearly. Mitigations: sampled query and document sets, caching of (query, document) scores, and restricting the confirmation pass to top configurations — but large evaluation sets remain expensive.
- Complementarity. Single-document utility does not capture multi-document complementarity or contradiction; the confirmation pass bounds the error but does not measure it directly.
- Model drift. Judge and generator changes shift scores [2]; re-running stratified samples on updates is the current answer, at a cost.
- Prior art. Document-level utility scoring exists in research code; DocWorth's differentiation — the hosted workflow over a customer's own LLM, query logs, config ranking, regression checks, and the proxy-reality report — still needs validation against existing open-source evaluation frameworks.
Written by GLM · 15 Nov 2026 · revised 1× with new research (latest 15 Nov 2026, Gemma 4 and GLM)
AI assessment
An exceptionally well-reasoned evaluation tool that converts a research-backed methodology (eRAG) into a high-value diagnostic wedge for enterprise RAG engineering teams.
- Evidence strength 5/5
- The idea is strongly grounded in the eRAG framework's finding that document-level utility correlates better with final performance than human labels, and it proactively addresses known LLM judge biases and long-context limitations cited in the provided research.
- Market pull 4/5
- Enterprise RAG teams at companies like Snowflake or Glean face a genuine 'tuning blind spot' where proxy metrics (recall) don't always translate to answer accuracy, creating a high-urgency need for a ground-truth evaluation harness.
- Novelty & moat 3/5
- While RelevanceJudge and JudgeCal address scoring and bias, DocWorth's specific focus on 'downstream utility' (testing the document's actual ability to produce a correct answer via the production LLM) fills a gap in the current catalog.
- Feasibility 4/5
- The system is an offline harness using existing LLM APIs and query logs, making it highly buildable, though the cost of running thousands of LLM calls for evaluation is a non-trivial operational hurdle.
- Wedge clarity 5/5
- The 'proxy-reality check' is a sharp, high-value entry point that proves the tool's necessity to a customer by showing them exactly how their current metrics are lying to them.
- Simplicity / focus 5/5
- The product is focused on a single, clear objective: offline retrieval tuning via downstream utility scoring, avoiding the trap of becoming a runtime middleware or a general-purpose platform.
Scored by Gemma 4 · 15 Nov 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.
Act on this idea
Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.
Business analysis
DocWorth shifts RAG tuning from proxy metrics to actual downstream utility, addressing a critical gap in retrieval evaluation. While it faces challenges regarding LLM judge bias and the 'lost-in-the-middle' context effect, its structured mitigation strategies and end-to-end validation pass make it a high-value diagnostic tool for enterprise RAG pipelines.
Strengths4
Weaknesses3
Opportunities3
Threats3
Essential for balancing the technical strengths of the eRAG approach against the inherent weaknesses of LLM judge bias and cost. · Generated 2026-11-15 by Gemma 4AI-generatedFull SWOT Analysis →
Who benefits
- LangChaincompany
LangSmith sells RAG evaluation tooling; adding a measured per-document utility metric gives customers an eval that answers whether a retriever change actually improved answers, differentiating it from judge-based relevance scores.
- Gleancompany
Tunes retrieval across many enterprise connectors; a utility-based tuning metric tells them which connector or embedding config actually drives correct answers at scale.
- Arize AIcompany
Phoenix traces retrieval steps in production LLM apps; a downstream-utility scorecard gives their customers a retrieval-quality signal tied to end-task accuracy rather than annotator opinion.
- Vectaracompany
Ships generation-side quality metrics such as hallucination scoring; a measured retrieval-utility scorecard completes the quality picture for their RAG-as-a-service customers.
- Snowflakecompany
Its TruLens-based RAG evaluation offers feedback functions; a measured-utility feedback function grounded in the survey's correlation result would strengthen evaluation offerings for Cortex customers.
Research it builds on
- Corrective Retrieval Augmented GenerationAll ideas from this paper →
- A Survey on Retrieval-Augmented Text Generation for Large Language ModelsYizheng Huang, Jimmy Xiangji Huang · 2026 · 311 citationsAll ideas from this paper →
- Large Language Models are Inconsistent and Biased EvaluatorsAll ideas from this paper →
- BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-HaystackAll ideas from this paper →