[Paper Review] Semi-Supervised Learning by Label Gradient Alignment
This paper proposes Label Gradient Alignment (LGA), a semi-supervised learning method that imputes labels for unlabeled data by minimizing the Euclidean distance between model gradients of labeled and unlabeled samples in parameter space. By optimizing these imputed labels via gradient descent while training the model, LGA achieves state-of-the-art accuracy on CIFAR-10, outperforming existing consistency regularization methods.
We present label gradient alignment, a novel algorithm for semi-supervised learning which imputes labels for the unlabeled data and trains on the imputed labels. We define a semantically meaningful distance metric on the input space by mapping a point (x, y) to the gradient of the model at (x, y). We then formulate an optimization problem whose objective is to minimize the distance between the labeled and the unlabeled data in this space, and we solve it by gradient descent on the imputed labels. We evaluate label gradient alignment using the standardized architecture introduced by Oliver et al. (2018) and demonstrate state-of-the-art accuracy in semi-supervised CIFAR-10 classification.
Motivation & Objective
- To develop a semi-supervised learning method that leverages unlabeled data effectively by defining a semantically meaningful distance metric in the model's parameter space.
- To address the challenge of defining 'closeness' in high-dimensional input spaces for deep neural networks, particularly when labeled data is scarce.
- To improve generalization by aligning the gradients of labeled and unlabeled data through end-to-end optimization of imputed labels.
- To demonstrate that gradient-based similarity metrics can outperform or complement existing consistency regularization techniques in semi-supervised image classification.
Proposed method
- The method maps each data point (x, y) to its model gradient ∇θL(θ, x, y) in parameter space, forming a semantically meaningful metric.
- It formulates an optimization problem to minimize the normalized L2 distance between the gradients of labeled and unlabeled data in this space.
- Imputed labels for unlabeled data are parameterized via a learnable vector w, with softmax for classification or identity for regression.
- The optimization alternates between updating model weights θ via Adam and updating label parameters w using gradient descent on the normalized gradient distance.
- A normalized gradient distance metric is used, with EMA of squared gradients and ε_norm for numerical stability, ensuring scale invariance.
- The method is trained end-to-end, with a scheduled coefficient T(i) to balance labeled and unlabeled gradient contributions during training.
Experimental results
Research questions
- RQ1Can gradient-based similarity in model parameter space serve as a reliable metric for defining semantic similarity between data points in semi-supervised learning?
- RQ2Does optimizing imputed labels via gradient descent on a gradient-distance objective improve model generalization on limited labeled data?
- RQ3How does label gradient alignment compare to state-of-the-art consistency regularization methods like virtual adversarial training in terms of accuracy and robustness?
- RQ4Can the proposed method be combined with existing SSL techniques to further improve performance?
Key findings
- Label Gradient Alignment achieves state-of-the-art accuracy on the semi-supervised CIFAR-10 benchmark using the standardized architecture from Oliver et al. (2018).
- The method outperforms individual consistency regularization techniques such as the Π-Model and virtual adversarial training, particularly when combined with them.
- The normalized gradient distance metric ensures scale invariance and improves optimization stability, contributing to consistent performance gains.
- Empirical analysis on synthetic data shows that LGA effectively aligns gradients of similar samples, validating its core intuition.
- The method demonstrates strong generalization even with very few labeled examples, highlighting its efficiency in low-data regimes.
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.