Extractive Summarization
Hand someone a highlighter and a ten-page report and ask for the gist. What comes back is the sentences they kept — none of their own words in it. That is extractive summarization: a summary assembled by selecting spans of the source rather than writing anything new.
How selection works
The document is split into sentences, each is scored, and the top-ranked ones are emitted in their original order under a length budget. Scoring comes in two flavours:
- Unsupervised ranking — build a graph in which sentences are nodes and similarity is edge weight, then run PageRank over it. TextRank and LexRank do exactly this; older systems used term frequency and sentence position instead.
- Supervised selection — label each sentence keep-or-drop and fine-tune an encoder such as BERT on those labels, which is what BERTSUM does on the CNN/DailyMail corpus.
Either way a redundancy check is needed, usually maximal marginal relevance, or three near-identical sentences all score highly and all get picked.
Why choose it
Every sentence in the output appeared in the input, so the summary cannot invent a figure or a claim — a decisive advantage for legal, clinical and financial documents, where a plausible-sounding fabrication is far worse than a clumsy sentence. The price is fluency: pronouns lose their antecedents, transitions jar, and nothing can be shortened within a sentence. ROUGE against reference summaries is the standard score, and sumy or a Hugging Face pipeline gives you a working baseline in a few lines.
Extractive summarization builds a summary by selecting sentences or spans directly from the source document and emitting them unchanged, rather than generating new wording. Sentences are scored for importance — by graph-based ranking such as TextRank or by a trained classifier — with a redundancy check before selection. Because every word came from the input, the output cannot fabricate facts, which makes it the safe default for legal, clinical and financial text, at the cost of fluency.
Picture someone reading a long report with a highlighter, marking the handful of sentences that carry the point. Hand over just those lines and you have a summary — in the author's own words, not the reader's.
Extractive summarization is software doing the highlighting. It reads the document, decides which sentences matter most, and stitches those exact sentences together. Because it never writes anything of its own, it cannot make something up — a real worry with tools that compose a summary from scratch. The trade-off is that the result can read a little jumpy, like quotes pasted one after another rather than a smooth paragraph.