In traditional supervised learning, we assume access to a "Positive-Negative" (PN) dataset where every example is cleanly labeled. However, real-world data is often messy: we might only have positive examples and a pile of unlabeled data (PU learning), or "complementary" labels telling us what an object is not, or even just relative rankings of relevance.
When we apply standard machine learning tools—like Support Vector Machines (SVMs) with Hinge loss—to these weak supervision settings, they often fail. The reason is bias. Standard loss functions are designed for PN data; when used on weak labels, they systematically shift the decision boundary, leading to poor generalization.
A growing body of research suggests that the key to learning from weak labels lies in a specific mathematical property: loss symmetry.
The Failure of Convexity
For decades, convexity was the gold standard for loss functions because it guaranteed efficient optimization. But in the context of Positive-Unlabeled (PU) learning, Marthinus Christoffel du Plessis, Gang Niu, and Masashi Sugiyama demonstrated a critical flaw in this preference. In Analysis of Learning from Positive and Unlabeled Data, they showed that standard convex losses (like Hinge or logistic loss) lead to biased decision boundaries when negative labels are missing.
The problem is that in PU learning, the "unlabeled" set contains hidden positive samples. A standard loss function treats these unlabeled samples as negatives, penalizing the model for predicting "positive" on them. Because the loss is not symmetric, the penalty incurred by these hidden positives isn't balanced out, dragging the decision boundary away from the true optimum.
The Symmetry Condition
To fix this, researchers have turned to symmetric loss functions. A loss function $\ell$ is symmetric if it satisfies a simple identity: $$\ell(z) + \ell(-z) = \text{constant}$$ Common examples include the Sigmoid loss and the Ramp loss.
The intuition behind why this works is "mathematical cancellation." When you estimate the risk (the expected error) of a classifier using unlabeled data, you are essentially dealing with a mixture of positives and negatives. If your loss function is symmetric, the "extra" penalty incurred by the hidden positive samples in the unlabeled set is mathematically canceled out by the way the loss treats the rest of the distribution.
This allows for the construction of an unbiased risk estimator. As Gang Niu and colleagues proved in Theoretical Comparisons of Positive-Unlabeled Learning against Positive-Negative Learning, with a symmetric loss, the risk you calculate on PU data is, in expectation, exactly the same as the risk you would have calculated if you had the true labels.
Beyond Positive-Unlabeled Learning
The power of symmetric losses extends far beyond PU learning. It has become a unifying framework for various forms of weak supervision:
- Complementary Labels: In many-class problems, it is often easier to say what an image is not (e.g., "this is not a dog") than to pick the exact breed. Ishida Takashi, Gang Niu, and Masashi Sugiyama showed in Learning from Complementary Labels that symmetric losses allow models to achieve the same optimal convergence rates as standard supervised learning, even when they only know what classes to avoid.
- Pairwise Relevance: When annotating complex objects, we might only know that "Label A is more relevant than Label B." Ming-Kun Xie and Sheng-Jun Huang utilized the symmetry of the Sigmoid loss in Multi-Label Learning with Pairwise Relevance Ordering to ensure that these relative comparisons result in an unbiased model.
- Augmented Classes: When a model encounters "new" classes not seen during training, Yu-Jie Zhang and Zhi-Hua Zhou found that maintaining unbiased risk estimation similarly requires these specific symmetry constraints (An Unbiased Risk Estimator for Learning with Augmented Classes).
The Theoretical Bridge
Symmetry doesn't just solve practical labeling problems; it also provides a bridge to classical statistics. Richard Nock and Frank Nielsen identified a class of "Balanced Convex Surrogates" in On the Efficient Minimization of Classification Calibrated Surrogates, noting that symmetry is what links supervised learning directly to maximum likelihood estimation and game-theoretic principles.
While symmetric losses are often non-convex—making them slightly harder to optimize than a standard SVM—the trade-off is a mathematically "pure" view of the data. By choosing symmetry over convexity, we gain the ability to treat weak, noisy, and indirect labels as if they were ground truth, providing a robust foundation for learning in the wild.