3 个月前

FixMatch:通过一致性和置信度简化半监督学习

FixMatch:通过一致性和置信度简化半监督学习

摘要

半监督学习(Semi-Supervised Learning, SSL)为有效利用未标注数据以提升模型性能提供了一种高效途径。本文展示了两种常见SSL方法——一致性正则化(consistency regularization)与伪标签(pseudo-labeling)——简单组合所展现出的强大能力。我们提出的算法FixMatch首先利用模型对弱增强(weakly-augmented)未标注图像的预测结果生成伪标签;对于某一图像,仅当模型输出具有高置信度时,其预测结果才会被保留为伪标签。随后,模型被训练以在输入同一图像的强增强版本时,预测出对应的伪标签。尽管该方法结构简洁,我们仍证明FixMatch在多个标准半监督学习基准测试中取得了当前最优(state-of-the-art)的性能表现:在仅使用250个标签的情况下,CIFAR-10数据集上达到94.93%的准确率;而在仅40个标签(即每类仅4个样本)的极端低标签设置下,仍可实现88.61%的准确率。由于FixMatch与若干现有SSL方法在结构上具有诸多相似之处,但后者性能却显著逊色,因此我们开展了详尽的消融实验(ablation study),以识别出决定FixMatch成功的关键实验因素。相关代码已开源,地址为:https://github.com/google-research/fixmatch。

代码仓库

google-research/crest
tf
GitHub 中提及
A-Telfer/AugKey
GitHub 中提及
Zhongying-Deng/NorMatch
pytorch
GitHub 中提及
google-research/fixmatch
官方
tf
GitHub 中提及
phanav/fixmatch-fastai
pytorch
GitHub 中提及
S-HuaBomb/FixMatch-Paddle
paddle
GitHub 中提及
CoinCheung/fixmatch-pytorch
pytorch
GitHub 中提及
Celiali/FixMatch
pytorch
GitHub 中提及
johnchenresearch/SSL
tf
GitHub 中提及
KaiyangZhou/ssdg-benchmark
pytorch
GitHub 中提及
kekmodel/FixMatch-pytorch
pytorch
GitHub 中提及
fbuchert/fixmatch-pytorch
pytorch
GitHub 中提及
CoinCheung/fixmatch
pytorch
GitHub 中提及
gomezzz/distmsmatch
pytorch
GitHub 中提及
valencebond/FixMatch_pytorch
pytorch
GitHub 中提及
OFRIN/Tensorflow_FixMatch
tf
GitHub 中提及
LeeDoYup/FixMatch-pytorch
pytorch
GitHub 中提及
DonghwanKIM0101/CS492I_CV
pytorch
GitHub 中提及
gomezzz/MSMatch
pytorch
GitHub 中提及
SaraAmd/Semi-Supervised-Learning
pytorch
GitHub 中提及
AhmadQasim/FixMatch
pytorch
GitHub 中提及

基准测试

基准方法指标
semi-supervised-image-classification-on-2FixMatch
Top 5 Accuracy: 89.13%
semi-supervised-image-classification-on-cifarFixMatch (CTA)
Percentage error: 4.31
semi-supervised-image-classification-on-cifar-2FixMatch (CTA, WRN-28-8)
Percentage error: 23.18±0.11
semi-supervised-image-classification-on-cifar-2FixMatch (RA, WRN-28-8)
Percentage error: 22.6
semi-supervised-image-classification-on-cifar-36FixMatch
Accuracy: 56.8
semi-supervised-image-classification-on-cifar-37FixMatch
Accuracy: 70.2
semi-supervised-image-classification-on-cifar-38FixMatch
Accuracy: 83.7
semi-supervised-image-classification-on-cifar-6FixMatch (CTA)
Percentage error: 5.07±0.33
semi-supervised-image-classification-on-cifar-7FixMatch (CTA)
Percentage error: 11.39±3.35
semi-supervised-image-classification-on-cifar-8FixMatch (CTA)
Percentage error: 49.95±3.01
semi-supervised-image-classification-on-cifar-9FixMatch (CTA, WRN-28-8)
Percentage error: 28.64±0.24
semi-supervised-image-classification-on-stl-1FixMatch (CTA)
Accuracy: 94.83±0.63
semi-supervised-image-classification-on-svhnFixMatch (CTA)
Accuracy: 97.64±0.19
semi-supervised-image-classification-on-svhn-2FixMatch (CTA)
Percentage error: 7.65±7.65

用 AI 构建 AI

从想法到上线——通过免费 AI 协同编程、开箱即用的环境和市场最优价格的 GPU 加速您的 AI 开发

AI 协同编程
即用型 GPU
最优价格
立即开始

Hyper Newsletters

订阅我们的最新资讯
我们会在北京时间 每周一的上午九点 向您的邮箱投递本周内的最新更新
邮件发送服务由 MailChimp 提供
FixMatch:通过一致性和置信度简化半监督学习 | 论文 | HyperAI超神经