Key takeaways
- ✓ROUGE counts the words a summary shares with a reference answer written in advance. It measures wording, not truth. A summary that copied the reference and added a made-up sentence scored 0.92; the same facts in other words scored 0.81. Every word of the reference was still there, and the made-up sentence cost almost nothing.
- ✓Faithfulness needs no reference: split the summary into short claims, check each against the source (the chat), and score the share that holds up. Coverage is the other direction: list the facts a summary must include and count how many it has. They catch opposite failures: made-up facts against missing ones. A summary needs both.
- ✓A score stands in for a person, so check it against people. Rank correlation asks whether the score and the ratings put the summaries in the same order (1 = same order, 0 = unrelated). Against a simulated lead's ratings of 120 summaries: coverage 0.62, faithfulness × coverage 0.61 (a tie), faithfulness alone 0.35, ROUGE-1 0.32, ROUGE-L 0.28.
- ✓ROUGE punishes style. On flawless summaries, the ones written in a second style scored 0.19 lower on ROUGE-1 and 0.24 lower on ROUGE-L. Faithfulness and coverage didn't change. Compare two AIs with ROUGE and the one that happens to write like the reference wins.
- ✓Run both halves of a damage test. Break flawless summaries one known way, and a good score should drop: a wrong refund amount cost faithfulness 0.30 and coverage 0.26, but ROUGE only 0.04. Make a harmless change, and a good score should hold still: rewording cost ROUGE-1 0.21, about five times what the wrong amount cost it.
- ✓Know each score's blind spots. Reversing a request ("does not want a refund") didn't move faithfulness or coverage in any of the 21 summaries tested. The word-matching checker skips little words like "not", and every other word is still in the chat.
- ✓The checker is a grader too, so measure its errors. It caught all 23 summaries with a made-up fact or wrong detail, but flagged 41 of the 86 summaries whose claims were all true (48%), such as "wants a tracking update" for "where is the package?". A low faithfulness score here often means the checker failed, not the summary.
Our support team has an AI that reads each customer chat and writes a short summary for the next agent. Here's one chat: Nia wants a new delivery address, a refund and an invoice. Score two summaries of it with ROUGE, a classic automatic score for summaries. Summary A says the same facts in other words: ROUGE 0.81. Summary B copies a good summary word for word and adds one sentence, "Customer says this is their first order with us." Nia never said that. Its ROUGE: 0.92, higher. This chapter is about what that score measures, two scores that look at the chat instead, and how to test any score before you trust it.
The examples come from Lab 09 (Metrics Without a Reference Answer) of the eval labs, scripts 01_four_metrics.py (ROUGE, faithfulness and coverage on single summaries), 02_validity.py (which score agrees with people, style bias, and the checker's own errors) and 03_perturbations.py (damage tests), with the scores in the lab's evalkit/textmetrics.py. The lab's last script, 04_live_metrics.py, swaps in embeddings and an AI claim checker through a paid API; it isn't covered here. Everything is simulated: the 120 chats and summaries, the flaws planted in them, a second writing style, and the team lead's 1–5 ratings. The claim checker in this chapter is simple offline code that matches words and numbers, not an AI. The customers (Nia, Tom, Priya, Sam) are made-up names from the lab's data. Each summary also has an id in the lab, m001 to m120; the chapter uses the customer's name instead.
The setup
Each of the 120 simulated chats comes with:
- a summary written by the summarizer. Some summaries have planted flaws, the same kinds as in Chapter 7: a made-up fact, a wrong detail (like a wrong order number), a missed request, missing ids, no next step, a judgmental remark, padding. 50 of the 120 have no flaw.
- a reference answer: a flawless summary of the same chat, written in advance, for scores that compare with one.
- must-have facts: what any good summary of this chat must include (the order number, each request, useful context like "it was a gift").
- the lead's rating, 1 to 5: the human judgment every score is checked against.
About a third of the summaries are written in a second style: "Requests: refund of $48. Action: …" instead of "Customer wants a refund of $48. Next step: …". Same content, other words. A good score shouldn't care.
One more thing to know up front: the lead is simulated too. Her rating is a rule: start at 4, add 1 if the chat had useful context, take off 2 for each made-up fact or wrong detail, 1.5 for a missed request, 1 for a strong judgmental remark or padding, 0.7 for missing ids or no next step, 0.5 for a mild remark, add a little noise, and clip to 1–5. Writing style plays no part. So the comparison with her ratings later in the chapter is partly built in. With real people you'd run the same check on their ratings.
What ROUGE counts
ROUGE needs a reference answer. It counts the words a summary shares with it: 0 means no words in common, 1 means the same words. The version used here, ROUGE-1, works with single words and counts repeats. It takes two shares: of the summary's words, how many are in the reference (precision), and of the reference's words, how many are in the summary (recall). Then it combines them into one number (their harmonic mean, called F1). That comes out to a simple formula: 2 × shared words ÷ (summary words + reference words).
- Summary B kept all 55 words of Nia's reference and added nine more, 64 words in all: 2 × 55 ÷ (64 + 55) = 0.92.
- Summary A has 46 words, and 41 of them are in the reference: 2 × 41 ÷ (46 + 55) = 0.81. It says "Requests" instead of "Customer wants" and "Action" instead of "Next step", and every swapped word costs points.
ROUGE-L is a variant that also counts word order: it uses the longest run of words the two texts share in the same order, gaps allowed. For B it's also 0.92; for A, 0.79.
It's like grading an essay by counting the words it shares with the answer key. Copy the key and add a lie, and you get higher marks than an honest answer in your own words. Pick a summary below and look at it through each score. The ROUGE view is the answer key: highlighted words are shared with it, red ones aren't.
The summary: B · the reference plus a made-up sentence
Nia (order #63369, Merino Beanie): item stopped working after a week. Customer wants the address changed to Reno, and wants a refund of $120, and needs an invoice copy. It was a birthday gift. Customer says this is their first order with us. Next step: update the address before the parcel ships; refund of $120 to be issued (3–5 days); email the invoice.
The reference answer (the answer key)
Nia (order #63369, Merino Beanie): item stopped working after a week. Customer wants the address changed to Reno, and wants a refund of $120, and needs an invoice copy. It was a birthday gift. Next step: update the address before the parcel ships; refund of $120 to be issued (3–5 days); email the invoice.
55 of the summary's 64 words are in the reference, which has 55. ROUGE-1 = 2 × 55 ÷ (64 + 55) = 0.92. Every word of the key is here, plus nine that aren't: the made-up sentence costs it almost nothing.
Highlighted: shared with the reference (each reference word counts once). Red: not in the reference. Simulated chats and summaries. Nia's summary A is the lab's own rewording function applied to her reference answer, computed with the lab's code.
Faithfulness: check each claim against the chat
What if we skip the reference and check the summary against the chat itself? Scores that need no reference answer are called reference-free. The first one:
- Split the summary into claims. A claim is one short statement that's either true or false: "Customer wants the address changed to Reno", "It was a birthday gift". The lab splits at sentences, semicolons and ", and".
- Check each claim against the chat. The share of claims that hold up is the summary's faithfulness.
The lab's checker is simple code. A claim passes if every number in it appears in the chat, and at least 60% of its content words do too. Content words are what's left after skipping little words like "a", "the", "not" and "wants", and word endings like -s and -ed are trimmed so "ships" matches "ship".
On summary B, it catches the made-up sentence: nothing in the chat says "first" or "says". But it also rejects "needs an invoice copy". Nia said "I also need an invoice", and "copy" isn't in the chat, so only one of the claim's two content words matches. That's a false alarm: a true claim marked false. Seven of nine claims pass: faithfulness 0.78. Summary A has the same false alarm and no made-up sentence: seven of eight, 0.88.
Coverage: is anything missing?
Faithfulness can't see what's missing. A summary that says one true thing would score a perfect 1. So the second reference-free score looks the other way. For each chat, list the facts a summary must include, each as words that must appear. For Nia's chat: the order number (63369), the address request (Reno), the refund ($120 and "refund"), the invoice, and the gift. A summary's coverage is the share of those facts it contains.
Both of Nia's summaries have all five: coverage 1.00 for both. So coverage can't see the made-up sentence. The two scores catch opposite failures: faithfulness catches what shouldn't be there, coverage what should be and isn't. Multiply them, faithfulness × coverage, and a summary needs both to score well.
The lab's first script also averages each score over all 120 summaries, grouped by the flaw planted in them (a summary with two flaws counts in both rows):
| Planted flaw | Summaries | ROUGE-1 | ROUGE-L | Faithfulness | Coverage |
|---|---|---|---|---|---|
| no flaw | 50 | 0.93 | 0.91 | 0.93 | 1.00 |
| made-up fact | 11 | 0.88 | 0.88 | 0.71 | 0.92 |
| wrong detail | 14 | 0.87 | 0.86 | 0.56 | 0.67 |
| missed request | 21 | 0.74 | 0.73 | 0.81 | 0.68 |
| missing ids | 16 | 0.82 | 0.81 | 0.89 | 0.69 |
| no next step | 12 | 0.70 | 0.69 | 0.75 | 0.91 |
| strong judgmental remark | 7 | 0.83 | 0.81 | 0.70 | 0.92 |
| mild judgmental remark | 2 | 0.84 | 0.84 | 0.78 | 0.83 |
| padding | 3 | 0.65 | 0.59 | 0.75 | 1.00 |
Read each row against "no flaw". ROUGE drops when words go missing or get added (missed requests, no next step, padding) and barely moves for factual errors: a wrong number is one changed word. Faithfulness drops most for wrong details, made-up facts and judgmental remarks, which the chat doesn't support. But even flawless summaries average only 0.93, because of false alarms. Coverage drops for missed requests and missing ids, and for wrong details (a wrong order number means the right one is missing). No score catches a missing next step well.
Which score agrees with people?
A score is a stand-in for a person, so check it against one. The lead rated all 120 summaries. Now line the summaries up twice: once by the score, once by her rating. Then ask how similar the two orders are. That's a rank correlation. The lab uses Spearman's: number each summary by its place in each line (1st, 2nd, …) and correlate the two lists of places. If the orders match exactly, it's 1. If they're unrelated, about 0. If one is the other reversed, −1. Ties share a place: if 41 summaries all score 1.00, they all get the average of the places they'd take. The lab also prints Kendall's, which counts pairs of summaries: how many the score and the rating put in the same order, minus how many in the opposite order. It runs a little lower but ranks the scores the same way.
Before reading on, guess which score agrees with the lead best.
| Score | Spearman | 95% interval | Kendall |
|---|---|---|---|
| coverage | 0.62 | 0.48–0.74 | 0.55 |
| faithfulness × coverage | 0.61 | 0.48–0.72 | 0.48 |
| faithfulness | 0.35 | 0.17–0.51 | 0.27 |
| ROUGE-1 | 0.32 | 0.14–0.48 | 0.25 |
| ROUGE-L | 0.28 | 0.11–0.45 | 0.22 |
The intervals are 95% confidence intervals (a range that should contain the true value 95 times in 100, as in Chapter 1), built by a bootstrap: draw 120 summaries at random from the 120, allowing repeats, recompute, 2,000 times (Chapter 5 explains it). Coverage and faithfulness × coverage are about 0.6; faithfulness alone and both ROUGEs about 0.3.
Are the top two different? Comparing their numbers by eye isn't enough. Compare them on the same summaries, a paired comparison: resample the 120 summaries, compute both correlations on each resample, and look at the difference. Coverage minus faithfulness × coverage: +0.01, with a 95% interval from −0.09 to +0.11. The interval includes zero: a tie.
All five, with their 95% intervals
ROUGE-1: 0.32. From a rating of 2 to a rating of 5, the average only rises from 0.83 to 0.89, and summaries of every rating overlap. It rewards the reference's wording, and a summary can keep most of those words while getting the facts wrong.
The lead is simulated: her rating is a rule (points off per flaw, writing style ignored) plus a little noise, so part of this ranking is built in. With real people, run the same check on their ratings. Intervals: the lab's bootstrap (2,000 resamples of the 120 summaries, seed 0). Scores below 0.3 are drawn at 0.3.
Why does faithfulness alone do so poorly? It can't see missing facts, and the lead's rule penalizes those. And its checker's false alarms pull many true summaries down (more on that below). Why does coverage alone do as well as the product? Partly because of how the lead is built: her rule penalizes missed requests and missing ids, exactly what coverage looks for. But coverage can't see a made-up fact at all, so the correlation isn't the whole choice. Pick scores by which failures matter too.
How many ratings do you need? Enough for the intervals to separate the scores you're choosing between. With 120, they're a quarter to a third wide (coverage: 0.48 to 0.74), enough to tell 0.6 from 0.3 but not 0.62 from 0.61.
ROUGE punishes a writing style
Take only the 50 flawless summaries: same quality, two styles. A fair score gives both styles the same average.
| Score | First style (31) | Second style (19) | Gap |
|---|---|---|---|
| ROUGE-1 | 1.00 | 0.81 | −0.19 |
| ROUGE-L | 1.00 | 0.76 | −0.24 |
| faithfulness | 0.92 | 0.93 | +0.01 |
| coverage | 1.00 | 1.00 | 0.00 |
Priya's summary is one of them: flawless, in the second style, ROUGE-1 0.84 (in the scorer widget above). One detail of the simulation exaggerates the gap: a flawless first-style summary is word for word its own reference answer (the same generator wrote both), so it scores exactly 1.00. But the direction is the point. Compare two AIs with ROUGE, and the one that happens to write like the reference wins.
Damage tests, both halves
Another way to test a score needs no ratings at all. Take good outputs, break each one in a known way, and see if the score drops. This is a damage test (the lab calls it a perturbation test). The lab takes the 22 flawless first-style summaries with at least two requests, like Tom's, and applies each change with a small function (some changes don't apply to every summary: only 17 mention a dollar amount, for instance).
The other half: make a harmless change, the same facts in other words or another order, and check that the score holds still. A score that misses damage is blind. A score that moves for harmless changes raises false alarms, and will make two equally good systems look different.
| Change | Summaries | ROUGE-1 | ROUGE-L | Faithfulness | Coverage |
|---|---|---|---|---|---|
| drop a request | 22 | 22 (−0.07) | 22 (−0.07) | 9 (+0.02) | 12 (−0.16) |
| add a false fact | 22 | 22 (−0.05) | 22 (−0.05) | 22 (−0.12) | 0 |
| change an amount | 17 | 17 (−0.04) | 17 (−0.04) | 17 (−0.30) | 17 (−0.26) |
| reverse a request | 21 | 21 (−0.04) | 21 (−0.04) | 0 | 0 |
| pad with repetition | 22 | 22 (−0.26) | 22 (−0.26) | 22 (−0.10) | 0 |
| reorder sentences (harmless) | 22 | 0 | 22 (−0.35) | 0 | 0 |
| reword, same facts (harmless) | 22 | 22 (−0.21) | 22 (−0.25) | 0 (+0.01) | 0 |
Each cell: in how many summaries the score dropped, and its average change.
- A wrong amount. Change Tom's refund from $120 to $135. Faithfulness drops, because $135 isn't in the chat: −0.30 on average. Coverage drops because the right amount, a must-have fact, is gone: −0.26. ROUGE loses only 0.04: the amount appears twice in each summary, and that's two words out of about fifty.
- A reversed request. "Customer does not want a refund." Faithfulness and coverage don't move in any of the 21 summaries. The checker skips little words like "not", and every other word is still in the chat. ROUGE dips 0.04, the same small amount as for any two-word edit: it can't tell a reversed meaning from any other small change. Catching this needs a checker that understands meaning, or a rubric a person applies.
- A dropped request. Coverage notices only 12 of 22: the dropped request often survives in the "Next step" line ("email the invoice"), so its keyword is still found. Faithfulness moves either way (it fell in 9 and rose in 5), because removing a claim changes the share.
- Harmless rewording. Faithfulness and coverage never drop (faithfulness even rose in 2 of 22). ROUGE-1 drops 0.21, about five times what the wrong refund cost it. Reordering sentences leaves ROUGE-1 alone (it ignores order) and costs ROUGE-L 0.35.
Tom's flawless summary, after “change an amount”
Tom (order #65046, Alpine Fleece): item arrived damaged. Customer wants a refund of $120, $135, and wants the address changed to Denver. Next step: refund of $120 $135 to be issued (3–5 days); update the address before the parcel ships.
All 17 summaries this change applies to: how many dropped (average change)
| ROUGE-1 | ROUGE-L | faithfulness | coverage |
|---|---|---|---|
| 17 of 17 (−0.04) | 17 of 17 (−0.04) | 17 of 17 (−0.30) | 17 of 17 (−0.26) |
$135 isn't in the chat, so faithfulness drops; the right amount, a must-have fact, is gone, so coverage drops. ROUGE loses 0.04 on average: two words in a summary of about fifty.
Green: the score did what a good score should (dropped for damage, held still for a harmless change). Red: it didn't. Amber: only sometimes. The changes are the lab's own functions, applied to 22 flawless summaries with at least two requests (fewer where a change doesn't apply, such as no dollar amount). Simulated data.
Grading the grader
The claim checker is a grader too, so measure it the way you'd measure any detector: how often it catches a real problem, and how often it raises a false alarm. The flaws are simulated, so we know which summaries really contain a false claim. Call a summary flagged when its faithfulness is below 1.
| What the summary really contains | Summaries | Flagged |
|---|---|---|
| a made-up fact or a wrong detail | 23 | 23 (all caught) |
| only a judgmental remark or padding (not supported by the chat either) | 11 | 11 |
| claims that are all true | 86 | 41 (48%) |
It caught every factual error. But it flagged 41 of the 86 summaries whose claims were all true: almost half. Like Sam's: he asked "Can someone tell me where the package actually is?", and the summary says "Customer wants a tracking update". True, but "tracking" isn't in the chat, so only half the claim's content words match. Of the 75 summaries it flagged in all, 41 were false alarms. So when faithfulness is low here, it's often the checker that failed, not the summary.
A note on that percentage: divide by the right group. Of the 97 summaries without a factual error, 11 have a remark or padding. Those are flagged fairly, so they can never be false alarms. Among the 86 whose claims are all true, it's 41 of 86: 48%. Dividing by all 97 would give 42%, which is what the last column of Script 2's table shows; the line printed under the table gives the 48%.
A better checker, an NLI model (trained to tell whether one text supports another) or an AI judge, would recognize paraphrases and negations, at a cost per claim. The lab's Script 4 tries that with a paid API; it wasn't run for this chapter. Either way, it's still a grader with its own error rates to measure, which is the subject of the next chapter.
What to do
- Don't trust ROUGE for open-ended text. It rewards copying the reference's wording; use it only when there's essentially one right wording, and validate it first even then.
- Score against the source. For summaries and answers grounded in a document: faithfulness (claims supported) and coverage (must-have facts present), together, because they catch opposite failures.
- Check every score against people. Rank correlation with human ratings on a sample, with an interval. Compare close scores with a paired comparison on the same outputs.
- Check for bias. Do equally good outputs score differently for an irrelevant reason, like writing style?
- Run both halves of a damage test. Real damage should move the score; harmless changes shouldn't. Take the damage from the failure modes (kinds of failure) you found in error analysis, and the harmless changes from how equally good systems differ.
- Measure the checker. Its catch rate and false-alarm rate on labeled examples, before its score goes in a report.
Caveats
- Everything is simulated. The chats, summaries, flaws, styles and the lead's ratings come from the lab's generator. Real summaries are messier and real raters disagree with each other.
- The lead is a rule. Her rating takes points off per flaw and ignores style, so the correlation ranking is partly built in: the style gap can only hurt ROUGE, and coverage looks for exactly the omissions her rule penalizes. Run the check on real people's ratings.
- The checker is deliberately crude. Its false alarms and its blindness to negation are what a word-matching checker does. An NLI model or an AI judge would do better; how much better has to be measured, not assumed.
- The style gap is exaggerated. Flawless first-style summaries match their reference word for word, so their ROUGE is exactly 1.00.
- Small, single samples. 120 summaries and 22 base summaries for the damage tests. The correlations have intervals a quarter to a third wide.
- One computed number. Summary A in the cold open is the lab's own rewording function applied to Nia's reference answer, scored with the lab's code; the lab doesn't print it. The lab's own rewording example, Priya's (0.84), is a different chat.
The checklist
- Reference-based or reference-free? Does the score compare with a known answer, or check against the source?
- What does it reward? Wording (ROUGE), supported claims (faithfulness), included facts (coverage)?
- Does it agree with people? Rank correlation with ratings, with an interval; close scores compared on the same outputs.
- Is it biased? Do equally good outputs in another style score lower?
- Does it drop for real damage? A wrong number, a made-up fact, a dropped request, a reversed request.
- Does it hold still for harmless changes? Rewording, reordering.
- How good is its checker? Catch rate and false-alarm rate, measured on labeled examples.
Practice: build the scores, then test them
Write the lab's text metrics: ROUGE-1 and ROUGE-L, the word-matching claim checker, faithfulness, coverage, Spearman's rank correlation with tied ranks, and the checker's catch and false-alarm rates. The tokenizing rules are given, so your numbers match the lab's exactly. The tests use the lab's data: Nia's two summaries (0.92 against 0.81), the "invoice copy" and "tracking update" false alarms, Tom's wrong amount and reversed request, all 120 summaries against the lead's ratings (coverage 0.62, ROUGE-1 0.32), and the checker's 23 of 23 and 41 of 86.
Quiz
1.A summary copies the reference answer word for word and adds one made-up sentence. Another says the same true facts in other words. Which gets the higher ROUGE score, and why?
2.A summary says just one true sentence and leaves out most of what the customer asked for. What do faithfulness and coverage say?
3.Coverage scored a rank correlation of 0.62 with the lead's ratings, faithfulness × coverage 0.61. Which is better?
4.You change a flawless summary's refund from $120 to $135. ROUGE drops 0.04 on average. Why so little?
5.Rewording a flawless summary (same facts, other words) cost ROUGE-1 0.21 on average and didn't lower faithfulness or coverage. What does that half of the test show?
6.The word-matching claim checker caught all 23 summaries with a made-up fact or wrong detail. What else do you need to know before trusting it?
Check your understanding
Try each question before opening its answer.
What does ROUGE measure, and why did a summary with a made-up fact beat an honest one?
The words a summary shares with a reference answer written in advance. The summary with the made-up sentence kept all 55 of the reference's words and added 9 (0.92); the honest one said the same facts in other words, sharing 41 of its 46 (0.81). ROUGE measures wording, not truth.
How does faithfulness work, and what does a word-matching checker get wrong?
Split the summary into short claims, check each against the source, and score the share that holds up. A word-matching checker can't recognize meaning: it rejects true claims in other words ("needs an invoice copy" when the customer said "an invoice"), and it accepts a reversed request, because "does not want a refund" shares its content words with the chat.
Why use faithfulness and coverage together?
They catch opposite failures. Faithfulness catches what shouldn't be there (made-up facts, wrong details) but can't see what's missing: one true sentence scores a perfect 1. Coverage catches missing facts but can't see a made-up one: both of Nia's summaries had coverage 1.00. Multiplied, a summary needs both to score well.
How do you check that a score agrees with people?
Collect ratings on a sample, then measure the rank correlation: do the score and the ratings put the outputs in the same order? Give it an interval, and compare close scores on the same outputs (a paired comparison). Against the simulated lead: coverage 0.62 and faithfulness × coverage 0.61, a tie (difference +0.01, interval −0.09 to +0.11); ROUGE-1 only 0.32.
What is a damage test, and why run both halves?
Change good outputs in one known way and watch the score. Damage (a wrong amount, a made-up fact) should make it drop; that half finds blind spots, like the reversed request that faithfulness and coverage never noticed. Harmless changes (rewording, reordering) should leave it alone; that half finds false alarms, like ROUGE-1 dropping 0.21 for rewording, five times what a wrong amount cost it.
Why can't you compare two AIs fairly with ROUGE?
It rewards writing like the reference. Flawless summaries in a second style scored 0.19 lower on ROUGE-1 (0.24 on ROUGE-L) with no difference in quality. The AI whose style happens to match the reference wins, whatever it actually says.
Why measure the claim checker itself, and what did it show here?
Its mistakes end up in every faithfulness score. It caught all 23 summaries with a made-up fact or wrong detail, but flagged 41 of the 86 whose claims were all true, 48%. A low faithfulness score was often the checker's error, not the summary's.
Next up: Chapter 9, the judge as a measuring instrument: when the checker is an AI judge, how many human labels it takes to calibrate it against people, and how its errors carry into the score you report.