Transfer learning, where a model is first pre-trained on a data-rich task before being fine-tuned on a downstream task, has emerged as a powerful technique in natural language processing (NLP). The effectiveness of transfer learning has given rise to a diversity of approaches, methodology, and practice. In this paper, we explore the landscape of transfer learning techniques for NLP by introducing a unified framework that converts all text-based language problems into a text-to-text format. Our systematic study compares pre-training objectives, architectures, unlabeled data sets, transfer approaches, and other factors on dozens of language understanding tasks. By combining the insights from our exploration with scale and our new ``Colossal Clean Crawled Corpus'', we achieve state-of-the-art results on many benchmarks covering summarization, question answering, text classification, and more. To facilitate future work on transfer learning for NLP, we release our data set, pre-trained models, and code.
核心贡献 · Key contributions
提出了一个统一的文本到文本框架,用于自然语言处理的迁移学习。 Proposes a unified text-to-text framework for NLP transfer learning.
系统比较了预训练目标、架构和数据集。 Systematically compares pre-training objectives, architectures, and data sets.
引入了用于预训练的巨型干净爬取语料库(C4)。 Introduces the Colossal Clean Crawled Corpus (C4) for pre-training.
通过规模扩张在多个自然语言处理基准上取得了最先进的结果。 Achieves state-of-the-art results on multiple NLP benchmarks via scaling.
发布预训练模型、代码和数据以促进未来研究。 Releases pre-trained models, code, and data to facilitate future research.
探索了包括编码器-解码器和前缀语言模型在内的架构变体。 Explores architectural variants including encoder-decoder and prefix LM.
局限 · Limitations
研究仅限于英语任务和基准。 Study limited to English-language tasks and benchmarks.
预训练仅使用英语数据;多语言任务需要额外数据。 Pre-training only on English data; multilingual tasks require additional data.
大规模实验的计算成本很高。 Computational cost of large-scale experiments is high.
由于成本原因,未对所有因素进行组合探索。 No combinatorial exploration of all factors due to cost.
结果可能无法推广到非文本模态或低资源语言。 Results may not generalize to non-text modalities or low-resource languages.
论文章节 · Sections(共 41)
摘要Abstract
1 引言1 Introduction
2 实验设置2 Setup
2.1 模型2.1 Model
2.2 巨型清洁爬取语料库2.2 The Colossal Clean Crawled Corpus
2.3 下游任务2.3 Downstream Tasks
2.4 输入与输出格式2.4 Input and Output Format
3 实验3 Experiments
3.1 基线3.1 Baseline
3.2 架构3.2 Architectures
3.3 无监督目标3.3 Unsupervised Objectives
3.4 预训练数据集3.4 Pre-training Data set
3.5 训练策略3.5 Training Strategy
3.6 规模扩展3.6 Scaling
3.7 综合考量3.7 Putting It All Together
4 反思4 Reflection
4.1 要点总结4.1 Takeaways
4.2 展望4.2 Outlook
A 贡献A Contributions
B 将 WNLI 转换为文本到文本格式B Converting WNLI to Our Text-to-Text Format
C CNN/Daily Mail 上的预测示例C Example Predictions on CNN/Daily Mail
D 预处理示例D Preprocessed Examples
D.1 CoLAD.1 CoLA
D.2 RTED.2 RTE
D.3 MNLID.3 MNLI
D.4 MRPCD.4 MRPC
D.5 QNLID.5 QNLI
D.6 QQPD.6 QQP
D.7 SST2D.7 SST2
D.8 STSBD.8 STSB
D.9 CBD.9 CB
D.10 COPAD.10 COPA
D.11 MultiRCD.11 MultiRC
D.12 WiCD.12 WiC
D.13 WSC 与 DPRD.13 WSC and DPR
D.14 CNN/Daily MailD.14 CNN/Daily Mail
D.15 SQuADD.15 SQuAD
D.16 WMT 英译德D.16 WMT English to German
D.17 WMT 英译法D.17 WMT English to French
D.18 WMT 英译罗D.18 WMT English to Romanian
E 所有实验的每项任务得分E Scores on Every Task for All Experiments