Skip to main content
QUICK REVIEW

[Paper Review] On the Role of Dataset Quality and Heterogeneity in Model Confidence

Yuan Zhao, Jiasi Chen|arXiv (Cornell University)|Feb 23, 2020
Adversarial Robustness in Machine LearningComputer Science25 references7 citations
TL;DR

This paper investigates how dataset quality and heterogeneity affect model confidence in machine learning, revealing that label noise causes under-confidence while small training sets lead to over-confidence. To address class-wise calibration imbalances, the authors propose class-wise temperature scaling (CTS), which improves calibration across all classes—especially under-represented ones—outperforming standard methods in both average and worst-case error metrics on CIFAR datasets.

ABSTRACT

Safety-critical applications require machine learning models that output accurate and calibrated probabilities. While uncalibrated deep networks are known to make over-confident predictions, it is unclear how model confidence is impacted by the variations in the data, such as label noise or class size. In this paper, we investigate the role of the dataset quality by studying the impact of dataset size and the label noise on the model confidence. We theoretically explain and experimentally demonstrate that, surprisingly, label noise in the training data leads to under-confident networks, while reduced dataset size leads to over-confident models. We then study the impact of dataset heterogeneity, where data quality varies across classes, on model confidence. We demonstrate that this leads to heterogenous confidence/accuracy behavior in the test data and is poorly handled by the standard calibration algorithms. To overcome this, we propose an intuitive heterogenous calibration technique and show that the proposed approach leads to improved calibration metrics (both average and worst-case errors) on the CIFAR datasets.

Motivation & Objective

  • To understand how dataset quality—specifically label noise and sample size—affects model confidence in deep learning classifiers.
  • To investigate the impact of data heterogeneity across classes on model calibration, particularly when data quality varies per class.
  • To address the limitations of global calibration methods like temperature scaling in handling class-wise confidence imbalances.
  • To propose and validate a class-wise calibration technique that improves fairness and calibration performance across all classes.
  • To demonstrate the superiority of the proposed method over standard calibration techniques using both average and worst-case calibration error metrics.

Proposed method

  • The authors introduce class-wise temperature scaling (CTS), a method that applies temperature scaling separately to each class using slice-wise validation sets.
  • They derive theoretical validation sample complexity bounds for the proposed CTS method, ensuring statistical reliability.
  • The approach involves partitioning the validation set by predicted class and calibrating each subset independently with temperature scaling.
  • The method is evaluated using reliability diagrams and calibration error metrics, including Expected Calibration Error (ECE), max-ECE, and Avg-ECE.
  • The authors compare CTS against standard temperature scaling (TS) and vector scaling, demonstrating improved performance on imbalanced and noisy datasets.
  • They use empirical analysis on CIFAR-100 with controlled noise and class size imbalances to validate the method’s effectiveness.

Experimental results

Research questions

  • RQ1How does label noise in the training data affect the confidence of deep neural network classifiers?
  • RQ2How does a reduced training dataset size influence model confidence and calibration?
  • RQ3How does data heterogeneity—such as varying noise levels or sample sizes across classes—affect per-class calibration performance?
  • RQ4Can a class-wise calibration method outperform global calibration techniques like temperature scaling in terms of fairness and calibration accuracy?
  • RQ5What role do different calibration error metrics (e.g., ECE, max-ECE, Avg-ECE) play in evaluating the fairness and robustness of calibration methods?

Key findings

  • Label noise in training data leads to under-confident models, contrary to the typical over-confidence seen in clean-data training.
  • Smaller training datasets result in over-confident models due to lower accuracy, with over-confidence increasing as sampling rates drop below 60%.
  • Standard temperature scaling (TS) inflates calibration errors for under-represented classes while improving performance on larger classes, indicating unfair treatment.
  • Class-wise temperature scaling (CTS) uniformly improves calibration across all classes, reducing both average and worst-case calibration errors.
  • CTS outperforms TS in terms of max-ECE across all sampling rates, demonstrating superior fairness in handling class-wise confidence imbalances.
  • The Avg-ECE metric reveals a substantial performance gap between CTS and TS, highlighting that global ECE can mask poor per-class calibration, thus validating the need for worst-case metrics.

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.