Intermediate level · Module 9: Evaluating LLM and RAG Applications · Lesson 2 of 3
Faithfulness, Citations and Model-Graded Evaluation
Learners measure whether answers are supported by passages and correctly cited, using automatic checks and a calibrated grader model.
In this lesson you will
- Measure faithfulness and citation correctness
- Calibrate a grader model against human judgements
Key concepts
faithfulnesscitation correctnessanswer relevancegrader modelcalibration
The lesson
Faithfulness asks whether every statement in the answer is supported by the cited passages. Citation correctness asks whether the citations point to the passages that support the answer. Frameworks such as Ragas automate such measures using a grader model.
Grader models can be wrong or biased towards long answers. Grade 20 answers by hand and by the grader, measure agreement, and trust the grader only where agreement is good.
Report results per question type: averages hide weak areas, such as multi-document questions.
Step by step
- Run the assistant on the evaluation set.
- Compute citation correctness automatically.
- Grade faithfulness with a grader model and by hand for 20 answers.
- Report results by type.
Evaluating a school document assistant on 40 questions
Retrieval and faithfulness by question type show that multi-document and updated-policy questions need work.
Retrieval hit rate (top 5)
87.5%
35 of 40 questions
Illustrative evaluation run
Faithful answers
75.0%
30 of 40 fully supported by cited passages
Unanswerable questions declined
5 of 6
Separate 6-question set
Updated-policy questions
50.0%
2 of 4 faithful; old version retrieved
Show the data behind the chart
| Question type | Questions | Retrieval hit (%) | Faithful answers (%) |
|---|---|---|---|
| Single document | 20 | 95 | 90 |
| Several documents | 10 | 70 | 60 |
| Numbers and tables | 6 | 100 | 66.7 |
| Recently updated policy | 4 | 75 | 50 |
Interpretation
Single-document questions work well (19 of 20 retrieved, 18 of 20 faithful).
Questions that need several documents are the weakest: the right passages were retrieved for only 7 of 10, and only 6 answers were fully supported.
Number and table questions always retrieved the right passage, but 2 of 6 answers misread a table, so retrieval is not the problem there. For updated policies, the old version was retrieved twice.
Recommendations
- Keep tables whole with their headers, and add a check that numbers in the answer appear in the cited passage.
- Remove superseded document versions from the index and show the source date in every answer.
- Retrieve more candidates with reranking for multi-document questions, and re-run the set before release.
Practice activity
Produce the project's evaluation results with calibrated faithfulness scores.
Expected result: Results by type with a measured grader agreement rate.
Check your understanding
-
What does faithfulness measure?
Show answer
Whether every statement in the answer is supported by the cited passages.
-
Why calibrate a grader model?
Show answer
It can be wrong or biased; agreement with human grades shows whether to trust it.
Further learning
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.