Skip to main content
QUICK REVIEW

[Paper Review] A Theory-Driven Self-Labeling Refinement Method for Contrastive Representation Learning

Pan Zhou, Caiming Xiong|arXiv (Cornell University)|Jun 28, 2021
Domain Adaptation and Few-Shot LearningComputer Science62 references5 citations
TL;DR

This paper proposes a theory-driven self-labeling refinement method for contrastive representation learning that improves label accuracy by iteratively refining soft labels using semantic similarity estimation and momentum mixup. The method achieves state-of-the-art performance on CIFAR-10, ImageNet, VOC, and COCO by reducing generalization error through more accurate supervision, with theoretical guarantees on label recovery and zero prediction error under label corruption.

ABSTRACT

For an image query, unsupervised contrastive learning labels crops of the same image as positives, and other image crops as negatives. Although intuitive, such a native label assignment strategy cannot reveal the underlying semantic similarity between a query and its positives and negatives, and impairs performance, since some negatives are semantically similar to the query or even share the same semantic class as the query. In this work, we first prove that for contrastive learning, inaccurate label assignment heavily impairs its generalization for semantic instance discrimination, while accurate labels benefit its generalization. Inspired by this theory, we propose a novel self-labeling refinement approach for contrastive learning. It improves the label quality via two complementary modules: (i) self-labeling refinery (SLR) to generate accurate labels and (ii) momentum mixup (MM) to enhance similarity between query and its positive. SLR uses a positive of a query to estimate semantic similarity between a query and its positive and negatives, and combines estimated similarity with vanilla label assignment in contrastive learning to iteratively generate more accurate and informative soft labels. We theoretically show that our SLR can exactly recover the true semantic labels of label-corrupted data, and supervises networks to achieve zero prediction error on classification tasks. MM randomly combines queries and positives to increase semantic similarity between the generated virtual queries and their positives so as to improves label accuracy. Experimental results on CIFAR10, ImageNet, VOC and COCO show the effectiveness of our method. PyTorch code and model will be released online.

Motivation & Objective

  • To address the issue of inaccurate and uninformative one-hot labels in contrastive learning, which impair generalization due to semantic similarity mismatches between queries and negatives.
  • To theoretically establish that generalization error in MoCo-based contrastive learning linearly depends on the discrepancy between estimated and true semantic labels.
  • To develop a self-labeling refinement framework that iteratively improves label quality using internal network and data feedback.
  • To enhance label accuracy not only through explicit label refinement but also via improved semantic similarity between queries and their positives.
  • To achieve zero prediction error on classification tasks under label corruption by ensuring exact recovery of true semantic labels.

Proposed method

  • Introduces Self-Labeling Refinery (SLR), which estimates semantic similarity between a query and its keys (positives and negatives) using feature-level similarity from a positive crop.
  • Combines estimated similarity with vanilla one-hot labels via a linear fusion to generate more informative and accurate soft labels in an iterative refinement process.
  • Employs Momentum Mixup (MM) to create virtual queries by mixing query and positive crops, increasing semantic similarity and implicitly improving label accuracy.
  • Theoretical analysis proves that generalization error is lower bounded by the L2 norm of label discrepancy, establishing a direct link between label accuracy and model performance.
  • Uses a momentum-based update mechanism with theoretical convergence guarantees, ensuring stable refinement under label corruption.
  • The framework is designed to exactly recover true semantic labels under certain conditions, enabling zero prediction error in classification.

Experimental results

Research questions

  • RQ1How does label inaccuracy in contrastive learning affect model generalization for instance discrimination?
  • RQ2Can a self-supervised method refine labels using only the network and data, without external supervision?
  • RQ3What is the theoretical relationship between label discrepancy and generalization error in MoCo-style contrastive learning?
  • RQ4Can soft label refinement via similarity estimation and data mixing improve performance across diverse benchmarks?
  • RQ5Under what conditions can a self-labeling method exactly recover true semantic labels and achieve zero prediction error?

Key findings

  • The generalization error of MoCo for instance discrimination is lower bounded by the L2 norm of the difference between estimated and true labels, proving that label accuracy directly impacts performance.
  • The proposed SANE method achieves state-of-the-art performance on CIFAR-10, ImageNet, VOC, and COCO, outperforming baseline contrastive learning methods.
  • Theoretical analysis confirms that the method can exactly recover true semantic labels when label corruption is present, ensuring zero prediction error in classification.
  • Momentum Mixup increases semantic similarity between queries and their positives, implicitly improving label quality and model robustness.
  • The self-labeling refinement process converges stably under theoretical guarantees, with error bounds depending on network capacity and data distribution.
  • Empirical results demonstrate consistent gains across multiple datasets, validating the effectiveness of both SLR and MM components in improving representation learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.