AI Engineer DojoAll lessons  Courses
Free lesson · The AI Evaluation Engineer · Lesson 3

Can an Automatic Score Tell a Good Summary From a Bad One?

Your team builds a feature that summarizes news articles. Reading every summary by hand is too slow, so someone proposes the standard automatic score, ROUGE, which compares a summary's words with summaries written by people. Before you wire it into your tests, you'll find out what it measures and what it misses, using 1,600 real summaries that experts rated by hand.

How this lesson works

You'll judge four summaries yourself, compute ROUGE by hand for one of them, then test ROUGE against the experts on the whole dataset and decide where it belongs in a real pipeline. Plan on about an hour. Step 2 needs a calculator.

The data

SummEval is a research dataset built from 100 CNN and Daily Mail news articles. Sixteen different summarization systems each summarized every article, and people wrote 11 more summaries per article as references. Experts then rated all 1,600 machine summaries from 1 to 5 on four things: relevance (does it capture the important points?), coherence (is it well organized?), fluency (is each sentence well written?) and consistency (does it only say things the article supports?). The machine summaries are shown exactly as the systems produced them, which is why many are in lowercase with spaces before punctuation.

Source: Fabbri et al., 2021, "SummEval: Re-evaluating Summarization Evaluation." Dataset: mteb/summeval on Hugging Face, MIT license. Articles are from the CNN/Daily Mail news dataset.

Step 1

Judge four summaries yourself

Read the article below. It's copied as it appears in the dataset, so image captions run into the text; that's how real scraped news looks.

Now read four machine summaries of it. For each, give it a rank from 1 (best) to 4 (worst), and mark whether it contains a factual error, meaning anything the article doesn't support.

One more prediction
Which summary will get the highest ROUGE score?

The experts and ROUGE rank these four in almost opposite order. B has the highest ROUGE score and the second-lowest expert rating. Read B again: "po-faced teenagers next to their daughters." The article says teenagers are pictured next to their fathers. B also ends mid-sentence: "the 37-year-old's images include." D has the same problem, with teenagers "in the air next to their daughters." Meanwhile C, a short, vague summary that the experts rated mostly accurate (4.33 for consistency), gets the lowest ROUGE score.

Data: SummEval, Fabbri, A. et al. (2021). SummEval: Re-evaluating Summarization Evaluation. TACL. Packaged by MTEB (mteb/summeval), MIT license. ROUGE: Lin, C.-Y. (2004).