BART is a language model that pretrains an encoder-decoder Transformer on the task of restoring an original document from a deliberately corrupted one. It was proposed in 2019 by Lewis et al. at Facebook AI and presented at ACL 2020. The name comes from a Transformer that combines a Bidirectional encoder with an Auto-Regressive decoder.
The leading pretraining methods before it had the following limitations.
- BERT: It predicts masked words from the surrounding context, which makes it strong at understanding text, but because it predicts words independently, it is hard to use for text generation.
- GPT: It predicts the next word from left to right, so it can generate text, but each word can only see the context to its left.
BART reads the corrupted document with a bidirectional encoder and rewrites the original document one word at a time with a left-to-right decoder. Because the encoder input and the decoder output need not have the same length, any kind of corruption (noise) can be used, not just masking words but also deleting or reordering them. The paper states that BART can be viewed as a generalization of both BERT (bidirectional encoder) and GPT (left-to-right decoder).
The paper compared many noising schemes and found that the combination of "text infilling," which replaces spans with a single mask, and "sentence permutation," which shuffles sentence order, worked best. BART-Large, trained at the same scale as RoBERTa, performed on par with RoBERTa on GLUE and SQuAD while achieving state-of-the-art results at the time on summarization, dialogue, and abstractive question answering. On the XSum summarization task, ROUGE improved by about 6 points over the previous best.

