Skip to main content
QUICK REVIEW

[Paper Review] Confidence-Aware Learning for Deep Neural Networks

Jooyoung Moon, Jihyo Kim|arXiv (Cornell University)|Jul 3, 2020
Anomaly Detection Techniques and ApplicationsComputer Science47 citations
TL;DR

This paper introduces Correctness Ranking Loss (CRL) to train standard deep classifiers so their confidence estimates are well-ranked and reliable, without extra architecture changes or heavy computation, improving calibration, OOD detection, and active learning.

ABSTRACT

Despite the power of deep neural networks for a wide range of tasks, an overconfident prediction issue has limited their practical use in many safety-critical applications. Many recent works have been proposed to mitigate this issue, but most of them require either additional computational costs in training and/or inference phases or customized architectures to output confidence estimates separately. In this paper, we propose a method of training deep neural networks with a novel loss function, named Correctness Ranking Loss, which regularizes class probabilities explicitly to be better confidence estimates in terms of ordinal ranking according to confidence. The proposed method is easy to implement and can be applied to the existing architectures without any modification. Also, it has almost the same computational costs for training as conventional deep classifiers and outputs reliable predictions by a single inference. Extensive experimental results on classification benchmark datasets indicate that the proposed method helps networks to produce well-ranked confidence estimates. We also demonstrate that it is effective for the tasks closely related to confidence estimation, out-of-distribution detection and active learning.

Motivation & Objective

  • Motivate the need for reliable confidence estimates in deep neural networks, especially for safety-critical applications.
  • Propose a training objective that directly enforces ordinal ranking of confidence estimates without architectural changes.
  • Develop the Correctness Ranking Loss (CRL) and show how it integrates with standard cross-entropy training.
  • Demonstrate CRL’s effectiveness across image classification benchmarks and its impact on related tasks like out-of-distribution detection and active learning.

Proposed method

  • Define an ordinal ranking goal where samples with higher probability of being correct should have higher confidence.
  • Introduce Correctness Ranking Loss (CRL): L_CR = max(0, -g(c_i,c_j)(κ_i-κ_j) + |c_i-c_j|) for paired samples, where c_i is the proportion of correct predictions for sample i and κ_i is a confidence measure.
  • Use a simple, scalable sampling scheme within mini-batches to approximate CRL, pairing consecutive samples and wrapping the batch.
  • Combine CRL with standard cross-entropy: L = L_CE + λ L_CR, with λ controlling CRL’s influence.
  • Explore confidence functions κ such as maximum class probability, negative entropy (normalized), and margin.
  • Provide implementation details enabling CRL to be applied to existing architectures without modifying their structure.

Experimental results

Research questions

  • RQ1Can a simple regularization loss (CRL) induce well-ranked confidence estimates in standard deep classifiers without changing architectures?
  • RQ2How does CRL affect confidence calibration and ordinal ranking metrics across common image classification datasets?
  • RQ3Is CRL beneficial for downstream tasks like out-of-distribution detection and active learning, beyond classification accuracy?
  • RQ4What is the computational impact of CRL relative to conventional training?

Key findings

  • CRL yields well-ranked confidence estimates across several architectures and datasets.
  • Training with CRL provides competitive or improved performance on confidence-related metrics (calibration and ranking) compared with baselines and other uncertainty estimation methods.
  • CRL improves performance in tasks related to confidence ranking, including out-of-distribution detection and active learning, using standard classifiers with a single inference pass.
  • CRL does not require architectural modifications and incurs little additional computational cost during training and inference.
  • CRL-based models achieve improvements over Baseline and are competitive with methods like MC dropout, aleatoric+MC, and AES in various settings.

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.