BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
Written for the Research library (claude-opus-5-5) from the paper text. Original — aclanthology.org/2020.acl-main.703.pdf
Summary
Earlier self-supervised pre-training methods were usually built either for understanding tasks, like BERT-style masked models, or for generation, like GPT-style left-to-right models. Few did both well. The authors propose BART, a sequence-to-sequence Transformer pre-trained as a denoising autoencoder. Input documents are corrupted by a noising function, and a bidirectional encoder works with an autoregressive decoder to restore the original text. The encoder input does not need to line up with the decoder output, so any kind of corruption can be used, including changes in length. The authors ran a controlled comparison of noising strategies and re-implemented earlier objectives. The best overall mix was shuffling sentences together with text infilling, where spans of varying length are each replaced by one mask token. After fine-tuning, the large model performs about as well as RoBERTa on GLUE and SQuAD. It also sets new state-of-the-art results in abstractive summarization, dialogue and generative question answering. This matters because one pre-trained model can handle both comprehension and generation, and the authors released code and weights publicly.
Key points
- Architecture: a standard Transformer encoder-decoder with GeLU activations. The base model has 6 encoder and 6 decoder layers (hidden size 768), and the large model has 12 of each. It has about 10% more parameters than a BERT model of the same size.
- Noising schemes tested: token masking, token deletion, text infilling, sentence permutation and document rotation. In text infilling, span lengths come from a Poisson distribution (λ = 3), and zero-length spans are allowed. Unlike SpanBERT, each span becomes a single [MASK].
- Generation results: gains of up to 3.5 ROUGE on XSum, plus new top scores on several dialogue, QA and summarization benchmarks. The main weakness the authors note is a tendency to hallucinate unsupported content.
- Machine translation: a new, randomly initialized source encoder replaces BART's embedding layer and is trained in two stages. This gives +1.1 BLEU over a back-translation baseline on WMT Romanian-English, using only English (target-side) pre-training.
- Release: code and pre-trained models are available in fairseq and Hugging Face Transformers.
Cited by
- Semitic Root Encoding: Tokenization Based on the Templatic Morphology of Semitic Languages in NMT
- Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning
- Muppet: Massive Multi-task Representations with Pre-Finetuning
- Unified Pre-training for Program Understanding and Generation
- Graph Pre-training for AMR Parsing and Generation
- A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivity
- UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Training
- Efficient Training of Language Models to Fill in the Middle
- Extracting Training Data from Large Language Models
- LexGLUE: A Benchmark Dataset for Legal Language Understanding in English
- A Survey on Evaluation of Large Language Models
- DialogSum: A Real-Life Scenario Dialogue Summarization Dataset
- Binding Language Models in Symbolic Languages
- AugGPT: Leveraging ChatGPT for Text Data Augmentation
- A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers
- RobBERT: a Dutch RoBERTa-based Language Model
- RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning
- 8-bit Optimizers via Block-wise Quantization
- GSum: A General Framework for Guided Neural Abstractive Summarization
- GLM: General Language Model Pretraining with Autoregressive Blank Infilling
- FEQA: A Question Answering Evaluation Framework for Faithfulness Assessment in Abstractive Summarization
- QAFactEval: Improved QA-Based Factual Consistency Evaluation for Summarization
- A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
- CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- A Survey of Data Augmentation Approaches for NLP
- From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Models
- Bias and Fairness in Large Language Models: A Survey
- ROSCOE: A Suite of Metrics for Scoring Step-by-Step Reasoning
- Evaluating Factuality in Generation with Dependency-level Entailment
- Annotating and Modeling Fine-grained Factuality in Summarization
- LongT5: Efficient Text-To-Text Transformer for Long Sequences
- Introducing BEREL: BERT Embeddings for Rabbinic-Encoded Language
- Towards a Unified View of Parameter-Efficient Transfer Learning
- Measuring Mathematical Problem Solving With the MATH Dataset
- TRUE: Re-evaluating Factual Consistency Evaluation
- HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units
- Efficient Attentions for Long Document Summarization
- LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking
- ParaAMR: A Large-Scale Syntactically Diverse Paraphrase Dataset by AMR Back-Translation
- A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions
- Transformer-Patcher: One Mistake worth One Neuron
- COMET-ATOMIC 2020: On Symbolic and Neural Commonsense Knowledge Graphs
- Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering
- T-STAR: Truthful Style Transfer using AMR Graph as Intermediate Representation
- Survey of Hallucination in Natural Language Generation
- LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusion
- Challenges and Applications of Large Language Models
- Dense Passage Retrieval for Open-Domain Question Answering
- RealTime QA: What's the Answer Right Now?
- UNIFIEDQA: Crossing Format Boundaries with a Single QA System
- OCR-free Document Understanding Transformer
- Internet-Augmented Dialogue Generation
- Reformulating Unsupervised Style Transfer as Paraphrase Generation
- Hurdles to Progress in Long-form Question Answering
- Data Augmentation using Pre-trained Transformer Models
- Unsupervised Translation of Programming Languages
- WikiLingua: A New Benchmark Dataset for Cross-Lingual Abstractive Summarization
- ChatGPT Beyond English: Towards a Comprehensive Evaluation of Large Language Models in Multilingual Learning
- PAQ: 65 Million Probably-Asked Questions and What You Can Do With Them
- Generationary or «How We Went beyond Word Sense Inventories and Learned to Gloss»
- Document-Level Event Argument Extraction by Conditional Generation
- MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmark
- Generative Judge for Evaluating Alignment
- XGLUE: A New Benchmark Dataset for Cross-lingual Pre-training, Understanding and Generation
- Few-shot Learning with Multilingual Language Models
- DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Experts
- Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing
- SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarization
- TAPEX: Table Pre-training via Learning a Neural SQL Executor
- BRIO: Bringing Order to Abstractive Summarization
- Revisiting the Gold Standard: Grounding Summarization Evaluation with Robust Human Evaluation
- What Makes Good In-Context Examples for GPT-3?
- LLM-QAT: Data-Free Quantization Aware Training for Large Language Models
- ParaDetox: Detoxification with Parallel Data
- The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- Inter-GPS: Interpretable Geometry Problem Solving with Formal Language and Symbolic Reasoning
- Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical Reasoning
- ChatGPT as a Factual Inconsistency Evaluator for Text Summarization
- Fine-Tuning LLaMA for Multi-Stage Text Retrieval
- LLM-Pruner: On the Structural Pruning of Large Language Models
- Query Rewriting in Retrieval-Augmented Large Language Models
- MathDial: A Dialogue Tutoring Dataset with Rich Pedagogical Properties Grounded in Math Reasoning Problems
- Survey of Abstract Meaning Representation: Then, Now, Future
- Generation-Augmented Retrieval for Open-domain Question Answering
- Generating Text from Uniform Meaning Representation
- Generating Training Data with Language Models: Towards Zero-Shot Language Understanding
- The Third Multilingual Surface Realisation Shared Task (SR'20): Overview and Evaluation Results
- Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Survey
- Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
- Reframing Instructional Prompts to GPTk's Language
- DART: Open-Domain Structured Data Record to Text Generation
- A Comprehensive Overview of Large Language Models
- CulturaX: A Cleaned, Enormous, and Multilingual Dataset for Large Language Models in 167 Languages
- What Can We Learn from Collective Human Opinions on Natural Language Inference Data?
- Understanding Factuality in Abstractive Summarization with FRANK: A Benchmark for Factuality Metrics
- Unifying Large Language Models and Knowledge Graphs: A Roadmap
- Towards Making the Most of ChatGPT for Machine Translation
- Discovering Language Model Behaviors with Model-Written Evaluations
- How Context Affects Language Models' Factual Predictions
- KILT: a Benchmark for Knowledge Intensive Language Tasks
Cite
@inproceedings{lewis2020bart,
title = {{BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension}},
author = {Lewis, Mike and Liu, Yinhan and Goyal, Naman and Ghazvininejad, Marjan and Mohamed, Abdelrahman and Levy, Omer and Stoyanov, Veselin and Zettlemoyer, Luke},
booktitle = {Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
year = {2020},
doi = {10.18653/v1/2020.acl-main.703},
eprint = {1910.13461},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2020.acl-main.703}
}References
- Eneko Agirre, Llu’is M‘arquez, and Richard Wicentowski (eds.). Proceedings of the Fourth International Workshop on Semantic Evaluations (SemEval-2007). Association for Computational Linguistics, Prague, Czech Republic, June 2007. find
- Ido Dagan, Oren Glickman, and Bernardo Magnini. The PASCAL recognising textual entailment challenge. In Machine learning challenges. evaluating predictive uncertainty, visual object classification, and recognising tectual entailment, pp. 177– 190. Springer, 2006. find
- Angela Fan, Yacine Jernite, Ethan Perez, David Grangier, Jason Weston, and Michael Auli. Eli5: Long form question answering. arXiv preprint arXiv:1907.09190, 2019. find our card
- Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (gelus). arXiv preprint arXiv:1606.08415, 2016. find
- Karl Moritz Hermann, Tomas Kocisky, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. In Advances in neural information processing systems, pp. 1693–1701, 2015. find our card
- Mandar Joshi, Danqi Chen, Yinhan Liu, Daniel S Weld, Luke Zettlemoyer, and Omer Levy. Spanbert: Improving pre-training by representing and predicting spans. arXiv preprint arXiv:1907.10529, 2019. find our card
- Guillaume Lample and Alexis Conneau. Cross-lingual language model pretraining. arXiv preprint arXiv:1901.07291, 2019. find
- Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. Albert: A lite bert for self-supervised learning of language representations. arXiv preprint arXiv:1909.11942, 2019. find
- Hector J Levesque, Ernest Davis, and Leora Morgenstern. The Winograd schema challenge. In AAAI Spring Symposium: Logical Formalizations of Commonsense Reasoning, volume 46, pp. 47, 2011. find
- Yang Liu and Mirella Lapata. Text summarization with pretrained encoders. arXiv preprint arXiv:1908.08345, 2019. find
- Sascha Rothe, Shashi Narayan, and Aliaksei Severyn. Leveraging pre-trained checkpoints for sequence generation tasks. arXiv preprint arXiv:1907.12461, 2019. find our card
- Abigail See, Peter J Liu, and Christopher D Manning. Get to the point: Summarization with pointer-generator networks. arXiv preprint arXiv:1704.04368, 2017. find
- Rico Sennrich, Barry Haddow, and Alexandra Birch. Edinburgh neural machine translation systems for WMT 16. In Proceedings of the First Conference on Machine Translation: Volume 2, Shared Task Papers, 2016. find our card
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. find
- Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Ng, and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of EMNLP, pp. 1631–1642, 2013. find
- Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013. find
- Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu. Mass: Masked sequence to sequence pre-training for language generation. In International Conference on Machine Learning, 2019. find our card
- Shashi Narayan, Shay B Cohen, and Mirella Lapata. Don’t give me the details, just the summary! topic-aware convolutional neural networks for extreme summarization. arXiv preprint arXiv:1808.08745, 2018. find
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017. find
- Gabriel Pereyra, George Tucker, Jan Chorowski, Łukasz Kaiser, and Geoffrey Hinton. Regularizing neural networks by penalizing confident output distributions. arXiv preprint arXiv:1701.06548, 2017. find our card
- Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. Glue: A multi-task benchmark and analysis platform for natural language understanding. arXiv preprint arXiv:1804.07461, 2018. find our card
- Matthew E Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. arXiv preprint arXiv:1802.05365, 2018. find
- Alex Warstadt, Amanpreet Singh, and Samuel R. Bowman. Neural network acceptability judgments. arXiv preprint 1805.12471, 2018. find
- Adina Williams, Nikita Nangia, and Samuel R Bowman. A broad-coverage challenge corpus for Alec Radford, Karthik Narasimhan, Tim Salimans, sentence understanding through inference. arXiv and Ilya Sutskever. Improving language un-preprint arXiv:1704.05426, 2017. derstanding by generative pre-training.… find
- OpenAI Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683, 2019. find
- Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. Squad: 100,000+ questions for machine comprehension of text. arXiv preprint arXiv:1606.05250, 2016. find our card