Structured Matrix Scaling for Multi-Class Calibration

Eugène Berta, David Holzmüller, Michael I. Jordan, Francis Bach
11/5/2025
cs.LGcs.AI

No official code found. Best implementation: eugeneberta/LogisticCalibrationBenchmark (3 stars, last commit 2026-03-31).

Abstract

Post-hoc recalibration methods are widely used to ensure that classifiers provide faithful probability estimates. We argue that parametric recalibration functions based on logistic regression can be motivated from a simple theoretical setting for both binary and multiclass classification. This insight motivates the use of more expressive calibration methods beyond standard temperature scaling. For multi-class calibration however, a key challenge lies in the increasing number of parameters introduced by more complex models, often coupled with limited calibration data, which can lead to overfitting. Through extensive experiments, we demonstrate that the resulting bias-variance tradeoff can be effectively managed by structured regularization, robust preprocessing and efficient optimization. The resulting methods lead to substantial gains over existing logistic-based calibration techniques. We provide efficient and easy-to-use open-source implementations of our methods, making them an attractive alternative to common temperature, vector, and matrix scaling implementations.

View on arXivView PDF

Code Implementations(1)

Experimental repository for the paper "Structured Matrix Scaling for Multi-Class Calibration".

30Python, Jupyter NotebookNov 5, 20256 months ago

Similar Papers

Cite this paper

@article{berta2025structured,
  title  = {Structured Matrix Scaling for Multi-Class Calibration},
  author = {Eugène Berta and David Holzmüller and Michael I. Jordan and Francis Bach},
  year   = {2025},
  eprint = {2511.03685},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.03685v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.03685.svg)](https://codeofpaper.com/paper/2511.03685)

Discussion