Proper losses for learning from partial labels

Jesús Cid-SueiroNeurIPS 2012

Introduction

In standard supervised machine learning, we typically assume every training instance is paired with a single, ground-truth label. However, real-world data is often much messier. We frequently encounter partial labels—scenarios where the exact class is unknown, but we are given a restricted set of candidate classes. Common examples include:

  • Crowdsourcing: Multiple annotators disagree on a medical image diagnosis, leaving a set of possible conditions.
  • Automatic Tagging: A photo caption mentions three people, but there are four faces in the image. We know each face belongs to one of those three names, but not which is which.
  • Hierarchical Labels: An object is labeled broadly as a "Bird" rather than specifically as a "Sparrow."

This paper provides a theoretical framework for training models when labels are "fuzzy" or partial. The core challenge is calibrating a model to output the correct probability of the true class when the training data only provides these candidate sets. Most existing methods either ignore this ambiguity or rely on highly restrictive assumptions. This work asks a fundamental question: under what mathematical conditions can we still recover the true posterior probabilities without ever seeing a "clean" label?

Methodology: Proper Scoring Rules and Mixing Matrices

To solve this, the author approaches the problem through the lens of Proper Scoring Rules. In statistical learning, a loss function is considered "proper" if its expected value is minimized only when the model predicts the true underlying probability distribution of the data.

To adapt this to ambiguous data, the paper introduces several key technical innovations:

  1. The Mixing Matrix ($M$): The relationship between the true, unobserved label ($y$) and the observed partial label ($z$) is modeled using a matrix $M$. This matrix captures the probability of observing a specific ambiguous label given the true class.
  2. Generalized Proper Losses: The author defines a new class of loss functions, $\ell(z, \hat{\eta})$, that are "M-proper." If a model minimizes this loss against the ambiguous labels $z$, it is mathematically guaranteed to be estimating the true class probabilities $\eta$.
  3. Virtual Labels: Perhaps the most elegant contribution is the concept of "virtual labels" ($\tilde{y}$). The paper demonstrates that a proper loss for partial labels can be treated as a standard proper loss by transforming the ambiguous input $z$ into a virtual label via a linear combination ($\tilde{y} = U^T V^{-1} z$). This means you do not necessarily need a complex new algorithm to handle partial labels; if you can characterize the ambiguity, you can transform the labels and use standard loss functions.

Visualizing the Bias in Probability Estimation

Because this is a theoretical and methodological paper, it relies on mathematical visualization rather than standard large-scale benchmarks (like ImageNet) to prove its points.

3-class probability simplex illustrating biased probability estimates.

Using a 3-class probability simplex, the author demonstrates how a "bad" choice of loss function—one not properly suited to the underlying ambiguity—leads to biased probability estimates. The visualization clearly shows the gap between the true probability ($\eta$) and the biased estimate ($\hat{\eta}^*$) when the mixing process is ignored.

Key Theoretical Results

The paper establishes several strong mathematical guarantees for learning under ambiguity:

  • Necessary and Sufficient Conditions (Theorem 3.2): The paper provides the exact mathematical conditions required for a loss function to be proper in the context of partial labels.
  • Generalizing Savage’s Representation (Theorem 4.3): The author generalizes Savage’s famous representation theorem, providing an explicit formula to construct any partial-label proper loss using a concave generator function.
  • Invariance of Error: A surprising finding is that the estimation error resulting from a "wrong" assumption about the mixing matrix is invariant to the specific choice of strict proper loss used (e.g., whether you use Square Error or Cross-Entropy).
  • Quantifiable Information Loss: The paper proves that for some noise scenarios, you mathematically cannot recover the true class probability without knowing the noise parameters. However, for specific partial label sets, you can recover the truth even if the exact mixing parameters remain unknown.

Limitations and Future Work

While theoretically robust, the framework has practical limitations that point toward future research:

  • Knowledge of the Mixing Matrix: While the paper allows for a set of mixing matrices (modeled geometrically as a convex polytope), it still requires the user to define the structure of that set. In many "in-the-wild" problems, the structure of the noise is entirely unknown.
  • Computational Complexity: For a large number of classes ($c$), the number of possible partial label patterns ($d$) grows exponentially ($2^c$). Estimating probabilities directly from $d$ patterns becomes computationally infeasible. While the "M-proper" approach mitigates this, constructing the necessary transformation matrices still faces scaling challenges.
  • Empirical Validation: As a purely theoretical work, the paper lacks real-world testing on modern deep learning architectures, where non-convex optimization might complicate the theoretical guarantees of Fisher consistency.

Summary updated

BibTeX
@inproceedings{cidsueiro2012proper,
  author = {Jesús Cid-Sueiro},
  title = {{Proper losses for learning from partial labels}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2012},
}
Figure