NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning from Complementary Labels

Takashi Ishida, Gang Niu, Weihua Hu, Masashi Sugiyama

Introduction

In traditional supervised learning, we assume every training example has a "ground truth" label. However, as the number of classes grows, labeling becomes a massive bottleneck. Asking a human annotator to pick the correct category from a list of 100 species is slow, tedious, and error-prone.

To address this, researchers have proposed a "weakly supervised" alternative: complementary labeling. Instead of identifying what an object is, annotators simply specify what it is not (e.g., "this image is not a dog"). It is much faster and cheaper to ask a person to pick any incorrect class than to find the single correct one. While a single complementary label provides less information than an ordinary label, this paper introduces a framework proving that you can derive an unbiased estimator for classification risk using only these "negative" labels. Remarkably, models trained this way can achieve the same optimal convergence rates as standard supervised learning.

The Mathematics of "Not"

The core contribution of this work is a mathematical framework for Direct Risk Minimization using complementary labels.

  1. Unbiased Risk Estimator: The authors mathematically prove that the true classification risk (the error rate we ultimately want to minimize) can be calculated using only complementarily labeled data.
  2. The Symmetric Condition: For this estimator to function correctly, the loss function $\ell$ must satisfy a specific symmetric condition: $\ell(z) + \ell(-z) = 1$. This means standard convex losses like the Hinge loss (commonly used in SVMs) will not work directly. Instead, the authors suggest using non-convex alternatives:
  3. Sigmoid Loss: A smooth, non-convex loss.
  4. Ramp Loss: A "clipped" linear loss.
Comparison of Zero-one, Sigmoid, and Ramp loss functions.
  1. Loss Formulations: The researchers adapt two standard multi-class approaches for the complementary setting: One-Versus-All (OVA) and Pairwise-Comparison (PC).
  2. Hybrid Learning: They also provide a formula to combine ordinary labels and complementary labels using a convex combination. This allows practitioners to efficiently use whatever mixture of data they have available.

Experimental Insights and Results

The researchers evaluated their methods on several standard benchmarks, including MNIST (handwritten digits) and various UCI Benchmarks (WAVEFORM, SATIMAGE, PENDIGITS, DRIVE, and LETTER). In these experiments, they simulated complementary labels by randomly selecting one of the $K-1$ incorrect classes for each training point.

Key Findings

  • Information vs. Effort: While a complementary label provides less information than an ordinary one, the "cost per bit" of information is often much lower. In binary classification, it is functionally identical to an ordinary label. In a 10-class problem, a complementary label reduces the possibilities from 10 to 9.
  • Theoretical Consistency: The most surprising theoretical result is that learning from complementary labels is consistent. As you gather more data, your model will eventually converge to the optimal classifier, achieving the optimal parametric convergence rate of $O_p(1/\sqrt{n})$.
  • Performance Stability and the "K" Factor: On datasets like MNIST, the proposed methods (especially using the Sigmoid loss) maintained high accuracy. However, accuracy naturally degrades as the number of total classes ($K$) increases. "Not a 1" is highly informative when there are only 3 possible digits, but significantly less helpful when there are 10.
Classification accuracy across varying numbers of classes.
  • Superiority over Baselines: The proposed method (particularly Pairwise-Comparison with Sigmoid loss) generally outperformed existing "Partial Label" and "Multi-Label" baselines on the UCI benchmark datasets.
  • The "Yes/No" Crowdsourcing Hack: The authors suggest a highly practical workflow for crowdsourcing: ask a worker, "Is this a dog?" If they say "Yes," you have an ordinary label. If they say "No," you have a complementary label. Both are now mathematically useful for training.

Limitations and Future Directions

While promising, the framework has a few practical limitations:

  • Non-Convexity: The symmetric condition requires using non-convex losses (Sigmoid/Ramp). While the authors used the Adam optimizer successfully, non-convex optimization is generally more finicky and prone to local minima than the convex optimization used in standard Logistic Regression.
  • Information Dilution: In problems with hundreds or thousands of classes (like ImageNet), a single complementary label becomes extremely "weak." The authors suggest that in such massive-scale cases, providing multiple complementary labels per image might be necessary.
  • Privacy Applications: Looking forward, the authors note this approach could be a massive boon for privacy-aware machine learning. If a survey asks a sensitive question, a user might be much more willing to select an answer that is not true than to reveal the sensitive truth. Using this framework, the model can still learn effectively from that "negative" data.

Summary updated

BibTeX
@inproceedings{ishida2017learning,
  author = {Takashi Ishida and Gang Niu and Weihua Hu and Masashi Sugiyama},
  title = {{Learning from Complementary Labels}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
}
Figure