Abstract
Semi-supervised learning (SSL) has long relied on consistency regularization, typically enforcing model invariance to data augmentations. However, as augmentations become increasingly "strong," forcing identical feature representations can limit a model's expressive capacity. This paper introduces CR-Match, a framework that shifts the paradigm from strict invariance to equivariance. By encouraging the model to recognize feature-level differences between differently augmented versions of the same image while maintaining label consistency, CR-Match achieves state-of-the-art results across standard and imbalanced benchmarks, including CIFAR, ImageNet, and Semi-Aves.
Introduction
Deep learning's success is often predicated on the availability of massive labeled datasets. In many domains, however, labeling is prohibitively expensive or requires expert knowledge. Semi-supervised learning (SSL) addresses this by leveraging a small set of labeled data alongside a much larger pool of unlabeled data.
The cornerstone of modern SSL is consistency regularization. This principle posits that a model should output the same prediction for an unlabeled image even after it has been perturbed by various transformations. Traditionally, researchers have enforced this by trying to make the internal feature representations of these different versions as identical as possible—a property known as invariance.
Methodology: From Invariance to Equivariance
The authors of this paper challenge the assumption that strict invariance is always optimal. They argue that when "strong" augmentations—such as extreme color jittering, complex distortions, or Cutout—are applied, the resulting images become perceptually distinct.
To address this, they propose CR-Match, which utilizes a novel FeatDistLoss (Feature Distance Loss). CR-Match operates on two distinct levels:
- Classifier Level (Consistency): Following the successful FixMatch paradigm, the model uses a "weakly" augmented image to generate a high-confidence pseudo-label. This label then serves as the ground truth for the model's prediction on a "strongly" augmented version of the same image.
- Feature Level (Equivariance): Instead of pulling the features of different augmentations together, FeatDistLoss explicitly increases their distance in the feature space. This ensures the model remains aware of the transformations while still mapping them to the same semantic class.
The "Spread" Effect in Feature Space
The core innovation lies in the conceptual shift depicted in the feature space. In traditional invariance-based models, the goal is to collapse all augmented versions of a sample into a single point. In contrast, the equivariance approach of CR-Match allows the representations to "spread out."
This spreading effect prevents the model from collapsing representations into a narrow, potentially fragile point. By covering more "space" for each class in the feature manifold, the model develops more robust decision boundaries, which is particularly critical when labeled data is extremely scarce.
Experimental Results
CR-Match was evaluated against a comprehensive suite of benchmarks, consistently defining a new state-of-the-art (SOTA):
- Standard SSL: On CIFAR-100 with only 4 labels per class, CR-Match achieved a 39.45% error rate, significantly outperforming the previous best, FlexMatch (45.91%). On the large-scale ImageNet-1k, it reached a 40.69% Top-1 error, surpassing both FixMatch and FlexMatch.
- Imbalanced SSL: In long-tailed scenarios where some classes are rare, CR-Match showed remarkable resilience. On CIFAR-10-LT (imbalance ratio of 150), it achieved 82.29% accuracy when combined with CoSSL.
Conclusion
CR-Match demonstrates that the traditional pursuit of feature invariance in SSL may be counterproductive when using strong data augmentations. By embracing equivariance through FeatDistLoss, models can learn richer, more robust representations that generalize better to unseen data. While auxiliary tasks like rotation prediction (RotNet) further bolster performance, the fundamental insight remains: allowing features to reflect the diversity of their inputs leads to a more capable classifier.
Summary updated