# 伪标签

伪标签是一种半监督学习技术，模型将自己在无标签数据上最有信心的预测当作真实标签，并在扩大后的数据集上重新训练。它属于较早的一类自标注技术——这类技术迭代地把自己的预测接受为正确结果，以扩充标注集。<sup>[1](https://link.springer.com/article/10.1007/s10115-013-0706-y)</sup> 在深度学习形式中，预测概率最大的类别（argmax）成为硬伪标签，在每次权重更新时重新计算，同时网络在标注数据和无标注数据上同步训练。<sup>[2](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.664.3543)</sup> 该技术针对的是半监督学习的核心问题：当只有少量标注集时，如何利用大量无标注数据。计算机视觉领域后来涌现的一大类半监督学习方法，都建立在最初的伪标签论文之上。<sup>[3](https://openreview.net/pdf?id=cjivIeoSXz)</sup>

| 关键事实 | 数值 |
|---|---|
| 首次提出深度学习版伪标签的论文 | Dong-Hyun Lee，《伪标签》，ICML 2013 表征学习挑战研讨会<sup>[2](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.664.3543)</sup> |
| 原始损失加权 | 无监督项由 \( \alpha(t) \) 加权，退火至上限 \( \alpha_{\mathrm{f}} = 3 \)<sup>[2](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.664.3543)</sup> |
| 常用置信度阈值 | FixMatch 中 \( \tau = 0.95 \)；ImageNet 上 \( \tau = 0.7 \)、\( \lambda_u = 10 \)<sup>[4](https://proceedings.neurips.cc/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Paper.pdf)</sup><sup> • </sup><sup>[5](https://papers.nips.cc/paper_files/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Supplemental.pdf)</sup> |
| CIFAR-10 用 40 个标签 | FixMatch 准确率 88.61%（每类 4 个标签）<sup>[4](https://proceedings.neurips.cc/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Paper.pdf)</sup> |
| ImageNet top-1 | Noisy Student 88.4%；Meta Pseudo Labels 90.2%<sup>[6](https://openaccess.thecvf.com/content_CVPR_2020/papers/Xie_Self-Training_With_Noisy_Student_Improves_ImageNet_Classification_CVPR_2020_paper.pdf)</sup><sup> • </sup><sup>[7](https://openaccess.thecvf.com/content/CVPR2021/papers/Pham_Meta_Pseudo_Labels_CVPR_2021_paper.pdf)</sup> |
| 主要失效模式 | 确认偏差：初始错误的预测因在其上训练而被强化<sup>[8](https://ar5iv.labs.arxiv.org/html/1908.02983)</sup> |

## 工作原理

在模型自己有信心的预测上训练之所以有帮助，是因为它把决策边界推过类别之间的低密度区域。Lee 认为该方法实际上等价于熵正则化：在无标注数据上强制做出硬性的高置信度预测，即最小化条件熵

\[ H(Y \mid X, Z) = -\mathbb{E}_{XYZ}[\log P(Y \mid X, Z)], \]

这有利于类别之间的低密度分隔，而这是半监督学习的一个标准先验。<sup>[2](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.664.3543)</sup> Grandvalet 和 Bengio 更早的 MAP 准则——对数似然减去拉格朗日加权的熵惩罚——把自训练视为 \( \lambda = 1 \) 的特例，他们的分析表明，无标注样本主要在类别重叠较小时才有帮助。<sup>[9](https://proceedings.neurips.cc/paper/2004/file/96f2b50b5d3613adf9c27049b2a888c7-Paper.pdf)</sup> 后来的理论工作表明，该方法在大样本情形下有效：随着无标注样本数量增长，只要初始模型足够准确，即使只迭代一次，模型也能达到与监督学习相同的最优总体误差上界。<sup>[10](https://ar5iv.labs.arxiv.org/html/2211.10039)</sup>

## 操作方法

原始方案使用组合交叉熵损失训练

\[ L = \frac{1}{n}\sum_{m} L(y_m, f_m) + \alpha(t)\,\frac{1}{n'}\sum_{i} L(\tilde{y}_i, f_i), \]

其中伪标签权重 \( \alpha(t) \) 通过确定性退火从小值提升至 \( \alpha_{\mathrm{f}} = 3 \)，无预训练时 \( T_{1} = 100 \)、\( T_{2} = 600 \) 个训练轮次，使用去噪自编码器时 \( T_{1} = 200 \)、\( T_{2} = 800 \)；权重设得过高会干扰有标注训练，设得过小则毫无收益。<sup>[2](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.664.3543)</sup> 这偏离了经典的自训练封装方式——后者每轮都完整重训分类器；Lee 改为微调运行中的模型并随时间提高伪标签权重，因为早期的伪标签不太可靠。<sup>[11](https://link.springer.com/article/10.1007/s10994-019-05855-6)</sup>

现代基于置信度阈值的版本遵循 FixMatch：伪标签由弱增强的无标注图像生成，仅当最大类别概率超过阈值 τ 时保留，然后作为交叉熵对强增强视图施加约束，

\[ \ell_u = \frac{1}{\mu B}\sum_{b} \mathbf{1}(\max(q_b) \geq \tau)\, H(\hat{q}_b, p_m(y \mid \mathcal{A}(u_b))), \]

以固定权重 λ_u 加入监督损失。<sup>[4](https://proceedings.neurips.cc/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Paper.pdf)</sup> FixMatch 省略了无标注损失权重的退火，因为阈值化本身提供了自然的课程；在 ImageNet 上它使用 \( \lambda_u = 10 \)、\( \tau = 0.7 \)，以及对无标注样本进行 300 个轮次的训练。<sup>[4](https://proceedings.neurips.cc/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Paper.pdf)</sup><sup> • </sup><sup>[5](https://papers.nips.cc/paper_files/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Supplemental.pdf)</sup>

## 起源

这一深度学习方法以《伪标签：用于深度神经网络的简单高效的半监督学习方法》为题，在亚特兰大举行的 ICML 2013 表征学习挑战研讨会上发表；不含无监督预训练的版本在该研讨会的黑盒学习挑战赛中获得二等奖。<sup>[2](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.664.3543)</sup> 该方法建立在悠久的自训练谱系之上——模型在多轮中基于自己过去的预测重新训练。<sup>[12](https://ojs.aaai.org/index.php/AAAI/article/view/16852)</sup> 更近的前身包括无监督词义消歧和协同训练，后者中两个在互不相交的特征集上训练的模型交换有信心的预测。<sup>[1](https://link.springer.com/article/10.1007/s10115-013-0706-y)</sup>

## 变体

如今一大类方法扩展了这一基本循环。MixMatch 由 Berthelot、Carlini、Goodfellow 等人（2019）提出，是该家族中的一个命名变体；<sup>[13](https://doi.org/10.48550/arxiv.1905.02249)</sup> ReMixMatch（2019）增加了分布对齐和增强锚定。<sup>[14](https://doi.org/10.48550/arxiv.1911.09785)</sup> Noisy Student 训练由 Xie、Luong、Hovy 和 Le（2019）提出，迭代一种教师-学生方案：在标注数据和伪标注数据上训练的学生成为教师，再训练一个更大的、带随机失活和 RandAugment 等噪声的学生；它与蒸馏的区别在于使用了无标注数据和噪声。<sup>[15](https://doi.org/10.48550/arxiv.1911.04252)</sup><sup> • </sup><sup>[3](https://openreview.net/pdf?id=cjivIeoSXz)</sup> Meta Pseudo Labels 由 Pham、Dai、Xie 等人（2020）提出，通过学生在标注数据上的表现来调整教师，形式化为双层优化，以解决固定教师的确认偏差问题。<sup>[16](https://doi.org/10.48550/arxiv.2003.10580)</sup> FixMatch 由 Sohn、Berthelot、Li 等人（2020）提出，将一致性正则化与置信度阈值化合并。<sup>[4](https://proceedings.neurips.cc/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Paper.pdf)</sup> FlexMatch 由 Zhang、Wang、Hou 等人（2021）提出，增加了课程伪标签（Curriculum Pseudo Labeling），按类别动态调整阈值——难类降低、易类提高，且无需额外的前向传播。<sup>[17](https://doi.org/10.48550/arxiv.2110.08263)</sup> FreeMatch 由 Wang、Chen、Heng 等人（2022）提出，用自适应阈值（Self-Adaptive Thresholding）取代固定阈值，将全局阈值和类别特定阈值估计为无标注数据置信度的指数移动平均，并加入自适应类别公平正则项。<sup>[18](https://doi.org/10.48550/arxiv.2205.07246)</sup>

## 应用

已报告的结果集中在标签预算极小的图像分类上。FixMatch 在 CIFAR-10 上用 250 个标签达到 94.93% 准确率，用 40 个标签达到 88.61%；在 ImageNet 上用 10% 的标签，top-1 误差为 28.54 ± 0.52%，比 UDA 好 2.68%。<sup>[4](https://proceedings.neurips.cc/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Paper.pdf)</sup> Noisy Student 使用 3 亿张无标注图像在 ImageNet 上达到 88.4% top-1，相对 [EfficientNet](https://www.edgepedia.org/zh/efficientnet) 总提升 3.4% 中有 2.9% 来自自训练本身；它将 ImageNet-A top-1 从 61.0% 提升到 83.7%，同时将 ImageNet-C 平均损坏误差从 45.7 降至 28.3。<sup>[6](https://openaccess.thecvf.com/content_CVPR_2020/papers/Xie_Self-Training_With_Noisy_Student_Improves_ImageNet_Classification_CVPR_2020_paper.pdf)</sup> Meta Pseudo Labels 在 ImageNet 上达到 90.2% top-1，比此前 88.6% 的纪录高 1.6%；在 CIFAR-10 上用 4,000 个标签达到 96.11%，而 FixMatch 为 95.74%。

在图像分类之外，自训练方法也用于 NLP 文本分类，一项研究发现任务自适应预训练优于五种自训练方法，并警告当标注数据或无标注数据较少或发生偏移时会出现确认偏差。<sup>[19](https://aclanthology.org/2023.findings-acl.347.pdf)</sup> USB 开源平台在计算机视觉、NLP 和音频任务上评估 SSL 算法。<sup>[20](https://research.chalmers.se/publication/544964/file/544964_Fulltext.pdf)</sup> 近期工作将伪标签扩展到 LLM 推理，其中在小型标注集上训练的验证器为无标注问题上的推理轨迹打分。<sup>[21](https://doi.org/10.3389/frai.2026.1857934)</sup>

## 局限与替代方案

确认偏差是核心失效模式：早期错误的预测在后续训练轮次中被用作训练目标，提高了对它们的置信度，产生一个抗拒纠正的模型。<sup>[8](https://ar5iv.labs.arxiv.org/html/1908.02983)</sup> 阈值与校准误差相互作用：高阈值可防止错误标签，但意味着过度信任被小标注样本偏置的置信度分数，而最优阈值在每次迭代中都不同。<sup>[22](https://arxiv.org/pdf/2202.12040)</sup> 在类别分布不平衡或不匹配时，伪标签会偏向多数类，并可能灾难性地传播错误。<sup>[23](https://aclanthology.org/2025.emnlp-main.658.pdf)</sup> Oliver 等人的受控比较发现，随着无标注数据增加，错误率通常下降，只有当标注集与无标注集的类别集合不匹配时才会退化。<sup>[11](https://link.springer.com/article/10.1007/s10994-019-05855-6)</sup>

近期工作针对这些弱点。ICML 2025 的一个框架从第一性原理学习置信度分数和阈值，带有显式的误差调节参数，可直接控制伪标签质量与数量的权衡；<sup>[24](https://proceedings.mlr.press/v267/vishwakarma25a.html)</sup> 不平衡感知的工作将伪标签形式化为由 Sinkhorn-Knopp 求解的最优传输，受从记忆库估计的类别分布约束。<sup>[23](https://aclanthology.org/2025.emnlp-main.658.pdf)</sup> 由混合比例模型引导的通道掩码正则化在六个基准的 36 种设置下改善了分布偏移下的伪标签，且无额外推理成本。<sup>[25](https://eprints.whiterose.ac.uk/id/eprint/214942/1/ECCV24_DA.pdf)</sup> 在基础模型时代，仅用标注数据对视觉基础模型进行参数高效微调往往超过传统 SSL；由于不同的 PEFT 技术产生互补的伪标签，跨 PEFT 方法和骨干网络集成伪标签成为一种简单的 SSL 策略；<sup>[26](https://papers.nips.cc/paper_files/paper/2025/hash/558159930b584e7f137a1dcbd380d9fd-Abstract-Conference.html)</sup> FineSSL 用平衡边际 softmax 和解耦标签平滑为基础模型适配 SSL，在多个基准上创下新的最优结果，同时将训练成本降至原来的六分之一以下。<sup>[27](https://proceedings.mlr.press/v235/gan24a.html)</sup>

与替代方案对比：一致性正则化，如 UDA 中那样，约束增强下的预测，而 FixMatch 将一致性正则化与基于置信度的阈值化机制结合，选择高置信度的伪标注样本用于训练；<sup>[4](https://proceedings.neurips.cc/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Paper.pdf)</sup> 协同训练需要多个多样化分类器交换预测，而经典自训练封装的是完整重训的分类器，而非微调一个分类器。<sup>[11](https://link.springer.com/article/10.1007/s10994-019-05855-6)</sup>

## References

1. [Self-labeled techniques for semi-supervised learning: taxonomy, software and empirical study (Knowledge and Information Systems)](https://link.springer.com/article/10.1007/s10115-013-0706-y)
2. [Pseudo-Label: The Simple and Efficient Semi-Supervised Learning Method for Deep Neural Networks (Dong-hyun Lee, ICML 2013 Workshop: Challenges in Representation Learning)](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.664.3543)
3. [A Review of Pseudo-Labeling for Computer Vision](https://openreview.net/pdf?id=cjivIeoSXz)
4. [FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence (Sohn et al., NeurIPS 2020)](https://proceedings.neurips.cc/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Paper.pdf)
5. [FixMatch supplemental material](https://papers.nips.cc/paper_files/paper/2020/file/06964dce9addb1c5cb5d6e3d9838f733-Supplemental.pdf)
6. [Self-Training With Noisy Student Improves ImageNet Classification (CVPR 2020, Xie et al.)](https://openaccess.thecvf.com/content_CVPR_2020/papers/Xie_Self-Training_With_Noisy_Student_Improves_ImageNet_Classification_CVPR_2020_paper.pdf)
7. [Meta Pseudo Labels (CVPR 2021, Pham et al.)](https://openaccess.thecvf.com/content/CVPR2021/papers/Pham_Meta_Pseudo_Labels_CVPR_2021_paper.pdf)
8. [Pseudo-Labeling and Confirmation Bias in Deep Semi-Supervised Learning (Arazo et al., 2019)](https://ar5iv.labs.arxiv.org/html/1908.02983)
9. [Semi-supervised Learning by Entropy Minimization (Grandvalet & Bengio, NeurIPS 2004)](https://proceedings.neurips.cc/paper/2004/file/96f2b50b5d3613adf9c27049b2a888c7-Paper.pdf)
10. [Why the pseudo label based semi-supervised learning algorithm is effective?](https://ar5iv.labs.arxiv.org/html/2211.10039)
11. [A survey on semi-supervised learning (van Engelen & Hoos, Machine Learning, 2020)](https://link.springer.com/article/10.1007/s10994-019-05855-6)
12. [Curriculum Labeling: Revisiting Pseudo-Labeling for Semi-Supervised Learning (AAAI 2021, Cascante-Bonilla, Tan, Qi, Ordonez)](https://ojs.aaai.org/index.php/AAAI/article/view/16852)
13. [Berthelot, David and colleagues (2019). MixMatch: A Holistic Approach to Semi-Supervised Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1905.02249)
14. [Berthelot, David and colleagues (2019). ReMixMatch: Semi-Supervised Learning with Distribution Alignment and Augmentation Anchoring. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1911.09785)
15. [Xie, Qizhe and colleagues (2019). Self-training with Noisy Student improves ImageNet classification. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1911.04252)
16. [Pham, Hieu and colleagues (2020). Meta Pseudo Labels. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2003.10580)
17. [Zhang, Bowen and colleagues (2021). FlexMatch: Boosting Semi-Supervised Learning with Curriculum Pseudo Labeling. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2110.08263)
18. [Wang, Yidong and colleagues (2022). FreeMatch: Self-adaptive Thresholding for Semi-supervised Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2205.07246)
19. [Rethinking Semi-supervised Learning with Language Models (Findings of ACL 2023)](https://aclanthology.org/2023.findings-acl.347.pdf)
20. [An empirical evaluation of deep semi-supervised learning (Chalmers)](https://research.chalmers.se/publication/544964/file/544964_Fulltext.pdf)
21. [Confidence-aware pseudo-label selection and verifier training for semi-supervised LLM reasoning with minimal labels (Frontiers in Artificial Intelligence, 2026)](https://doi.org/10.3389/frai.2026.1857934)
22. [A survey on self-training methods (arXiv 2202.12040)](https://arxiv.org/pdf/2202.12040)
23. [Calibrating Pseudo-Labeling with Class Distribution for Semi-supervised Text Classification (PL-POT, EMNLP 2025)](https://aclanthology.org/2025.emnlp-main.658.pdf)
24. [Rethinking Confidence Scores and Thresholds in Pseudolabeling-based SSL (ICML 2025, PMLR)](https://proceedings.mlr.press/v267/vishwakarma25a.html)
25. [Pseudo-labelling should be aware of disguising channel activations (ECCV 2024)](https://eprints.whiterose.ac.uk/id/eprint/214942/1/ECCV24_DA.pdf)
26. [Revisiting Semi-Supervised Learning in the Era of Foundation Models (NeurIPS 2025)](https://papers.nips.cc/paper_files/paper/2025/hash/558159930b584e7f137a1dcbd380d9fd-Abstract-Conference.html)
27. [Erasing the Bias: Fine-Tuning Foundation Models for Semi-Supervised Learning (FineSSL, ICML 2024)](https://proceedings.mlr.press/v235/gan24a.html)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026; Oct 25, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Machine learning methods › Supervised, unsupervised, and semi-supervised learning › Semi-supervised and weakly supervised learning

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/pseudo-labeling

English original: https://www.edgepedia.org/pseudo-labeling
