Learning with Complementary Labels Revisited: The Selected-Completely-at-Random Setting Is More Practical

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

TL;DR

Complementary-label learning (CLL) allows models to learn from weak supervision by specifying what class a data point does not belong to. Traditional CLL methods rely on unrealistic assumptions, such as perfectly uniform label distributions or access to a clean, fully labeled dataset. This paper introduces SCARCE, a novel approach that drops these requirements by framing CLL as a set of Negative-Unlabeled (NU) binary classification tasks, achieving state-of-the-art performance on both synthetic and real-world datasets.

What Problem Does This Paper Address?

In standard supervised learning, annotators must provide the exact ground-truth label for every training example—a process that is often expensive and time-consuming. An alternative is complementary-label learning (CLL), where an annotator simply states what a data point is not (e.g., "This image is not a car"). This is much easier and cheaper to collect via crowdsourcing.

However, existing mathematical frameworks that guarantee a model will converge to the true classifier rely on strict assumptions:

  1. The Uniform Assumption: If an object is not a car, any of the remaining incorrect labels are chosen as the complementary label with equal probability. In reality, human annotators are biased and imbalanced.
  2. The Biased Assumption: The distribution of complementary labels depends on the true label, but estimating this relationship requires an additional, clean dataset with ordinary labels—defeating the purpose of cheap weak labeling.

This paper tackles the challenge of learning from complementary labels under a realistic, non-uniform setting without requiring any clean, ordinary-label data.

Methods

The authors introduce SCARCE (Selected-Completely-At-Random ComplEmentary-label learning). Their approach relies on three key pillars:

  • The SCAR Assumption: Inspired by Positive-Unlabeled (PU) learning, they propose the Selected-Completely-at-Random (SCAR) assumption for CLL. It posits that if an example does not belong to class $k$, it is selected to receive the complementary label $k$ with a constant probability $c_k$. Crucially, $c_k$ can vary across different classes, naturally accommodating non-uniform and biased real-world annotations.
  • Reduction to Negative-Unlabeled (NU) Learning: Using a One-Versus-Rest (OVR) strategy, the authors prove that a multi-class CLL problem can be decomposed into $q$ independent binary NU classification problems (where $q$ is the number of classes). For each class $k$, data points explicitly labeled "not $k$" serve as the Negative set, while all other data points serve as the Unlabeled set.
  • Risk Correction: Unbiased risk estimators often suffer from overfitting when applied to deep neural networks because the empirical risk can plunge into negative values during training. To mitigate this, the authors introduce a risk-correction function $g(z) = |z|$ to bound the risk estimator away from negative territory.
Figure 1. Training curves and test curves of the method that minimizes the URE and test curves of our proposed risk-correction approach SCARCE. The green dashed lines indicate when the URE becomes negative while the yellow dashed lines indicate when the overfitting phenomena occur. The complementary labels are generated by following the uniform distribution assumption. ResNet is used as the model architecture for CIFAR-10 and MLP is used for other datasets.

Datasets

The authors evaluated their method on two categories of datasets:

  • Synthetic Benchmarks: MNIST, Kuzushiji-MNIST, Fashion-MNIST, and CIFAR-10. Complementary labels were synthetically generated using uniform, biased, and SCAR distribution processes to thoroughly test robustness.
  • Real-World Benchmarks: CLCIFAR-10 and CLCIFAR-20. These datasets contain real human annotations collected from Amazon Mechanical Turk (MTurk), featuring natural crowd noise and complex, unknown complementary label distributions.

Key Insights and Ideas

  • The PU/NU Bridge: Connecting complementary-label learning directly to Negative-Unlabeled learning is a powerful conceptual shift. It means any advanced algorithm from the mature field of PU/NU learning can now be plugged directly into CLL problems via a meta-algorithm framework.
  • Class-Wise Independence: Because the SCAR assumption operates class-wise, it bypasses the need to estimate a massive, complex joint transition matrix across all classes simultaneously. Class priors can instead be estimated using off-the-shelf mixture proportion estimation methods.
  • The Danger of Unbounded Losses: The authors note that standard cross-entropy loss performs poorly in this setting due to its unbounded nature. Utilizing an OVR strategy with bounded losses (like logistic loss) combined with absolute-value risk correction provides vital regularization for deep networks.

Key Results

SCARCE consistently outperformed state-of-the-art CLL methods across almost all experimental setups:

  • Synthetic Data: Out of 40 combinations of different datasets, architectures (MLP, LeNet, ResNet, DenseNet), and label generation strategies, SCARCE achieved the highest classification accuracy in 39 cases.
  • Real-World Data: On the highly complex CLCIFAR-20 dataset (using a ResNet architecture), SCARCE achieved an accuracy of 20.08%, vastly outperforming the next best baseline method, Phuber-CE, which only reached 8.10%.
Comparison of different loss instantiations and sensitivity analysis of class priors.

As shown in the sensitivity analysis (Figure 2b above), SCARCE remains highly robust to small perturbations in class prior estimations, though performance degrades if the priors deviate drastically from ground truth.

Limitations and Future Work

  • Instance-Independent Assumption: The current SCAR formulation assumes that the generation of a complementary label depends solely on the true class category. It does not account for instance-dependent factors (e.g., an annotator might be more likely to give a complementary label to a visually ambiguous image than a clear one).
  • Computational Overhead: If a chosen underlying PU learning algorithm cannot share representation layers across the $q$ binary classifiers, the storage and computational costs will scale linearly with the number of classes, which could become problematic for datasets with hundreds of categories.

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: The Selected-Completely-at-Random Setting Is More Practical}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=ykZYLBcA9g},
}
Figure