Notes

Headline Generation

A headline is a summary on a brutal budget: one line, often under ten words, carrying the point of a whole article. Headline generation is the task of producing that line automatically from the document itself.

How systems do it
The standard formulation is sequence-to-sequence: an encoder reads the article, or as much of its opening as the input limit allows, and a decoder writes a short new sentence token by token. Training data comes free in enormous quantities, because every news archive is a corpus of document-and-headline pairs — Gigaword and the single-sentence summaries of XSum are the usual benchmarks, and BART, T5 or PEGASUS the usual starting points. Decoding is beam search with a tight length cap and a repetition penalty.

Why it is harder than it looks
The output is almost entirely abstractive: a good headline reuses few of the article's words, so the model has to paraphrase rather than extract. That is where it fails:

  • Hallucinated specifics — a name, number or place that reads plausibly and appears nowhere in the source.
  • Drift into clickbait, because the headlines it learned from were written to be clicked.
  • ROUGE rewarding word overlap with one reference title while saying nothing about whether the claim is true.

Where it is used
Beyond newsrooms: subject lines for generated mail, titles for support tickets, section labels for long transcripts. It also serves as the standard testbed for extreme summarisation — the compression is severe enough that faithfulness problems surface immediately, which is why human judgement rather than an overlap score decides whether a system ships.

Headline generation is the task of producing a single short line that conveys the point of a document, normally framed as abstractive summarisation at an extreme compression ratio. Systems are sequence-to-sequence models fine-tuned on the article-and-title pairs news archives supply in bulk. It matters as the hardest case of faithful summarisation: with so few words available the model paraphrases instead of copying, so invented details and lost emphasis surface immediately.

Every news story has a line above it that tells you what it is about in a handful of words. Writing that line is a craft: you have to know what the point of the story is, then say it in almost no space at all.

Headline generation is software doing that job. It reads a piece of text and writes a short title for it, having picked up the knack from millions of real articles alongside the headlines real editors gave them. The useful part is also the risky part — with so few words to play with, the software rewrites rather than quotes, and a rewritten line can quietly claim something the article never said.