← Latest papers
💬 NLP

Transformer Models for Text Summarization: A Comparative Study of BART, BERT, and RoBERTa

This paper presents a comparative review of transformer-based models, specifically BERT, RoBERTa, and BART, analyzing their architectures and pretraining strategies to evaluate their suitability for extractive and abstractive automatic text summarization tasks.

Original authors: Daisy Aptovska, Vinayak Elangovan

Published 2026-08-21
📖 5 min read🧠 Deep dive

Original authors: Daisy Aptovska, Vinayak Elangovan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In a world where information arrives faster than we can read it, the ability to distill a long document into its essential points has become a vital skill. This is the domain of automatic text summarization, a field of computer science dedicated to teaching machines to read, understand, and condense human language. For decades, researchers have tried to solve this by teaching computers to either pick out the most important sentences from a text or to rewrite the content entirely in new words. The first method, often called extractive, is like highlighting the best lines in a book; the second, known as abstractive, is more like a journalist rewriting a story for a different audience. Recently, a new generation of computer programs, built on a structure called a transformer, has taken over this field. These programs are trained on massive amounts of text to learn how language works, allowing them to perform these summarization tasks with remarkable speed and accuracy.

A team of researchers at Penn State University recently set out to compare three of the most popular programs in this new generation: BERT, RoBERTa, and BART. While all three are built on the same foundational technology, they are designed with different internal structures and training methods, making them suited for different kinds of work. The researchers wanted to understand exactly how these differences affect their ability to summarize news articles. They did not invent new models but instead put these three existing ones through a rigorous test to see which performed best under specific conditions. To do this, they used a collection of real news stories and the human-written summaries that accompanied them, a standard set of materials for this kind of research. Because they were working with limited computing power, they could not use the full, massive dataset, so they selected a smaller, manageable portion containing 15,000 stories for training and 100 for testing.

The experiment revealed a clear divide in how these models approach the task. The first two models, BERT and RoBERTa, are designed to understand text but not to generate new sentences. In this study, they were used to perform extractive summarization, meaning they had to identify and select the most important sentences directly from the original article. The third model, BART, is built differently; it has a structure that allows it to generate new text from scratch, making it an abstractive summarizer. When the researchers ran the tests, the results showed that the model designed for generation, BART, produced summaries that were significantly closer to the human-written references than the other two. In the language of the field, which measures how many words and phrases overlap between the computer's output and the human's, BART scored much higher. It achieved a score of roughly 0.41 on its primary measure, while the best of the extractive models, RoBERTa, scored only about 0.18.

The study also highlighted the differences between the two extractive models. RoBERTa, which is a refined and more robust version of the original BERT, consistently outperformed BERT when both were given the same training time and data. This suggests that the way a model is initially taught to understand language matters just as much as how it is applied to a specific task. However, the gap between the extractive models and the generative model was far wider. The researchers noted that while BART produced summaries that flowed better and captured the meaning more naturally, it was evaluated in a state where it had not been specifically trained on the news dataset, whereas the other two models were fine-tuned for the task. Even with this advantage given to the extractive models, the generative approach still dominated the results.

Despite the high performance of the generative model, the researchers pointed out important trade-offs. The model that creates new sentences, BART, is excellent at producing fluent and readable text, but it carries a risk of "hallucination," where it might invent a detail or slightly alter a fact to make the story flow better. In contrast, the extractive models, which simply copy sentences from the source, are guaranteed to be factually accurate because they never invent anything, but their summaries can sometimes feel choppy or disjointed. The study also acknowledged that the results were shaped by the constraints of their equipment; they ran the experiments on standard computer processors rather than specialized high-speed chips, which limited how much data they could process.

Ultimately, the work confirms that the architecture of a model dictates its strengths. If the goal is to get a quick, factually safe summary by pulling out key sentences, the extractive models like RoBERTa are a strong choice. But if the goal is to produce a smooth, human-like rewrite of a document, the generative model BART is far superior, even without extra training on the specific data. The researchers concluded that while these tools are powerful, the choice between them depends on whether one values strict factual fidelity or the fluidity of natural language. As the field moves forward, the next step will likely involve testing these models on specialized topics like law or medicine, where the balance between fluency and absolute accuracy becomes even more critical.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →