Abstract
Probabilistic regression models often struggle with calibration in multi-output settings, where they must capture both marginal distributions and complex joint dependencies. We present a general regularization framework that incorporates multivariate calibration directly into the training objective. By utilizing differentiable "pre-rank functions" and a kernel density estimation-based regularizer, our approach significantly reduces calibration error across diverse real-world datasets without compromising predictive accuracy.
Introduction
In probabilistic regression, a model's utility depends on its calibration: the alignment between predicted uncertainties and observed frequencies. While univariate calibration is well-studied, multi-output (multivariate) calibration remains challenging. Models must not only get individual variables right but also correctly model their interactions. Current multivariate calibration tools are primarily diagnostic and cannot be easily integrated into training. This paper addresses this gap by proposing a differentiable regularization framework.
Methodology
The core of our approach is the use of pre-rank functions, which project multivariate prediction-observation pairs into scalar summaries. These functions allow the model to evaluate calibration across various structural properties:
- Marginal & Location/Scale: Assessing individual dimensions and global distribution characteristics.
- Dependency & Copula: Capturing spatial relationships and joint likelihood structures.
- HDR (Highest Density Region): Focusing on the most probable regions of the joint distribution.
- PCA-Based Pre-rank: A novel, efficient method that projects predictions onto principal components, enabling effective calibration in high-dimensional spaces.
We employ a PCE-KDE regularizer, a differentiable version of the Probabilistic Calibration Error (PCE) using Kernel Density Estimation (KDE). This allows the model to minimize miscalibration during backpropagation alongside standard loss functions like Negative Log-Likelihood (NLL).
Experimental Evaluation
We evaluated the framework on 18 real-world datasets spanning environmental, socio-economic, and biological domains. The base model used was a Mixture of Gaussians (MIX-NLL).
As shown in the figure above, the baseline MIX-NLL model consistently exhibits significant calibration error across various metrics and datasets, despite being trained with a proper scoring rule. This highlights the need for explicit regularization.
Results and Discussion
Our results demonstrate that explicit regularization is necessary for reliable multivariate uncertainty estimation. Key findings include:
- Consistent Calibration Gains: Regularized models showed significantly lower PCE across all benchmarks.
- Stability of Predictive Accuracy: Improving calibration did not lead to a "sharpness" trade-off. Predictive performance, measured by Energy Score (ES) and NLL, remained stable or improved slightly.
- Efficiency of PCA: The PCA-based pre-rank proved to be a powerful shortcut, capturing vital dependencies with lower computational overhead than full joint regularization.
Conclusion
This work moves multivariate calibration from a post-hoc check to an active training constraint. By enforcing calibration through differentiable pre-rank functions, we produce models that are both accurate and trustworthy. Future work will explore the application of this framework to more complex architectures like Normalizing Flows and automated hyperparameter optimization for the regularization strength.
Summary updated