Abstract
Semi-supervised learning is becoming increasingly important because it can combine data carefully labeled by humans with abundant unlabeled data to train deep neural networks. Classic methods on semi-supervised learning that have focused on transductive learning have not been fully exploited in the inductive framework followed by modern deep learning. The same holds for the manifold assumption—that similar examples should get the same prediction. In this work, we employ a transductive label propagation method that is based on the manifold assumption to make predictions on the entire dataset and use these predictions to generate pseudo-labels for the unlabeled data and train a deep neural network. At the core of the transductive method lies a nearest neighbor graph of the dataset that we create based on the embeddings of the same network. Therefore our learning process iterates between these two steps. We improve performance on several datasets especially in the few labels regime and show that our work is complementary to current state of the art.
Introduction
Deep learning typically requires massive human-annotated datasets to achieve high performance. Semi-supervised learning (SSL) seeks to mitigate this by leveraging a small set of labeled data alongside a much larger pool of unlabeled data.
Most modern SSL approaches rely on consistency regularization (ensuring similar outputs for perturbed versions of an image) or simple pseudo-labeling (using the network's own predictions as ground truth). However, these methods often overlook the manifold assumption: the principle that data points residing on the same underlying geometric structure in feature space should share labels. This paper introduces a framework that bridges the gap between graph-based transductive learning and inductive deep models.
Methodology
The proposed framework is an iterative process that alternates between label inference via graph diffusion and inductive network training.
- Supervised Warm-up: The CNN is initially trained on the available labeled data to establish baseline feature embeddings.
- Graph Construction: The network extracts feature embeddings for the entire dataset. A $k$-nearest neighbor ($k$-NN) graph is constructed where nodes represent images and edges represent similarity.
- Label Propagation (Diffusion): Labels are propagated from labeled nodes to unlabeled nodes across the graph. This captures the global manifold structure, assigning pseudo-labels based on the geometric density of the data.
- Certainty Weighting: To maintain training stability, pseudo-labels are weighted by an entropy-based certainty measure ($\omega_i$) and a class-balancing weight ($\zeta_j$).
- Inductive Training: The CNN is trained for one epoch using true labels for the labeled set and weighted pseudo-labels for the unlabeled set.
- Iteration: The process repeats, using the improved embeddings to build a more accurate graph in the next cycle.
Key Insights: Diffusion vs. Softmax
A central finding of this work is that pseudo-labels generated via graph diffusion are significantly more accurate than those generated by the network's own softmax output. This is particularly evident in the early stages of training when the network's internal representations are still developing.
As shown in the figure above, the diffusion process consistently provides higher quality labels for the unlabeled set. Furthermore, this method is "orthogonal" to consistency-based methods like Mean Teacher (MT). Because they rely on different principles—manifold structure versus local consistency—they can be combined to achieve superior results.
Experimental Results
The authors evaluated the method on CIFAR-10, CIFAR-100, and Mini-ImageNet.
- CIFAR-10: With only 500 labeled images, the error rate dropped from ~49% (supervised baseline) to 32.4%. When combined with Mean Teacher, the error further decreased to 24.02%.
- Mini-ImageNet: On this challenging benchmark with 4,000 labels, the method achieved a top-1 error of 70.29%, outperforming the standard Mean Teacher baseline of 72.51%.
Conclusion
By integrating graph-based label propagation into the deep learning pipeline, this framework effectively exploits the global geometric structure of unlabeled data. While the method introduces some computational overhead due to $k$-NN graph construction, the use of optimized libraries like FAISS makes it feasible for large-scale datasets. Future work may explore more efficient graph update mechanisms and applications beyond the visual domain.
Summary updated