SummerTime: Text Summarization Toolkit for Non-experts

Ansong Ni, Zhangir Azerbayev, Mutethia Mutuma, Troy Feng, Yusen Zhang, Tao Yu, Ahmed Hassan Awadallah, Dragomir R. Radev

Introduction

The field of Natural Language Processing (NLP) is advancing at breakneck speed. While powerful models now exist to summarize everything from news articles to scientific papers and messy dialogues, the barrier to entry remains high for non-experts. Researchers in other fields or software engineers often find it daunting to stay current with the latest models (like BART or Pegasus), understand which evaluation metrics to trust (ROUGE vs. BERTScore), and format data for disparate libraries. SummerTime aims to bridge this gap by rethinking the summarization workflow for users who want results without needing a PhD in linguistics.

System Architecture

SummerTime is a structured ecosystem designed to be a "one-stop-shop" toolkit. Its core technical contributions include a unified model API that integrates classic extractive models (TextRank, LexRank) with modern abstractive ones (BART, Pegasus, Longformer) under a single interface.

The SummerTime architecture and workflow, illustrating the relationship between datasets, models, and evaluation metrics.

To help users find the most effective model efficiently, the toolkit implements a Successive Halving algorithm. This approach starts by testing a large pool of models on a small subset of data, then iteratively discards the worst performers while increasing the data size for the remaining candidates, optimizing compute resources.

Automated Pipeline Construction

Many real-world tasks are more complex than simple "single-document in, summary out" workflows. SummerTime formalizes strategies like "Summarize-then-combine" versus "Combine-then-summarize" to make complex tasks plug-and-play. For tasks like multi-document or query-based summarization, the toolkit automatically assembles pipelines. For example, it can combine a retrieval step (TF-IDF or BM25) with a summarization model to handle specific queries.

An example of automated pipeline construction for the QMSum dataset, showing how multiple solution paths are generated.

As shown in the pipeline construction example, the toolkit can generate up to 12 different solution paths for a single complex task automatically, significantly reducing the manual engineering required from the user.

Datasets and Evaluation

The toolkit provides built-in access to a wide spectrum of benchmarks categorized by domain:

  • News: CNN/DailyMail, Multi-News, XSum, and MLSum.
  • Dialogue: SAMSum (messenger chats) and SummScreen (TV scripts).
  • Scientific/Technical: ArXiv, PubMedQA, and ScisummNet.
  • Query-Based: QMSum (meetings).

SummerTime emphasizes that a single metric like ROUGE doesn't tell the whole story. By integrating visual analytics tools like SummVis, the toolkit allows users to generate radar charts to compare models across multiple metrics (BLEU, ROUGE, METEOR) or scatter plots to visualize performance distributions. This helps users spot issues like hallucination or poor phrasing that aggregate scores might miss.

Conclusion and Future Work

SummerTime simplifies the summarization workflow, allowing a full evaluation and visualization process to be achieved in roughly 10-15 lines of Python code. While robust, the authors plan to expand the toolkit by adding more multilingual and query-aware models, supporting fine-tuning for niche domains, and deepening the evaluation methods to better understand specific model behaviors beyond standard performance metrics.

Summary updated

BibTeX
@inproceedings{ni2021summertime,
  author = {Ansong Ni and Zhangir Azerbayev and Mutethia Mutuma and Troy Feng and Yusen Zhang and Tao Yu and Ahmed Hassan Awadallah and Dragomir R. Radev},
  title = {{SummerTime: Text Summarization Toolkit for Non-experts}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-demo.37},
}
Figure