Learning with Complementary Labels Revisited: A Consistent Approach via Negative-Unlabeled Learning

Wei Wang, Takashi Ishida, Yu-Jie Zhang, Gang Niu, Masashi Sugiyama · OpenReview

Abstract

Complementary-label learning (CLL) is a weakly supervised learning problem in which each training example is associated with one or multiple complementary labels indicating the classes to which it does not belong. Existing consistent approaches have relied on the uniform distribution assumption to model the generation of complementary labels, or on an ordinary-label training set to estimate the transition matrix in non-uniform cases. However, either condition may not be satisfied in real-world scenarios. In this paper, we propose a novel consistent approach that does not rely on these conditions. Inspired by the positive-unlabeled (PU) learning literature, we propose an unbiased risk estimator based on the Selected-Completely-at-Random assumption for complementary-label learning. We then introduce a risk-correction approach to address overfitting problems. Furthermore, we find that complementary-label learning can be expressed as a set of negative-unlabeled binary classification problems when using the one-versus-rest strategy. Extensive experimental results on both synthetic and real-world benchmark datasets validate the superiority of our proposed approach over state-of-the-art methods.

Introduction

In standard supervised learning, models are trained using ordinary labels that specify exactly what an object is. However, collecting such labels can be expensive and time-consuming, especially for large-scale datasets. Complementary-Label Learning (CLL) offers a more efficient alternative by using "negative" labels—specifying what an object is not. For instance, in a crowdsourcing environment, it is significantly faster for a human annotator to identify that an image is "not a dog" than to correctly identify the specific breed among hundreds of options.

Despite its practicality, existing mathematical frameworks for CLL often rely on the uniform distribution assumption: the premise that if an instance belongs to class $y$, any other class is equally likely to be chosen as its complementary label. In real-world scenarios, this assumption rarely holds due to annotator biases and inherent similarities between certain classes. Previous attempts to address non-uniformity required a small set of clean, ordinary labels to estimate a transition matrix, which undermines the cost-saving benefits of CLL. This paper introduces SCARCE (Selected-Completely-At-Random ComplEmentary-label learning), a method that remains consistent without requiring uniform distributions or clean anchor data.

The SCARCE Framework

The core innovation of SCARCE lies in reframing CLL through the lens of Negative-Unlabeled (NU) learning. The authors introduce the SCAR (Selected-Completely-At-Random) assumption: for any class $k$, if the true label is not $k$, there is a constant probability $c_k$ that $k$ will be selected as a complementary label. This assumption is significantly more flexible than the uniform requirement.

By applying a one-versus-rest (OVR) strategy, a multi-class CLL problem with $q$ classes can be decomposed into $q$ binary classification problems. For each class, the data is treated as either "Negative" (confirmed not to be this class) or "Unlabeled" (unknown status). This connection allows the adaptation of robust techniques from the Positive-Unlabeled (PU) and NU learning fields to the CLL domain.

Risk Correction and Stability

A significant challenge in using Unbiased Risk Estimators (URE) with deep neural networks is the tendency for the training loss to become negative, which often leads to severe overfitting. To combat this, the authors introduce a risk-correction function using an absolute value wrapper to stabilize optimization.

Figure 4: Comparison of training dynamics across four datasets. The solid purple line (SCARCE_test) shows significantly better stability and lower risk compared to the uncorrected URE_test (dashed purple) as training loss (blue dashed) decreases.

As shown in the training dynamics above, the standard URE approach (dashed purple) often sees an increase in test risk as training progresses, a sign of overfitting. SCARCE (solid purple) effectively mitigates this, maintaining a lower and more consistent risk profile across MNIST, Kuzushiji-MNIST, Fashion-MNIST, and CIFAR-10.

Experimental Evaluation

The researchers evaluated SCARCE against state-of-the-art (SOTA) methods using both synthetic benchmarks and real-world datasets (CLCIFAR-10 and CLCIFAR-20) where labels were generated by human workers on Amazon Mechanical Turk.

Key Results

  • Synthetic Performance: In 40 different experimental settings involving varying label distributions, SCARCE achieved the best performance in 39 cases.
  • Real-World Superiority: On the human-annotated CLCIFAR-20 dataset, SCARCE achieved 20.08% accuracy, more than doubling the performance of the next best method, Phuber-CE (8.10%).
  • Robustness to Bias: The method demonstrated high stability even when the "class priors" were misestimated or when the labeling bias ($\sigma$) increased.
Figure 6: Accuracy comparison across datasets (left) and robustness to label bias $\sigma$ (right). The approach maintains high accuracy even as the bias in complementary label selection increases.

Conclusion

By establishing that CLL is essentially a collection of Negative-Unlabeled problems, SCARCE provides a theoretically grounded and practically robust framework for learning from weak labels. It successfully breaks the "uniformity trap" that limited previous methods, making it a powerful tool for real-world applications where human bias is inevitable. Future work may involve moving toward instance-dependent CLL, where the probability of a complementary label depends on the specific features of an image rather than just its ground-truth class.

Summary updated

BibTeX
@inproceedings{wang2024learning,
  author = {Wei Wang and Takashi Ishida and Yu-Jie Zhang and Gang Niu and Masashi Sugiyama},
  title = {{Learning with Complementary Labels Revisited: A Consistent Approach via Negative-Unlabeled Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=ykZYLBcA9g},
}
Figure