The RAT: A Unified Bayesian Model for RAG Evaluation

Pius von Däniken, Felix Matthias Saaro, Mark Cieliebak, Jan Deriu
8/25/2026
cs.CLcs.AI
ragbayesian

No confident code implementation found for this paper.

Abstract

Evaluating Retrieval-Augmented Generation (RAG) systems requires assessing not only end-to-end correctness but also how individual components interact and how errors propagate through the pipeline. We introduce a Bayesian evaluation framework that jointly models retrieval success, abstention behavior, and answer correctness, factorized according to the pipeline's information flow.

Show full abstract

The model distinguishes task success. Whether the user received a correct answer (from generator success) and whether the generator behaved appropriately given the retrieval outcome. We apply the framework to 27 RAG configurations across three datasets, three retrievers, and three generators, and show that the conditional decomposition reveals substantial behavioral differences between systems that appear equivalent under marginal metrics. We further analyze the annotation allocation problem, demonstrating that retrieval-success annotations are more informative than task-success annotations for estimating policy adherence, and provide an information-theoretic explanation for this asymmetry. Finally, we extend the model to incorporate LLM-as-a-judge annotations as calibrated noisy observations, enabling practitioners to combine limited human judgments with cheaper automated assessments within a unified probabilistic model.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dniken2026rat,
  title  = {The RAT: A Unified Bayesian Model for RAG Evaluation},
  author = {Pius von Däniken and Felix Matthias Saaro and Mark Cieliebak and Jan Deriu},
  year   = {2026},
  eprint = {2608.24753},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.24753v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.24753.svg)](https://codeofpaper.com/paper/2608.24753)

Discussion