Corruption functions
Token masking, token deletion, text infilling (a span with a length drawn from a Poisson distribution with mean 3 replaced with a single mask), sentence permutation, and document rotation. Combining text infilling with sentence permutation gave the best results overall.
Usage
BART is fine-tuned for summarization, generative question answering and dialogue, and can be used for classification by feeding the same text to the encoder and the decoder and taking the decoder's final representation. BART-Large-CNN became a widely used reference summarization model.
The encoder reads the whole input in both directions, and the decoder generates the output causally with cross-attention over the encoder's representations. Pre-training corrupts the text and then reconstructs it.
