Abstract
Deep semi-supervised learning (SSL) has experienced significant attention in recent years, to leverage a huge amount of unlabeled data to improve the performance of deep learning with limited labeled data. Pseudo-labeling is a popular approach to expand the labeled dataset. However, whether there is a more effective way of labeling remains an open problem. In this paper, we propose to label only the most representative samples to expand the labeled set. Representative samples, selected by indegree of corresponding nodes on a directed k-nearest neighbor (kNN) graph, lie in the k-nearest neighborhood of many other samples. We design a graph neural network (GNN) labeler to label them in a progressive learning manner. Aided by the progressive GNN labeler, our deep SSL approach outperforms state-of-the-art methods on several popular SSL benchmarks including CIFAR-10, SVHN, and ILSVRC-2012. Notably, we achieve 72.1% top-1 accuracy, surpassing the previous best result by 3.3%, on the challenging ImageNet benchmark with only 10% labeled data.
Introduction
Deep learning models typically require massive amounts of labeled data to achieve high performance. However, manual labeling is costly and time-consuming. Semi-supervised learning (SSL) addresses this by combining a small labeled set with a large unlabeled set. A common SSL strategy is pseudo-labeling, where a model generates labels for unlabeled data to augment its own training set.
Current pseudo-labeling methods face two primary challenges. First, they often rely on model confidence for sample selection, which tends to pick samples similar to existing labeled data, failing to capture the full diversity of the dataset. Second, "brute-force" labeling of the entire unlabeled set early in training can introduce significant noise if the initial model is weak.
Methodology: Progressive Representative Labeling (PRL)
The proposed PRL framework addresses these issues through a novel sampling strategy and a progressive labeling process.
The Indegree Sampler
Instead of relying on model confidence, PRL identifies "representative" samples using the geometric structure of the data. A directed k-nearest neighbor (kNN) graph is constructed where each image is a node, and edges point to the $k$ most similar neighbors. The indegree of a node—the number of incoming edges—serves as a proxy for representativeness. High-indegree nodes reside in high-density regions of the data manifold, making them more reliable candidates for pseudo-labeling than samples near decision boundaries.
Progressive GNN Labeler
PRL employs a Simplified Graph Convolutional (SGC) network to propagate labels. Unlike standard CNNs, GNNs leverage the relationships between neighboring nodes in the graph to produce more robust labels. The process is iterative:
- Identify high-indegree representative samples.
- Use the GNN to generate pseudo-labels for these samples.
- Add high-confidence pseudo-labeled samples to the training set.
- Repeat the process, gradually expanding from high-density regions to more complex areas.
Experimental Results
The PRL framework was evaluated on several standard benchmarks, demonstrating significant improvements over existing state-of-the-art (SOTA) methods.
- ImageNet (ILSVRC-2012): With only 10% labeled data, PRL achieved a 72.1% top-1 accuracy, a 3.3% improvement over the previous SOTA (UDA).
- CIFAR-10: In a low-data regime with only 250 labels (1%), PRL reached a 7.54% error rate, vastly outperforming standard pseudo-labeling (49.78%) and MixMatch (11.08%).
- SVHN: Consistent gains were observed across different labeled set sizes.
Ablation studies confirmed that indegree-based sampling is a critical component. Using the same GNN architecture with confidence-based sampling instead of indegree-based sampling led to a 2% drop in accuracy on ImageNet.
Conclusion
Progressive Representative Labeling (PRL) shifts the focus of semi-supervised learning from model confidence to data topology. By identifying and progressively labeling the most representative samples in a kNN graph, PRL builds a more robust foundation for training deep models with limited supervision. The method is computationally efficient and orthogonal to other SSL techniques, suggesting potential for further integration and performance gains in future research.
Summary updated