[Paper Review] Improving Consistency-Based Semi-Supervised Learning with Weight Averaging.
This paper proposes using Stochastic Weight Averaging (SWA) and its fast variant (fast-SWA) to improve consistency-based semi-supervised learning by averaging model weights along SGD trajectories, leading to flatter, more generalizable optima. It achieves state-of-the-art results, including 95.0% accuracy on CIFAR-10 with only 4,000 labels and 83% accuracy for domain adaptation from CIFAR-10 to STL.
Recent advances in deep unsupervised learning have renewed interest in semi-supervised methods, which can learn from both labeled and unlabeled data. Presently the most successful approaches to semi-supervised learning are based on consistency regularization, whereby a model is trained to be robust to small perturbations of its inputs and parameters. We show that consistency regularization leads to flatter but narrower optima. We also show that the test error surface for these methods is approximately convex in regions of weight space traversed by SGD. Inspired by these observations, we propose to train consistency based semi-supervised models with stochastic weight averaging (SWA), a recent method which averages weights along the trajectory of SGD. We also develop fast-SWA, which further accelerates convergence by averaging multiple points within each cycle of a cyclical learning rate schedule. With fast-SWA we achieve the best known semi-supervised results on CIFAR-10 and CIFAR-100 over many different numbers of observed training labels. For example, we achieve 95.0% accuracy on CIFAR-10 with only 4000 labels, compared to the previous best result in the literature of 93.7%. We also improve the best known accuracy for domain adaptation from CIFAR-10 to STL from 80% to 83%. Finally, we show that with fast-SWA the simple $\Pi$ model becomes state-of-the-art for large labeled settings.
Motivation & Objective
- To improve the generalization and robustness of consistency-based semi-supervised learning methods.
- To address the issue of sharp, narrow minima in consistency training by leveraging weight averaging to find flatter optima.
- To accelerate convergence and improve performance through a cyclical learning rate schedule combined with fast-SWA.
- To establish a new state-of-the-art for semi-supervised learning on CIFAR-10 and CIFAR-100 across various label budgets.
- To demonstrate the effectiveness of fast-SWA in making the simple Π-model competitive in large-labeled-data regimes.
Proposed method
- Apply Stochastic Weight Averaging (SWA) to average model weights along the SGD trajectory, promoting flatter and more generalizable optima.
- Introduce fast-SWA, which accelerates SWA by averaging multiple weight points within each cycle of a cyclical learning rate schedule.
- Use consistency regularization to train models to be robust to input and parameter perturbations, forming the base semi-supervised learning framework.
- Train models using SGD with cyclical learning rates, and periodically average weights at the end of each cycle using fast-SWA.
- Analyze the loss landscape and show that test error surfaces are approximately convex in regions traversed by SGD, justifying the use of weight averaging.
- Apply the method to standard semi-supervised learning benchmarks, including CIFAR-10, CIFAR-100, and domain adaptation from CIFAR-10 to STL.
Experimental results
Research questions
- RQ1Can weight averaging improve the generalization of consistency-based semi-supervised learning models?
- RQ2Does fast-SWA accelerate convergence while maintaining or improving performance in semi-supervised settings?
- RQ3How does the loss landscape of consistency-regularized models behave in weight space, and does it support the use of SWA?
- RQ4Can fast-SWA make the Π model competitive in large-labeled-data semi-supervised learning scenarios?
- RQ5What improvements can be achieved on standard benchmarks like CIFAR-10 and CIFAR-100 with minimal labeled data using fast-SWA?
Key findings
- Fast-SWA achieves 95.0% accuracy on CIFAR-10 with only 4,000 labeled examples, surpassing the previous SOTA of 93.7%.
- The method improves domain adaptation accuracy from CIFAR-10 to STL from 80% to 83%.
- The test error surface of consistency-regularized models is approximately convex in regions traversed by SGD, supporting the use of weight averaging.
- Consistency regularization leads to flatter but narrower optima, which are mitigated by SWA and fast-SWA.
- With fast-SWA, the simple Π model becomes state-of-the-art in large-labeled-data semi-supervised learning settings.
- Fast-SWA enables faster convergence and better generalization compared to standard training and baseline SWA.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.