Learning the Unlearned: Mitigating Feature Suppression in Contrastive Learning

Jihai Zhang, Xiang Lan, Xiaoye Qu, Yu Cheng, Mengling Feng, Bryan Hooi

Introduction: The "Lazy Student" Problem in AI

Self-supervised contrastive learning models like SimCLR and CLIP have transformed how AI learns from unlabeled data by pulling similar pairs together and pushing dissimilar ones apart. However, these models often exhibit a "lazy" behavior known as feature suppression. If a model can distinguish objects using a dominant trait like background color, it may ignore more subtle but critical semantic details like shape, texture, or orientation.

Example of feature suppression: CLIP assigns high similarity to rabbits with different orientations, failing to capture fine-grained semantic details.

As shown above, a standard CLIP model might assign nearly identical embeddings to a "rabbit facing left" and a "rabbit facing right" because it has only learned the general concept of a rabbit while suppressing the orientation feature. This leads to "hallucinations" in multimodal models where they fail to grasp basic visual logic.

Proposed Solution: Multistage Contrastive Learning (MCL)

To combat this, the authors introduce Multistage Contrastive Learning (MCL), a model-agnostic framework designed to systematically "un-suppress" hidden features. Instead of a single training session, MCL breaks the process into $N$ iterative stages.

Overview of the Multistage Contrastive Learning (MCL) framework, showing how iterative clustering and negative sampling force the model to learn new features like texture and shape.

The MCL Workflow

  1. Feature-aware Negative Sampling: After an initial stage (Stage 0), the model clusters the data based on what it has already learned. In subsequent stages, when the model selects "negative" samples to push away from an anchor, it specifically chooses samples from the same cluster. This forces the model to find new features (e.g., shape) to distinguish between items that already share dominant features (e.g., color).
  2. Cross-stage Representation Integration: To prevent the model from forgetting earlier features while learning new ones, the final representation is a concatenation of embeddings from every stage. This additive approach preserves global context while layering in fine-grained detail.

Experimental Results and Key Insights

The researchers evaluated MCL across several benchmarks, most notably the MMVP (Multimodal Visual Patterns) benchmark, which is designed to expose the blind spots of CLIP-style models.

  • MMVP Gains: A standard ViT-L-14 CLIP model scored 20.0% on MMVP. When tuned with the MCL framework, its accuracy jumped to 32.6%. In the "Color & Appearance" category, performance skyrocketed from 40% to 80%.
  • Unimodal Performance: On the CIFAR-MNIST "stress test," where models typically ignore CIFAR features in favor of MNIST digits, standard SimCLR achieved only 0.29 accuracy on CIFAR. MCL boosted this to 0.87 without degrading performance on the MNIST features.

Conclusion

MCL acts as a curriculum that progressively removes the "easy" answers, forcing the model to dig deeper into the data's semantic structure. While it introduces some computational overhead—such as a 75% increase in parameters for a four-stage ViT—the significant gains in model perceptiveness suggest that multistage training is a powerful tool for building more robust and detailed visual representations.

Summary updated

BibTeX
@inproceedings{zhang2024learning,
  author = {Jihai Zhang and Xiang Lan and Xiaoye Qu and Yu Cheng and Mengling Feng and Bryan Hooi},
  title = {{Learning the Unlearned: Mitigating Feature Suppression in Contrastive Learning}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73010-8\_3},
}
Figure