# Divide et Calibra: Multiclass Local Calibration via Vector Quantization

*Cesare Barbera, Lorenzo Perini, Giovanni De Toni, Andrea Passerini, Andrea Pugnana*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153210) · [OpenReview](https://openreview.net/forum?id=N1Z3ARfFfn) · [Open on the map](../papers.html#p153210)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Shapley Value Estimation and Attribution](../pgroup/473.md) · Type: new method · Keywords: multiclass calibration, vector quantization, local calibration, Dirichlet concentration, model calibration

## Summary
Divide et Calibra introduces a compositional multiclass calibration approach that uses vector quantization to learn region-specific calibration maps with shared codeword-dependent factors, improving local calibration on benchmark datasets.

## Explained to a 5-year-old
When a computer makes many guesses, it sometimes guesses too confidently. We want it to know how sure it is, especially when it's guessing about many different things. So we split the guessing area into pieces and teach the computer to be a bit more careful in each piece. By sharing some of the learning between pieces, the computer gets better at guessing without forgetting what it already knows. This helps the computer give answers that match how often they are actually right.

## Explained to a 5-year-old, longer
Computers often make predictions, like saying which picture is a cat. Sometimes they are too sure, even when they might be wrong. To fix this, we look at how the computer thinks inside and break that thinking into smaller parts. Each part gets its own little rule for how confident the computer should be. Instead of making a new rule for every part, we share some of the learning so the rules help each other. This way, even parts of the computer that don't see many examples can still be well calibrated. The computer learns to adjust its confidence based on which part of its thinking it is in. This makes the computer's answers more trustworthy, especially in important situations. It also keeps the computer good at making correct predictions overall. The method works on many different tasks, like recognizing speech or images. By dividing the problem into pieces and sharing knowledge, we get better calibration without losing performance. This helps people rely on computer decisions more safely.

## For a technical reader
The paper addresses multiclass calibration by partitioning the model’s latent space into regions and learning calibration maps per region. It uses a vector quantization scheme to create a structured partition and shares Dirichlet concentration parameters across regions via an indexed parameterization. This enables heterogeneous calibration while preserving global calibration performance. Experiments on benchmark datasets demonstrate significant gains in local calibration without sacrificing predictive accuracy. The approach is particularly useful for high-stakes applications where reliable confidence estimates are critical.

## Problem
Multiclass ML models often suffer from poor calibration, with global methods assuming uniform errors and local methods losing information through dimensionality reduction. This creates a need for calibration that captures heterogeneous errors across the latent space without sacrificing predictive performance.

## Method
The approach partitions the latent space into regions and learns region-specific calibration maps, sharing parameters across regions via an indexed concentration model to capture heterogeneous calibration errors.

## Results
The approach achieves significant improvements in local calibration while preserving competitive global calibration and predictive performance on benchmark datasets.

## Contributions
It introduces a compositional calibration framework that learns heterogeneous calibration maps via region partitioning and parameter sharing, enabling better calibration in sparse latent regions.

## Research questions this paper is counted under

- [How can we calibrate models when training data is imperfect and predictions are complex?](../q/841.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153210)
