13 · RAG evaluation · Open weights

Every RAG answer, checked against its sources.

cbx-rag-faithfulness-68M

Checks each sentence of a RAG answer against the retrieved passages and flags unsupported ones.

Real inputs it was built for.

Open any example in the Playground to see the live output.

Financial: unsupported

What was the company's revenue growth in 2023?

Run it

Financial: supported

What was the company's revenue growth in 2023?

Run it

Contract

How much notice does either party need to give to terminate the agreement?

Run it

Benchmark

Measured against the alternative.

0.000

Hallucinated answers, AUROC — CUAD contracts, reviewed labels

Full results ↗
  • cbx-rag-faithfulness-68M0.776
  • RAGAS0.614
  • GPT-3.5 judge0.494
  • TruLens0.424

From the model card

Checks whether each sentence of a RAG answer is supported by the retrieved passages. Give it the question, the passages and the answer. It returns:

It is one of four CBX RAG evaluator models. See also cbx-hallucination-detector, which marks unsupported spans in any grounded answer. This model scores whole sentences against retrieved passages and was trained on contract and financial-report RAG data.

Model

68M

Licence

Apache 2.0

Fine-tuned from

jhu-clsp/ettin-encoder-68m

Read the full model card ↗

Full results. Every number, from the card.

Whole answer: does the answer contain an unsupported sentence? AUROC; RAGAS, GPT-3.5 and TruLens are RAGBench's stored scores (81–85% of CUAD answers).

Test set (labels)This model [95% CI]RAGASGPT-3.5TruLens
CUAD contracts (reviewed)0.776 [0.71, 0.83]0.6140.4940.424
FinQA reports (reviewed)0.735 [0.71, 0.76]0.5320.5260.553
CUAD (RAGBench labels)0.724 [0.64, 0.80]0.6600.5140.399
FinQA (RAGBench labels)0.576 [0.53, 0.62]0.5740.5670.528

Hallucination flag at the default operating point (whole answers, reviewed labels):

Test setAnswers flaggedPrecisionRecallFalse-positive rate
CUAD (510 answers, 77 with an unsupported sentence)13.5%0.430.390.09
FinQA (2,294 answers, 501)15.6%0.560.400.09

Against the baselines at the same flag rate. Each baseline flags as many answers as this model on the same answers. Precision / recall:

Test setThis modelRAGASGPT-3.5TruLens
CUAD (≈15% flagged)0.44 / 0.450.27 / 0.280.14 / 0.140.05 / 0.05
FinQA (≈16% flagged)0.56 / 0.400.30 / 0.210.27 / 0.190.24 / 0.17

All differences are significant (context-clustered bootstrap). On RAGBench's own FinQA labels, which rarely mark arithmetic errors, the model only ties the baselines.

Sentence level, default operating point (reviewed labels):

  • CUAD: flags 3.9% of sentences, precision 0.38, recall 0.25.
  • FinQA: flags 4.4%, precision 0.53, recall 0.33. Without the number check it would be 0.33 / 0.23.

Know its limits. Before you ship it.

Limitations

  • Misses many hallucinations. At the default point it finds about 40% of the answers with an unsupported sentence. On CUAD, about half of its flags are false alarms. Use "high_recall" to catch more at the cost of more false alarms. It is a screening signal, not a verdict.
  • Right number, wrong context passes: a number copied correctly but attached to the wrong year or entity is still accepted. About 6% of sentences whose numbers all verify are unsupported.
  • Two domains only: contracts and financial reports in English. Other domains, conversational answers and code were not tested.
  • LLM labels: labels come from LLM review; no human annotation.
  • Only the given passages count: a statement that is true but not in the passages is flagged.

Training data

What it learned from.

01

Source

The CUAD (contracts) and FinQA (financial reports) subsets of RAGBench (CC BY 4.0). Its answers were written by claude-3-haiku and gpt-3.5-turbo; its labels came from gpt-4-turbo. - Train: 1,530 CUAD and 12,502 FinQA answers. - Test: 510 CUAD (102 contracts) and 2,294 FinQA answers.

02

Labels were reviewed by LLMs, not humans

- Faithfulness: majority vote of RAGBench and two LLM reviewers: Claude Haiku and gpt-5.4-mini, or two Haiku passes for CUAD train. - CUAD context relevance / utilization: majority vote of RAGBench and two Claude Haiku passes. - FinQA context labels: kept as RAGBench made them. - Audits: samples were checked blind by Claude Opus and Claude Sonnet.

03

Response relevance

Uses its own set (rr-v0.1). Claude Haiku wrote varied answers to the RAGBench questions and labelled them.

04

Test sets

The RAGBench test splits, with the same label views.

05

Baselines

RAGAS, GPT-3.5 and TruLens scores are the ones stored in RAGBench, not re-runs.

06

Rule

Every threshold and setting was fixed on validation.

One size. Smaller is faster, larger is more accurate.

Run it on your own data. In the CobuildX Console.

Sign in to the console to call this model live, compare sizes and create an API key.