Self-Supervised Representation Learning with Meta Comprehensive Regularization

Huijie Guo, Ying Ba, Jie Hu, Lingyu Si, Wenwen Qiang, Lei Shi

Introduction

Self-supervised learning (SSL) has revolutionized computer vision by allowing models to learn powerful representations from unlabeled data. Most contemporary SSL frameworks, such as SimCLR, BYOL, and Barlow Twins, rely on the principle of augmentation invariance. By teaching a model to produce identical representations for two different augmented views of the same image (e.g., a crop of a bird's beak and a crop of its wings), the model learns to identify core semantic concepts.

However, this paper identifies a critical "semantic loss" trap: in the pursuit of making two views identical, the model often discards unique, task-relevant details present in only one of the views. If the model only focuses on the shared low-level features—like color or texture—to satisfy the invariance constraint, it may lose the specific features (like the shape of a beak or the pattern of a wing) necessary for fine-grained downstream tasks. To address this, the authors introduce CompMod, a plug-and-play module utilizing Meta Comprehensive Regularization (MCR) to recover this lost information and learn more complete representations.

The CompMod Framework

CompMod is designed to ensure that representations are not just invariant across views, but also comprehensive. It achieves this through three integrated components:

1. Feature Fusion

Instead of treating augmented views in isolation, CompMod fuses their features ($h_1 \oplus h_2$) to create a "comprehensive" representation. This fused vector serves as a target that contains the union of information from both views. By encouraging individual views to align with this fused target, the model is forced to "fill in the blanks"—for example, the representation of the "wing" view is encouraged to incorporate information about the "beak" present in the comprehensive target.

2. Maximum Entropy Coding

To prevent the fused representation from collapsing into a trivial or noisy solution, the authors apply the Maximum Coding Rate Reduction principle. This loss function forces the fused representation to maintain high entropy (information content). Mathematically, this ensures the model remains descriptive and cannot "cheat" by mapping different images to the same uninformative vector.

3. Bi-Level Optimization

The training process utilizes a meta-learning approach involving two distinct steps per epoch:

  • The Inner Loop (Encoder Update): The encoder is updated to minimize the standard SSL loss while simultaneously making individual view representations more similar to the comprehensive fused target.
  • The Outer Loop (Fusion Update): The fusion module itself is updated to find a state that further optimizes the overall SSL objective. This "look-ahead" mechanism ensures the fusion process is actively contributing to the quality of the learned features.

Furthermore, the authors provide a Causal Counterfactual Analysis, treating data augmentation as a counterfactual intervention. They theoretically demonstrate that maximizing entropy in this framework allows the model to capture the full suite of semantic information related to the original sample.

Experimental Results

The researchers evaluated CompMod by integrating it into existing SSL baselines (creating "plus" versions like SimCLR+ and BYOL+) across several benchmarks.

Classification Performance

CompMod consistently improved top-1 accuracy across various scales:

  • Small/Medium Scales: On CIFAR-10 and CIFAR-100, SimCLR+ and BYOL+ improved accuracy by over 2%. On Tiny ImageNet, BYOL+ achieved a 2.5% improvement.
  • Large Scale: Barlow Twins+ showed a significant 4% improvement on ImageNet-100. On the full ImageNet-1k dataset, the improvements remained consistent, demonstrating the method's scalability.
  • Semi-Supervised Learning: When fine-tuned on ImageNet with only 1% of labels, Barlow Twins+ reached 56.1% top-1 accuracy, outperforming the standard baseline by 1.1%.

Downstream Transferability

To test if the learned features were truly more "comprehensive," the authors evaluated the models on the COCO dataset for object detection and instance segmentation. BYOL+ improved the Object Detection Average Precision (AP) from 37.9 to 39.7. This suggests that the information preserved by CompMod is highly beneficial for complex tasks requiring spatial and structural detail.

Conclusion and Future Work

The core insight of this work is that invariance should not come at the cost of completeness. By using meta-regularization and entropy maximization, CompMod allows standard SSL methods to break out of the semantic loss trap. While the bi-level optimization introduces some additional computational overhead and requires tuning of regularization parameters ($\lambda_1, \lambda_2$), the performance gains across diverse tasks are substantial.

Future research may explore applying this comprehensive regularization to multi-modal contexts, such as video-audio learning, where different modalities naturally provide complementary information that a model must integrate to achieve a full understanding of the data.

Summary updated

BibTeX
@inproceedings{guo2024self,
  author = {Huijie Guo and Ying Ba and Jie Hu and Lingyu Si and Wenwen Qiang and Lei Shi},
  title = {{Self-Supervised Representation Learning with Meta Comprehensive Regularization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i3.27966},
}
Figure