FlexMatch:用课程伪标签促进半监督学习
FlexMatch: Boosting Semi-Supervised Learning with Curriculum Pseudo Labeling
摘要:
最近提出的FixMatch在大多数半监督学习(SSL)基准测试中取得了最先进的结果。然而,与其他现代SSL算法一样,FixMatch对所有类使用预定义的恒定阈值来选择对训练有贡献的未标记数据,从而未能考虑不同类的不同学习状态和学习困难。为了解决这个问题,我们提出了课程伪标签(CPL),一个课程学习的方法来利用未标记的数据,根据模型的学习状态。CPL的核心是在每个时间步灵活地调整不同类别的阈值,以通过信息丰富的未标记数据及其伪标签。CPL不引入额外的参数或计算(向前或向后传播)。我们将CPL应用于FixMatch,并将我们的改进算法称为FlexMatch。FlexMatch在各种SSL基准测试中实现了最先进的性能,当标记数据非常有限或任务具有挑战性时,其性能尤其强大。例如,当每个类只有4个标签时,FlexMatch在CIFAR-100和STL-10数据集上分别比FixMatch减少了13.96%和18.96%的出错率。CPL还显著提高了收敛速度,例如,FlexMatch只需要FixMatch训练时间的1/5,就能获得更好的性能。此外,我们表明,CPL可以很容易地适应其他SSL算法,并显着提高其性能。我们在https://github.com/TorchSSL/TorchSSL上开源我们的代码。
英文摘要:
The recently proposed FixMatch achieved state-of-the-art results on most semi-supervised learning (SSL) benchmarks. However, like other modern SSL algorithms, FixMatch uses a pre-defined constant threshold for all classes to select unlabeled data that contribute to the training, thus failing to consider different learning status and learning difficulties of different classes. To address this issue, we propose Curriculum Pseudo Labeling (CPL), a curriculum learning approach to leverage unlabeled data according to the model's learning status. The core of CPL is to flexibly adjust thresholds for different classes at each time step to let pass informative unlabeled data and their pseudo labels. CPL does not introduce additional parameters or computations (forward or backward propagation). We apply CPL to FixMatch and call our improved algorithm FlexMatch. FlexMatch achieves state-of-the-art performance on a variety of SSL benchmarks, with especially strong performances when the labeled data are extremely limited or when the task is challenging. For example, FlexMatch achieves 13.96% and 18.96% error rate reduction over FixMatch on CIFAR-100 and STL-10 datasets respectively, when there are only 4 labels per class. CPL also significantly boosts the convergence speed, e.g., FlexMatch can use only 1/5 training time of FixMatch to achieve even better performance. Furthermore, we show that CPL can be easily adapted to other SSL algorithms and remarkably improve their performances. We open-source our code at https://github.com/TorchSSL/TorchSSL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。