[论文解读] Bag of Tricks for Effective Language Model Pretraining and Downstream Adaptation: A Case Study on GLUE
本文介绍 Vega v1,一款1.3B 编码器专用 Transformer 模型,通过去噪和对比学习目标进行预训练,并结合自校准和转导微调策略,在 GLUE 上达到最先进的结果,并在 SST-2 和 WNLI 上超过人类水平。
This technical report briefly describes our JDExplore d-team's submission Vega v1 on the General Language Understanding Evaluation (GLUE) leaderboard, where GLUE is a collection of nine natural language understanding tasks, including question answering, linguistic acceptability, sentiment analysis, text similarity, paraphrase detection, and natural language inference. [Method] We investigate several effective strategies and choose their best combination setting as the training recipes. As for model structure, we employ the vanilla Transformer with disentangled attention as the basic block encoder. For self-supervised training, we employ the representative denoising objective (i.e., replaced token detection) in phase 1 and combine the contrastive objective (i.e., sentence embedding contrastive learning) with it in phase 2. During fine-tuning, several advanced techniques such as transductive fine-tuning, self-calibrated fine-tuning, and adversarial fine-tuning are adopted. [Results] According to our submission record (Jan. 2022), with our optimized pretraining and fine-tuning strategies, our 1.3 billion model sets new state-of-the-art on 4/9 tasks, achieving the best average score of 91.3. Encouragingly, our Vega v1 is the first to exceed powerful human performance on the two challenging tasks, i.e., SST-2 and WNLI. We believe our empirically successful recipe with a bag of tricks could shed new light on developing efficient discriminative large language models.
研究动机与目标
- 激励提高在 GLUE 上评估的大型语言模型的预训练效率以及下游适应的有效性。
- 提出以解耦注意力的编码器为骨干的 Transformer 架构(仅编码器)。
- 引入两种高效的预训练目标(去噪 RTD 和对比学习)以及两阶段的预训练计划。
- 开发下游微调技术以解决领域差距和过拟合(转导式微调、自校准微调、对抗微调)。
提出的方法
- 以解耦注意力的编码器作为骨干的 Transformer(Vega v1)
- 用两目标预训练替代 MLM:去噪(替换标记检测)和对比句子表示。
- 采用两阶段预训练:阶段1 仅去噪,阶段2 加上对比学习。
- 应用下游适应技术,包括转导式微调、自校准微调和对抗微调。
- 在 GLUE 上进行评估;在多个任务上报告最先进的结果,且在 SST-2 和 WNLI 上超越人类表现。
实验结果
研究问题
- RQ1在 1.3B 参数预算内,高效的预训练目标(去噪和对比学习)能否在 GLUE 任务的有效性方面达到或超过 MLM?
- RQ2下游适应策略(转导式微调、自校准微调、对抗微调)是否提升 GLUE 任务的泛化性和对领域的鲁棒性?
- RQ3两阶段预训练流程对训练效率和下游性能的影响?
- RQ4在具有挑战性的 GLUE 任务(如 SST-2、WNLI)上,Vega v1 的表现相对于人类基线如何?
主要发现
- Vega v1 在 2022 年 1 月前后 的 9 项 GLUE 任务中有 4 项达到最先进,并获得最佳平均分(91.3)。
- Vega v1 是在 GLUE 提交中首个在 SST-2 和 WNLI 上超越人类表现的模型。
- 两种高效预训练目标(去噪 RTD 和对比学习)提高数据效率和句子表征质量。
- 两阶段预训练策略(先去噪,再加入对比目标)在训练成本与性能之间达到平衡。
- 下游适应技术(转导式微调、自校准微调、对抗微调)有助于缓解领域差距和过拟合。
- 1.3B 的 Vega v1 在 GLUE 上与同期模型相比具竞争力,表明结合多种技巧的高效判别式语言模型方法的价值。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。