ComRank: Ranking Loss for Multi-Label Complementary Label Learning

Jing-Yi Zhu, Yi Gao, Miao Xu, Min-Ling ZhangNeurIPS 2025

TL;DR

ComRank introduces a novel framework for Multi-Label Complementary Label Learning (MLCLL) that shifts the paradigm from estimating risk to ranking labels. By enforcing a rule where "complementary" labels (labels an instance definitely does not have) are ranked lower than others, the model achieves superior performance. Crucially, ComRank guarantees theoretical "Bayes consistency" even when the training data suffers from annotation bias.

The Challenge with Current Weakly Supervised Methods

In traditional Multi-Label Learning (MLL), models are trained using "positive" labels (e.g., an image is explicitly tagged with "dog" and "park"). However, exhaustively labeling large datasets is expensive, time-consuming, and sometimes invasive.

Complementary Label Learning (CLL) offers a "weakly supervised" alternative. Instead of telling the model what an instance is, annotators provide one thing it is not (e.g., "this image is NOT a building").

The current state-of-the-art methods for this task rely on Unbiased Risk Estimators (URE). These mathematical tools attempt to estimate the true risk of the model based on the assumption that complementary labels are chosen uniformly at random from all irrelevant labels. The authors identify two major flaws in this standard approach:

  1. Annotation Bias: In the real world, human annotation is rarely uniformly random. If an image shows a dog, an annotator is much more likely to exclude "building" than "wolf." This bias breaks the "uniform" assumption, rendering URE-based models ineffective in practical scenarios.
  2. Ignoring Correlations: Multi-label data is inherently relational (e.g., if an image contains "sand," it likely contains "ocean"). Existing URE methods often treat labels in isolation, failing to exploit these natural correlations.

The ComRank Solution

To address these limitations, the authors propose ComRank, a ranking loss framework specifically designed for MLCLL.

  • The Ranking Intuition: Instead of trying to estimate a complex risk function, ComRank enforces a straightforward constraint: the predicted probability of a complementary label (a known irrelevant label) must be lower than the probabilities of all other labels.
  • Exponential Surrogate Loss: Because direct ranking (0-1 loss) is computationally NP-hard, the framework utilizes a convex exponential function as a surrogate. This ensures the optimization process is smooth and efficient for gradient descent.
  • Theoretical Guarantee: A standout contribution of this paper is its proof of Bayes Consistency. The authors mathematically demonstrate that minimizing the ComRank loss leads the model to the true optimal classifier, regardless of whether the complementary labels follow a uniform or a biased distribution.

Key Insights

By comparing labels pairwise, ComRank naturally captures the relationships between labels. If the model learns to push "complementary" labels to the bottom, it implicitly learns the structure of the "relevant" labels at the top. Furthermore, the paper advocates for an Instance-Dependent Assumption, acknowledging that the choice of a "negative" label depends on the specific features of the instance itself—a much more realistic reflection of human annotation.

Experimental Results

The researchers evaluated ComRank across seven diverse multi-label datasets spanning images (scene, bibtex, nuswideBoW), biology (yeast), and text/web (enron, rcv1-s1, bookmark). These datasets vary widely in scale and label complexity.

ComRank consistently outperformed seven competitive baselines (including standard CLL, MLL, and other MLCLL methods) across almost all datasets and metrics.

Average Precision performance across various datasets.

As seen in the performance metrics above, ComRank delivers substantial accuracy boosts. For example, on the bibtex dataset, ComRank improved Average Precision from a baseline of 0.237 to 0.658. On the enron dataset, it slashed the "One Error" rate (the frequency that the top-ranked label is irrelevant) from 0.73 down to 0.308.

Win/Tie/Loss record of ComRank against baselines on uniform datasets.

In rigorous statistical testing (pairwise t-tests), ComRank's dominance was clear. It achieved an impressive "Win/Tie/Loss" record of 156/40/0 on uniform datasets (shown above) and 162/34/0 on biased datasets. It essentially never lost to the baselines. Despite the complexity of ranking, ComRank’s running time remained comparable to or faster than most baselines, proving its scalability for engineering applications.

Limitations and Future Work

While ComRank represents a significant step forward, the authors note a few areas for future exploration:

  • Underlying Assumptions: The framework still relies on specific distributional assumptions (like the Instance-Dependent Assumption). While more realistic than previous models, they may not perfectly capture every real-world edge case.
  • Multiple Complementary Labels: The current study focuses primarily on the impact of a single complementary label per instance. More extensive testing on instances with multiple excluded labels could be beneficial.
  • Generalization: The authors aim to extend this ranking logic to broader weakly supervised scenarios beyond just complementary labels.

Summary updated

BibTeX
@inproceedings{zhu2025comrank,
  author = {Jing-Yi Zhu and Yi Gao and Miao Xu and Min-Ling Zhang},
  title = {{ComRank: Ranking Loss for Multi-Label Complementary Label Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=uVjuiPP4aP},
}
Figure