---
title: RoBERTa (2019): a robustly optimised BERT recipe
url: https://llmsranked.com/history/roberta/
updated: 2026-11-20
---

Paper· [Pretrain, then fine-tune](https://llmsranked.com/history/#era-pretraining)

# RoBERTa (2019): a robustly optimised BERT recipe

Event date 26 July 2019

On 26 July 2019 Yinhan Liu and nine co-authors posted RoBERTa, a careful replication of BERT pretraining. They changed the training recipe, not the architecture, and reported better results on GLUE, RACE and SQuAD. It is on the timeline because it showed that training choices and data mattered as much as new model designs.

- [Facebook AI](https://llmsranked.com/providers/meta/)
- [LLMs Ranked editors](https://llmsranked.com/editorial-policy/)
- Published 20 Nov 2026
- 2 min read
- 3 sources

2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026

2019

On this page

- [Key numbers](#kn-h)
- [What the paper proposed](#what-the-paper-proposed)
- [What changed](#what-changed)
- [What it showed and what came next](#what-it-showed-and-what-came-next)
- [Why it mattered](#wm-h)
- [Questions](#hf-h)
- [On the timeline](#tl-h)
- [Sources](#hsrc-h)

## Key numbers

**GLUE leaderboard test average, single task models, reported by the authors**
88.5[ar5iv.labs.arxiv.org](https://ar5iv.labs.arxiv.org/html/1907.11692)

**Pretraining text, uncompressed**
over 160 GB[ar5iv.labs.arxiv.org](https://ar5iv.labs.arxiv.org/html/1907.11692)

**RACE test accuracy, reported by the authors**
83.2%[ar5iv.labs.arxiv.org](https://ar5iv.labs.arxiv.org/html/1907.11692)

**RoBERTa base and large parameters**
125 million and 355 million[github.com](https://github.com/facebookresearch/fairseq/tree/main/examples/roberta)

## What the paper proposed

BERT had been followed by several new models that claimed to improve on it, but each changed several things at once. The RoBERTa authors, who included Luke Zettlemoyer and Veselin Stoyanov, studied BERT pretraining one choice at a time, including hyperparameters and the amount of training data.

Their conclusion, as the abstract reports, was that BERT had been significantly undertrained. The paper was submitted to arXiv on 26 July 2019, and the authors released their models and code. A replication study asks whether a published result holds when someone else repeats it carefully. Here the finding was that the baseline, not the architecture, had been the weak part.

Sources: [arxiv.org](https://arxiv.org/abs/1907.11692)

## What changed

RoBERTa keeps the BERT architecture and makes four training changes. It trains for longer, with batches of 8,000 sequences for 500,000 steps. It drops the next sentence prediction task. It regenerates the masking pattern every time a sequence is shown, instead of fixing it once, so the same sentence is hidden in different ways across training. And it uses far more text: over 160 GB, including BookCorpus with Wikipedia, 76 GB of filtered news articles, 38 GB of OpenWebText and 31 GB of stories.

The released models match BERT's sizes: roberta.base has 125 million parameters and roberta.large has 355 million.

Sources: [ar5iv.labs.arxiv.org](https://ar5iv.labs.arxiv.org/html/1907.11692), [github.com](https://github.com/facebookresearch/fairseq/tree/main/examples/roberta)

## What it showed and what came next

The authors reported an average of 88.5 on the GLUE leaderboard test set with single task models, and 83.2 per cent overall accuracy on the RACE reading test. On the SQuAD v1.1 development set RoBERTa large scored 88.9 exact match and 94.6 F1.

All figures are the authors' own. The fairseq release page lists matching development set results for both sizes. On GLUE development tasks, roberta.large scores 90.2 on MNLI and 96.4 on SST-2, against 87.6 and 94.8 for roberta.base. On SQuAD v2.0 the large model reaches 86.5 exact match and 89.4 F1 on the development set, and the paper gives 86.8 and 89.8 on the test set.

RoBERTa became a standard strong baseline for encoder models, and many later systems started from its weights. Its lesson, that more data and compute with the same design could beat clever changes, matched the scaling results that followed in 2020 and shaped how large language models are trained.

Sources: [ar5iv.labs.arxiv.org](https://ar5iv.labs.arxiv.org/html/1907.11692), [github.com](https://github.com/facebookresearch/fairseq/tree/main/examples/roberta), [arxiv.org](https://arxiv.org/abs/1907.11692)

## Why it mattered

- It showed that the gap between BERT and its successors came partly from under training, not only from architecture.
- It gave practitioners a stronger, freely available encoder than the original BERT.
- It encouraged careful ablation studies, in which one training choice is changed at a time.
- It was an early sign that data volume and training length would drive progress.

## Questions

What is RoBERTa? RoBERTa is BERT pretrained with a better recipe: longer training, larger batches, more data, dynamic masking and no next sentence prediction.

How is RoBERTa different from BERT? It has the same architecture. The differences are in training: more text, longer training, dynamic masking and the removal of next sentence prediction.

When was RoBERTa published? The paper was posted on arXiv on 26 July 2019.

## About this page

Part of our [LLM history timeline](https://llmsranked.com/history/). The event happened on 26 July 2019; we wrote this page on 20 November 2026 from the original papers and announcements listed below. Lab-reported results are labelled as such. Read our [editorial policy](https://llmsranked.com/editorial-policy/). Found an error? [Tell us](https://llmsranked.com/contact/) and we will correct it with a dated note.

## On the timeline

[Earlier14 Feb 2019
GPT-2 (2019): the staged release of a larger GPT](https://llmsranked.com/history/gpt-2/)[Later23 Oct 2019
T5 (2019): a text to text Transformer and the C4 dataset](https://llmsranked.com/history/t5/)

### Related milestones

- [2018 · 10BERT (2018): bidirectional Transformers for language](https://llmsranked.com/history/bert/)
- [2019 · 10T5 (2019): a text to text Transformer and the C4 dataset](https://llmsranked.com/history/t5/)
- [2019 · 02GPT-2 (2019): the staged release of a larger GPT](https://llmsranked.com/history/gpt-2/)

## Terms and labs

- [Pretraining](https://llmsranked.com/glossary/#pretraining)
- [Training data](https://llmsranked.com/glossary/#training-data)
- [Parameters](https://llmsranked.com/glossary/#parameters)
- [Benchmark](https://llmsranked.com/glossary/#benchmark)
- [Meta models](https://llmsranked.com/providers/meta/)

## Sources

Papers and announcements we read for this page.

- [Liu et al., RoBERTa (arXiv)](https://arxiv.org/abs/1907.11692)
- [Liu et al., RoBERTa (ar5iv HTML version of the paper)](https://ar5iv.labs.arxiv.org/html/1907.11692)
- [fairseq RoBERTa README (GitHub)](https://github.com/facebookresearch/fairseq/tree/main/examples/roberta)
