Does Label Smoothing Help Deep Partial Label Learning?

Xiuwen Gong, Nitin Bisht, Guandong Xu

TL;DR

This paper demonstrates that Label Smoothing (LS) is a powerful tool for improving Deep Partial Label Learning (PLL), where models must learn from instances associated with a set of candidate labels rather than a single ground truth. By deriving theoretical risk bounds and an optimal smoothing rate, the authors introduce LS-PLL, an algorithm that significantly boosts classification accuracy and helps neural networks learn more distinct, separable data representations.

The Challenge of Partial Labels

In many real-world scenarios, getting a single "perfect" label for data is expensive or impossible. Instead, we often get Partial Labels: a set of candidates where only one is correct (e.g., an image tagged as "Husky, Wolf, or Malamute").

Deep learning models struggle with this because they are notoriously overconfident. During training, a model might latch onto a "false-positive" label within the candidate set and become increasingly certain it is correct, leading to poor generalization. While previous research has tried various disambiguation strategies, two major gaps remained:

  1. Competitive Noise: Most models assume candidate labels are chosen randomly. In reality, "distractor" labels are often highly similar to the true label (competitive noise), making them much harder to filter out.
  2. Lack of Theory: There was no solid theoretical guarantee linking the degree of label ambiguity to the final classification performance.

Bridging the Gap: Theory and Practice

The authors address these limitations through a two-pronged approach:

1. Theoretical Foundation

They introduce the Generalized Ambiguity Degree ($\epsilon$), a metric to quantify how much "competitive noise" exists in a dataset. Using this, they prove lower and upper bounds for the "expected risk" (the error the model is likely to make). Crucially, they derive an optimal smoothing rate ($r_{opt}$)—a mathematical "sweet spot" for how much to soften labels based on the noise level.

2. The LS-PLL Algorithm

The authors propose a practical optimization algorithm called Label Smoothing-based Partial Label Learning (LS-PLL). It works in an iterative loop:

  • Ground-truth Identification: The model maintains a moving average of its predictions to estimate which label in the candidate set is most likely the true one.
  • Label Smoothing: Instead of training on a "hard" 100% certain label, it applies LS to the identified label, spreading some probability mass across other candidates. This prevents the model from becoming overconfident in a potentially wrong choice.
  • Network Update: The model updates its weights using a modified cross-entropy loss that incorporates these smoothed targets.

Key Insights and Results

The researchers evaluated their method on four standard computer vision benchmarks (Fashion-MNIST, Kuzushiji-MNIST, CIFAR-10, and CIFAR-100), modified to include competitive partial labels. To simulate realistic "competitive" noise, they generated candidate sets by picking labels that a pre-trained model found most similar to the true label.

  • LS as a Regularizer for Ambiguity: Label smoothing acts as a safeguard. By refusing to let the model be 100% sure about a candidate label, it effectively "denoises" the training process, allowing the model to stay flexible until it has seen enough data to disambiguate the true label.
  • Better Representations: Beyond just accuracy, the authors found that LS helps the model learn better internal representations. Visualizations show that with LS, the model clusters different classes into much tighter, more distinct groups compared to standard training.
  • Theory Meets Practice: The most impressive finding is that the best empirical results occurred when the smoothing rate used in experiments closely matched the $r_{opt}$ derived in their theoretical proofs.

The results show that LS-PLL consistently outperforms standard deep PLL methods across different neural architectures (LeNet-5, ResNet-18, and ResNet-56). As seen in the table below, the performance gains are particularly massive as the noise (Average Number of Candidate Labels, or Avg. #CL) increases. For example, on CIFAR-10 with 5 candidate labels, accuracy jumped from 38.96% to 67.23% when using label smoothing.

Test accuracy on Fashion-MNIST, KMNIST, and CIFAR-10 with and without LS.

On the more complex CIFAR-100 dataset, the improvements remained significant, nearly doubling the accuracy in the most difficult noise settings.

Test accuracy on CIFAR-100 using ResNet-56.

Limitations and Future Work

While the paper provides a robust framework, there are a few areas for further exploration:

  • The "True Label" Assumption: Like most PLL research, this work assumes the true label is always present in the candidate set. In some real-world "noisy" settings, the true label might be missing entirely.
  • Estimating Ambiguity: The optimal smoothing rate depends on the "ambiguity degree," which might be difficult to calculate precisely for a completely new, unlabeled dataset without some prior knowledge.
  • Scaling Up: Future work could involve testing LS-PLL on even larger-scale datasets like ImageNet or applying these insights to other weakly-supervised tasks like multi-label learning.

Summary updated

BibTeX
@inproceedings{gong2024does,
  author = {Xiuwen Gong and Nitin Bisht and Guandong Xu},
  title = {{Does Label Smoothing Help Deep Partial Label Learning?}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=drjjxmi2Ha},
}
Figure