Text Summarization — Extractive and Abstractive

Machine Learning
Type
NLP text-generation / text-reduction task

What does it do?

Automatic text summarization is a natural-language-processing task that condenses long documents into shorter texts while retaining their key information.

It is usually approached in one of two ways: extractive summarization selects the most important spans from the source, whereas abstractive summarization generates new, condensed wording. Nenkova and McKeown (2011) surveyed research on both lines, and pretrained sequence-to-sequence models such as BART (Lewis et al., 2020) are one family of tools used for the abstractive approach.

The intuition behind the method

Reading a long document to extract its core message is slow, and it does not scale across many documents. The aim of summarization is to keep the key information while making the text much shorter. An extractive approach works like a highlighter, lifting the most informative sentences from the source unchanged. An abstractive approach is closer to a writer restating the main points in fewer words. In both cases the reader gets a compact text that is far quicker to absorb, provided the compression has not dropped anything essential.

History

Research on automatic summarization goes back to Luhn's seminal paper, which Nenkova and McKeown (2011) note was published about fifty years before their survey. That survey gave a comprehensive overview of research, covering traditional sentence extraction alongside newer approaches to determining important content, to domain and genre specific summarization, and to evaluation. Nenkova and McKeown also identified language generation and deeper semantic understanding as open challenges. The abstractive side has since been associated with pretrained sequence-to-sequence models; BART (Lewis et al., 2020), whose title describes it as denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension, is one example.

When to use it

Choose text summarization when your data are free-text documents long enough that condensing them saves meaningful reading effort, and when the source language is supported by the approach you plan to use. Extractive summarization is the more conservative choice when the output must stay traceable to the source, because it reuses source spans. Abstractive summarization needs a model that handles the language and enough data to be reliable, so it is a poor fit for a small corpus. Keyword extraction is a related but separate technique: it yields terms rather than condensed text, so it does not replace a summary. Summarization is designed for free text; for structured records, choose a method suited to that data type. Do not use summarization when there is no real text data.

Limitations and considerations

  • Abstractive models need a suitable model for the source language and sufficient data; they cannot be relied on for very small collections.
  • Extractive output is limited to sentences that already exist in the source, so it cannot merge or rephrase points that are spread across them.
  • Output quality depends on the source language being supported by the chosen approach and on documents having enough content to compress.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Reduces long documents to shorter texts while aiming to keep their key information, so readers can screen many documents more quickly.
  • Extractive selection reuses sentences from the source, so the wording of the output can be traced back to the original text.
  • Abstractive generation can produce new wording rather than reusing source sentences, when a suitable model is available for the language; fluency and faithfulness depend on the model and should be checked.

Applications

  • Producing short summaries of long reports or articles so that readers can grasp the main content quickly.
  • Condensing large document collections for exploratory review before deeper reading.
  • Generating brief overviews of lengthy source text.
  • Summarising written material in research areas that work with large volumes of text.

How it works

How it works

1

One or more source documents are loaded as input. Summarization needs enough content to compress: very short fragments leave little to reduce, so the method is aimed at longer documents where condensing saves real reading time.

2

The raw text is cleaned and split into analysable units such as sentences or tokens. This step also checks that the document language is supported by the chosen approach, since an extractive technique or model that does not handle the language will produce weaker summaries.

3

The shorter summary is produced. An extractive approach scores and selects the most important spans from the source, while an abstractive approach uses a sequence-to-sequence model to generate new, condensed wording. Either way, the aim is to keep the key information of the original while reducing its length.

4

The output is checked for whether the key information from the source survives and whether the length is appropriate. Nenkova and McKeown (2011) survey research on the evaluation of summarization. No single metric is prescribed here, so the user should judge coverage and faithfulness by comparing outputs with the source, for example by reviewing a sample of summaries against the original. This check matters most for abstractive output, which can introduce wording that is not grounded in the source.

Common pitfalls

  • Applying an abstractive model to a small corpus, where its output is unreliable.
  • Using a model or extractive technique on a language it does not support, which degrades the summary.
  • Summarizing data that is not free text; summarization is designed for free text, so structured records call for a method suited to that data type.
  • Trusting a summary without checking it against the source for dropped key information or, for abstractive output, for wording the source does not support.

Frequently asked questions

Extractive or abstractive — which should I use?

Extractive summarization selects and stitches together the most important spans directly from the source, so it stays faithful to the original wording. Abstractive summarization uses a sequence-to-sequence model to generate new, condensed text, which can read more naturally but requires a suitable trained model and enough data. Extractive is the safer default on small or sensitive corpora; abstractive suits larger collections where natural rewriting matters.

How many documents do I need?

No validated minimum corpus size is established in the cited sources. Abstractive models depend on a suitable trained model and enough data to perform reliably, so judge whether your corpus is large enough by checking a sample of its summaries against the source. For a small collection, extractive summarization is the more conservative choice because it reuses the source wording.

Does it work in languages other than English?

Yes, provided the source language is supported by the chosen approach. Applying a model or extractive technique to an unsupported language is a common cause of poor summaries.

What if I have no text data?

Summarization cannot run without text. Because it is designed for free text, choose a method suited to your data type if your data are structured rather than free text.

Related methods

Sources

  1. Nenkova, A. & McKeown, K. (2011). Automatic Summarization. Foundations and Trends in Information Retrieval.

    Open DOI reference
  2. Lewis, M. et al. (2020). BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension. ACL.

    Open DOI reference