[论文解读] Rethinking Semi-supervised Learning with Language Models
本文通过在多个NLP任务上对任务自适应预训练(TAPT)与五种最先进自训练(ST)方法进行实证比较,重新评估了NLP中的半监督学习。令人惊讶的是,TAPT在极少量未标注数据(少至100个样本)的情况下仍能持续优于ST方法,并且在数据稀缺和领域分布变化下表现出更强的鲁棒性,表明TAPT应成为未来半监督学习研究的强有力基线。
Semi-supervised learning (SSL) is a popular setting aiming to effectively utilize unlabelled data to improve model performance in downstream natural language processing (NLP) tasks. Currently, there are two popular approaches to make use of unlabelled data: Self-training (ST) and Task-adaptive pre-training (TAPT). ST uses a teacher model to assign pseudo-labels to the unlabelled data, while TAPT continues pre-training on the unlabelled data before fine-tuning. To the best of our knowledge, the effectiveness of TAPT in SSL tasks has not been systematically studied, and no previous work has directly compared TAPT and ST in terms of their ability to utilize the pool of unlabelled data. In this paper, we provide an extensive empirical study comparing five state-of-the-art ST approaches and TAPT across various NLP tasks and data sizes, including in- and out-of-domain settings. Surprisingly, we find that TAPT is a strong and more robust SSL learner, even when using just a few hundred unlabelled samples or in the presence of domain shifts, compared to more sophisticated ST approaches, and tends to bring greater improvements in SSL than in fully-supervised settings. Our further analysis demonstrates the risks of using ST approaches when the size of labelled or unlabelled data is small or when domain shifts exist. We offer a fresh perspective for future SSL research, suggesting the use of unsupervised pre-training objectives over dependency on pseudo labels.
研究动机与目标
- 直接比较任务自适应预训练(TAPT)与自训练(ST)在半监督NLP设置下的有效性。
- 研究TAPT与ST在不同数量的标注数据和未标注数据(包括低资源场景)下的表现。
- 评估两种方法在标注数据或未标注数据中出现领域分布偏移时的鲁棒性。
- 挑战TAPT需要大规模数据才能有效的普遍假设。
- 倡导无监督预训练目标作为半监督学习中伪标签依赖的更可靠替代方案。
提出的方法
- TAPT通过在任务特定的未标注数据上继续预训练语言模型,并使用掩码语言建模目标,然后进行微调。
- 自训练(ST)使用教师模型为未标注数据生成伪标签,再用这些伪标签训练学生模型。
- 本研究在包括IMDB、Amazon Review和Yahoo! Answers在内的五个多样化NLP任务上,评估了五种最先进ST方法与TAPT。
- 实验在不同规模的标注数据和未标注数据上进行,涵盖同域和跨域设置。
- TAPT、微调和自训练的超参数均经过仔细调优并报告,学习率根据未标注数据规模按比例调整。
- 通过在一个领域上训练并在不同领域上测试,评估领域分布偏移下的鲁棒性,分析性能下降或提升情况。
实验结果
研究问题
- RQ1在半监督NLP任务中,任务自适应预训练(TAPT)与最先进自训练(ST)方法相比如何?
- RQ2当仅有几百个未标注样本时,TAPT是否仍能保持强劲表现?
- RQ3在标注数据或未标注数据中出现领域分布偏移时,TAPT与ST的表现如何?
- RQ4当标注数据或未标注数据有限时,TAPT是否比ST更具鲁棒性?
- RQ5无监督预训练目标能否在半监督学习中提供比伪标签更可靠的替代方案?
主要发现
- TAPT在多个NLP任务中优于所有五种最先进自训练方法,包括在低数据场景下。
- TAPT在仅使用100个未标注样本时仍能取得显著性能提升,挑战了其需要大规模数据的假设。
- 在领域分布偏移场景下,TAPT保持或甚至提升了性能,而ST方法则出现显著性能下降。
- 当标注数据稀缺时,ST方法性能显著下降,而TAPT在不同数据规模组合下均保持鲁棒。
- TAPT在半监督设置中的性能提升大于全监督设置,表明其在利用未标注数据方面具有显著优势。
- 结果表明,无监督预训练目标比伪标签更有效且更稳定,尤其在低资源或跨领域设置下。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。