Skip to main content
QUICK REVIEW

[Paper Review] Quantile Regularization: Towards Implicit Calibration of Regression Models

Saiteja Utpala, Piyush Rai|arXiv (Cornell University)|Feb 28, 2020
Adversarial Robustness in Machine LearningComputer Science31 references5 citations
TL;DR

This paper introduces Quantile Regularization, a novel end-to-end trainable regularizer that improves calibration in regression models by minimizing the cumulative KL divergence between predicted and empirical cumulative distribution functions (CDFs). Unlike post-hoc methods, it requires no additional calibration data and consistently outperforms isotonic recalibration, especially on small datasets, reducing calibration error by up to 60% across diverse regression benchmarks.

ABSTRACT

Recent works have shown that most deep learning models are often poorly calibrated, i.e., they may produce overconfident predictions that are wrong. It is therefore desirable to have models that produce predictive uncertainty estimates that are reliable. Several approaches have been proposed recently to calibrate classification models. However, there is relatively little work on calibrating regression models. We present a method for calibrating regression models based on a novel quantile regularizer defined as the cumulative KL divergence between two CDFs. Unlike most of the existing approaches for calibrating regression models, which are based on post-hoc processing of the model's output and require an additional dataset, our method is trainable in an end-to-end fashion without requiring an additional dataset. The proposed regularizer can be used with any training objective for regression. We also show that post-hoc calibration methods like Isotonic Calibration sometimes compound miscalibration whereas our method provides consistently better calibrations. We provide empirical results demonstrating that the proposed quantile regularizer significantly improves calibration for regression models trained using approaches, such as Dropout VI and Deep Ensembles.

Motivation & Objective

  • To address the lack of effective, trainable calibration methods for regression models, which are often overconfident and poorly calibrated.
  • To develop a calibration approach that is trainable end-to-end, avoiding reliance on post-hoc calibration with additional labeled data.
  • To improve the reliability of predictive uncertainty estimates in deep learning regression models.
  • To provide a general-purpose regularizer compatible with any regression model that outputs predictive mean and variance.
  • To demonstrate that post-hoc recalibration methods like isotonic regression can sometimes worsen calibration, especially on small datasets.

Proposed method

  • Proposes a novel quantile regularizer defined as the cumulative KL divergence between the predicted CDF and the empirical CDF of the target variable.
  • The regularizer is integrated directly into the training objective, enabling end-to-end optimization without requiring a separate calibration dataset.
  • The method is applicable to any regression model that outputs predictive mean and variance, such as Dropout-Variational Inference (Dropout-VI) and Deep Ensembles.
  • The regularizer encourages the model’s predicted quantiles to align with the true empirical quantiles, improving marginal calibration.
  • Theoretical analysis shows that minimizing this regularizer leads to quantile calibration under mild assumptions.
  • Empirical evaluation uses calibration error (CE) as the primary metric, with comparisons to isotonic recalibration and baseline models.

Experimental results

Research questions

  • RQ1Can a trainable, end-to-end regularizer improve calibration in regression models without requiring an additional calibration dataset?
  • RQ2Does the proposed quantile regularizer consistently outperform post-hoc recalibration methods like isotonic regression across diverse regression tasks?
  • RQ3How does the regularizer perform on small datasets where post-hoc methods often fail due to data scarcity?
  • RQ4Does the regularizer improve calibration without degrading predictive accuracy or increasing variance?
  • RQ5Can the regularizer be generalized across different regression architectures and uncertainty estimation methods?

Key findings

  • Quantile Regularization significantly reduces calibration error across all 10 regression datasets tested, with relative improvements of up to 60% compared to baseline models.
  • On the Air Foil and Boston Housing datasets, isotonic recalibration increased calibration error by 79% and 34% respectively, while Quantile Regularization reduced it by 32.5% and 28.1%.
  • On the Protein Structure and Year Prediction MSD datasets, isotonic recalibration increased error from 0.09% to 0.05%, but Quantile Regularization maintained low error at 3.07% and 2.41% respectively.
  • The method consistently improves calibration across different base models, including Dropout-VI and Deep Ensembles, demonstrating broad applicability.
  • As the regularization strength λ increases, calibration error decreases monotonically on Concrete Strength, Protein Structure, and Year Prediction MSD, indicating stable optimization.
  • The proposed regularizer is shown to be a consistent estimator of the true calibration error, with theoretical convergence guarantees.

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.