PAC-Bayes Analysis for Recalibration in Classification

Masahiro Fujisawa, Futoshi Futami
6/10/2024
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

Nonparametric estimation using uniform-width binning is a standard approach for evaluating the calibration performance of machine learning models. However, existing theoretical analyses of the bias induced by binning are limited to binary classification, creating a significant gap with practical applications such as multiclass classification. Additionally, many parametric recalibration algorithms lack theoretical guarantees for their generalization performance. To address these issues, we conduct a generalization analysis of calibration error using the probably approximately correct Bayes framework. This approach enables us to derive the first optimizable upper bound for generalization error in the calibration context. On the basis of our theory, we propose a generalization-aware recalibration algorithm. Numerical experiments show that our algorithm enhances the performance of Gaussian process-based recalibration across various benchmark datasets and models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fujisawa2024pacbayes,
  title  = {PAC-Bayes Analysis for Recalibration in Classification},
  author = {Masahiro Fujisawa and Futoshi Futami},
  year   = {2024},
  eprint = {2406.06227},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.06227v2},
  journal = {ICML 2024 2024}
}

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/2406.06227.svg)](https://codeofpaper.com/paper/2406.06227)

Discussion