Skip to main content
QUICK REVIEW

[Paper Review] Adaptive Label Smoothing

Ujwal Krothapalli, A. Lynn Abbott|arXiv (Cornell University)|Sep 14, 2020
Video Analysis and SummarizationComputer Science48 references7 citations
TL;DR

This paper proposes adaptive label smoothing, a method that dynamically adjusts label smoothing based on object size using objectness scores from bounding boxes during CNN training. By grounding confidence predictions in object proportion rather than context, it reduces overconfidence by an order of magnitude on context-only images and improves calibration and transfer learning performance on MS COCO, outperforming hard labels and standard label smoothing.

ABSTRACT

This paper concerns the use of objectness measures to improve the calibration performance of Convolutional Neural Networks (CNNs). CNNs have proven to be very good classifiers and generally localize objects well; however, the loss functions typically used to train classification CNNs do not penalize inability to localize an object, nor do they take into account an object's relative size in the given image. During training on ImageNet-1K almost all approaches use random crops on the images and this transformation sometimes provides the CNN with background only samples. This causes the classifiers to depend on context. Context dependence is harmful for safety-critical applications. We present a novel approach to classification that combines the ideas of objectness and label smoothing during training. Unlike previous methods, we compute a smoothing factor that is \emph{adaptive} based on relative object size within an image. This causes our approach to produce confidences that are grounded in the size of the object being classified instead of relying on context to make the correct predictions. We present extensive results using ImageNet to demonstrate that CNNs trained using adaptive label smoothing are much less likely to be overconfident in their predictions. We show qualitative results using class activation maps and quantitative results using classification and transfer learning tasks. Our approach is able to produce an order of magnitude reduction in confidence when predicting on context only images when compared to baselines. Using transfer learning, we gain 2.1mAP on MS COCO compared to the hard label approach.

Motivation & Objective

  • To address overconfidence and contextual bias in deep CNNs used in safety-critical applications.
  • To improve model calibration by incorporating object size information during training.
  • To reduce reliance on contextual or texture cues by grounding predictions in object presence and scale.
  • To enhance transfer learning performance for object detection tasks using ImageNet pretraining.
  • To provide more reliable uncertainty estimates by adapting label smoothing based on objectness.

Proposed method

  • The method computes an adaptive smoothing factor using objectness scores derived from bounding box annotations.
  • Objectness quantifies the likelihood that a cropped image window contains any object from the 1000 ImageNet classes.
  • The smoothing factor is applied to hard labels, transforming them into soft labels that reflect object size relative to image area.
  • During training, cross-entropy loss is applied to these adaptive soft labels, reducing confidence for small or absent objects.
  • The approach uses a hyperparameter β to control the degree of smoothing, allowing ablation studies on its impact.
  • The method is evaluated on ImageNet-1K with ResNet-50 and ResNet-101, and fine-tuned on MS COCO for object detection.

Experimental results

Research questions

  • RQ1Can object size information improve the calibration of deep CNNs during classification training?
  • RQ2Does adaptive label smoothing reduce overconfidence in predictions for context-only images?
  • RQ3How does adaptive label smoothing compare to hard labels and fixed label smoothing in transfer learning for object detection?
  • RQ4What is the impact of the smoothing hyperparameter β on model calibration and localization performance?
  • RQ5Can adaptive label smoothing lead to better generalization and reliability in safety-critical applications?

Key findings

  • Adaptive label smoothing reduces average confidence on context-only images by an order of magnitude compared to hard labels and standard label smoothing.
  • The method achieves a 2.1 mAP improvement on MS COCO object detection compared to the hard label baseline.
  • The approach performs within 0.001 mAP of CutMix, a state-of-the-art data augmentation method, in average precision.
  • Increasing the β hyperparameter reduces model overconfidence and produces less peaky (more calibrated) predictions.
  • Lower β values degrade object localization performance, indicating a trade-off between calibration and localization accuracy.
  • Class activation maps show improved spatial attention on relevant object regions when using adaptive label smoothing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.