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

Learning semantic-aware threshold for multi-label image recognition with partial labels

Haoxian Ruan, Zhihua Xu, Zhijing Yang, Guang Ma, Jieming Xie, Changxiang Fan, Tianshui Chen

TL;DR

Multi-label image recognition with partial labels often relies on fixed, uniform thresholds to generate pseudo-labels for unannotated data, ignoring category-specific differences. This paper introduces Semantic-Aware Threshold Learning (SATL), which dynamically estimates category-specific thresholds from known label distributions and uses a differential ranking loss to widen the gap between positive and negative samples. This approach significantly boosts multi-label recognition performance on limited-label datasets like MS-COCO and VG-200.

What Problem Does This Paper Address?

Multi-label image recognition (MLR) is essential for real-world computer vision tasks like image retrieval and recommendation systems. However, fully annotating large datasets with every applicable label is incredibly tedious and expensive. Multi-Label Image Recognition with Partial Labels (MLR-PL) addresses this by training models on images where only a subset of labels are known.

To make use of the unannotated ("unknown") labels, standard approaches use pseudo-labeling: if a model's prediction score for an unknown label exceeds a certain threshold, it is treated as a true label. However, most existing methods use a uniform global threshold for all categories. This ignores the fact that different categories have vastly different prediction score distributions and learning difficulties, leading to inaccurate or incomplete pseudo-labels.

Methods

The authors propose the Semantic-Aware Threshold Learning (SATL) framework, which can be seamlessly integrated into existing pseudo-labeling models. It consists of two main components:

  1. Semantic-Aware Threshold Estimation (SATE): Instead of a one-size-fits-all threshold, SATE calculates category-specific thresholds. It leverages the insight that within the same category, the score distributions of known and unknown labels are highly similar. By analyzing the distribution of known labels, SATE dynamically estimates the optimal threshold for unknown labels in each category.
  2. Differential Ranking Loss (DRL): When positive and negative score distributions overlap significantly, thresholding becomes conservative, missing true positives. DRL explicitly pushes positive and negative sample scores in opposite directions, widening the gap between their distributions and making the learned thresholds much more discriminative.
Overall SATL Framework

Datasets

The authors evaluated their method by simulating partial-label scenarios (randomly retaining only 5% to 50% of the labels) on two large-scale datasets:

  • Microsoft COCO (MS-COCO): A standard benchmark containing roughly 120k images across 80 daily-life categories.
  • VG-200: A challenging subset of the Visual Genome dataset focusing on the 200 most frequent categories across approximately 108k images.

Key Insights and Ideas

  • Categories aren't created equal: As shown in Figure 1, different categories exhibit completely unique output score distributions. A global threshold will inevitably over- or under-estimate pseudo-labels for difficult classes.
Category score distributions
  • Knowns mirror unknowns: The foundational "aha moment" of this paper is that despite sample size differences, the prediction score distribution of known labels closely matches that of unknown labels within the same category. This justifies using known data to estimate thresholds for unknown data.
Known vs Unknown distributions
  • Widening the valley: Merely finding a threshold isn't enough if the positive and negative distributions overlap. Forcing a clear separation via ranking loss drastically improves pseudo-label recall without sacrificing precision.
Widening the gap with DRL

Key Results

Integrating SATL into existing state-of-the-art frameworks (like SST and HST) yielded consistent performance boosts across all label proportions:

  • MS-COCO: The proposed method achieved an average mean Average Precision (mAP) of 76.5% (a 2.0% improvement over the HST baseline). It showed particularly strong improvements in scenarios with very low label availability (e.g., only 5% known labels).
  • VG-200: On this more complex dataset, the improvements were even more pronounced. SATL boosted the SST baseline by 5.2%, reaching an average mAP of 45.3%.
  • Efficiency: While computing the histograms adds a slight overhead during training (increasing training time by 2–4 hours depending on the dataset), it introduces no extra parameters during inference, meaning the model remains lightweight deployment-ready.

Limitations and Future Work

  • Domain Gaps: If known and unknown samples are distributed across different domains, their score distributions might misalign, leading to improper threshold estimation.
  • Per-class Accuracy Variance: The method still shows relatively lower pseudo-label accuracy in certain highly ambiguous or rare categories.
  • Future Directions: The authors plan to explore error-correction mechanisms and leverage contextual relationships between different categories to further refine pseudo-label generation.

Summary updated

BibTeX
@article{ruan2026learning,
  author = {Haoxian Ruan and Zhihua Xu and Zhijing Yang and Guang Ma and Jieming Xie and Changxiang Fan and Tianshui Chen},
  title = {{Learning semantic-aware threshold for multi-label image recognition with partial labels}},
  journal = {Expert Systems with Applications},
  year = {2026},
  doi = {10.1016/j.eswa.2025.129216},
}
Figure