Divide et Calibra: Multiclass Local Calibration via Vector Quantization
Cesare Barbera, Lorenzo Perini, Giovanni De Toni, Andrea Passerini, Andrea Pugnana
NeurIPS 2026
TL;DR. We present a new local calibration method based on Vector Quantization.
Abstract. Accurate and well-calibrated Machine Learning (ML) models are mandatory in high-stakes settings, yet effective multiclass calibration remains challenging: global approaches assume calibration errors are homogeneous across the latent space, while local methods often rely on representation-space dimensionality reduction, discarding latent directions relevant to miscalibration. To address these issues, we propose a compositional approach to multiclass calibration, where region-specific calibration maps are constructed from shared factors. We instantiate this idea via Vector Quantization (VQ), which induces a structured partition of the representation space, and an indexed parameterization of Dirichlet concentrations that enables parameter sharing across regions. Our approach learns heterogeneous calibration maps that generalize well even to sparse regions of the latent space. Experiments on benchmark datasets show significant improvements in local calibration while maintaining competitive global calibration and predictive performance.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies the problem of post-hoc multi-class calibration. The Authors aim to improve local calibration while maintaining competitive global calibration. They propose a method based on Vector Quantization, which induces a structured partition of the representation space, together with an indexed parameterization of Dirichlet concentrations that enables parameter sharing across regions. The reported empirical results are promising.
Strengths:
- A well-written paper studying an important and practical problem.
- A novel and sound algorithmic solution involving several non-trivial technical ideas.
- A solid empirical evaluation.
Weaknesses:
- The method is not purely a post-hoc calibration approach.
- Potential gaps in the theoretical analysis.
- Missing discussion of related work (e.g., multicalibration beyond binary problems, connections to conformal prediction).
- Overstated claims regarding the competitiveness of the proposed method.
- The choice of evaluation metrics.
Overall, the paper is interesting and deserves attention; however, it is a borderline contribution that only slightly exceeds the acceptance threshold. The weaknesses identified by the Reviewers are relatively minor, but they should be addressed in the rebuttal and further discussed between the Authors and Reviewers.
Final justification
As stated in the initial meta-review above, the paper is interesting and deserves attention. The Authors have addressed most of the weaknesses identified by the Reviewers; however, a few open issues remain (e.g., the alignment between the Stage 1 partition and local miscalibration, the limited scope of the theoretical guarantees, the lack of evaluation in low-data regimes, and limitations in practical validation), and the promised changes are substantial (e.g., new empirical results and extensions of the theoretical results). Overall, the paper remains borderline, and its acceptance depends on the strength of the competition from other papers.
Read meta-review
Meta-review
The paper studies the problem of post-hoc multi-class calibration. The Authors aim to improve local calibration while maintaining competitive global calibration. They propose a method based on Vector Quantization, which induces a structured partition of the representation space, together with an indexed parameterization of Dirichlet concentrations that enables parameter sharing across regions. The reported empirical results are promising.
Strengths:
- A well-written paper studying an important and practical problem.
- A novel and sound algorithmic solution involving several non-trivial technical ideas.
- A solid empirical evaluation.
Weaknesses:
- The method is not purely a post-hoc calibration approach.
- Potential gaps in the theoretical analysis.
- Missing discussion of related work (e.g., multicalibration beyond binary problems, connections to conformal prediction).
- Overstated claims regarding the competitiveness of the proposed method.
- The choice of evaluation metrics.
Overall, the paper is interesting and deserves attention; however, it is a borderline contribution that only slightly exceeds the acceptance threshold. The weaknesses identified by the Reviewers are relatively minor, but they should be addressed in the rebuttal and further discussed between the Authors and Reviewers.
Final justification
As stated in the initial meta-review above, the paper is interesting and deserves attention. The Authors have addressed most of the weaknesses identified by the Reviewers; however, a few open issues remain (e.g., the alignment between the Stage 1 partition and local miscalibration, the limited scope of the theoretical guarantees, the lack of evaluation in low-data regimes, and limitations in practical validation), and the promised changes are substantial (e.g., new empirical results and extensions of the theoretical results). Overall, the paper remains borderline, and its acceptance depends on the strength of the competition from other papers.
1 comment
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work addresses the challenge of local calibration by partitioning the embedding space using vector quantization, which assigns each input to a discrete cell identified by codeword indices. Then, a parameterization trick is employed to reduce the number of optimization parameters, in which two matrices are optimized, and for each cell, alpha parameter is computed which relates to the Dirichlet distribution. The proposed method enables parameter efficient learning of local calibration maps and demonstrates empirical improvements over baselines.
Strengths and weaknesses
soundness
The paper presents a motivated approach with a theoretical framework and empirical evaluation across multiple datasets and architectures. The core idea of sharing calibration parameters across regions via codewords is elegant.
That said, I have a few concerns
-
Stage 1 optimization - The codebook is learned by optimizing a classification objective rather than a calibration one. It is not obvious that a partition which is good for classification is also good for identifying regions of homogeneous miscalibration. The paper does not provide justification, theoretical or empirical, that the Stage 1 partition is well-aligned with the calibration structure of the model.
-
Theory - Theorems 1 and 2 assume convergence to a well-behaved stationary point, which is not formally verified, though the empirical behavior in Figure 3 is consistent with the theory. A more substantive concern is that Theorem 2 guarantees reliable estimation for each codeword's individually, but the region's calibration map depends on codewords combined through a bilinear interaction. Errors across codewords may accumulate in ways that are not captured by the theoretical analysis.
-
Experiments - The empirical results are convincing overall. However, no statistical significance metrics are reported for the per-bin differences in Figure 3, where variance is naturally higher due to fewer points in sparse bins. Additionally, while the evaluation covers multiple datasets and architectures, the paper motivates the work with high-stakes settings like healthcare and finance but evaluates only on standard benchmarks, a real clinical or financial dataset would make the significance argument more convincing. Finally, the paper never shows that improvements in local calibration translate to better downstream decisions, and the calibration set size experiments in Figure 6 do not explore low-data regimes that are common in practice.
Presentation
The paper is generally well written and easy to follow. I do have some notes:
- Intuition - The paper would benefit from more intuition for the local calibration problem itself, a concrete example illustrating why global calibration fails in sparse regions would help ground the reader before the technical sections. Similarly, the algorithm description could use more intuition.
- Figure 1 - Figure 1a, which is meant to illustrate the pipeline, is hard to understand. The flow between components is not immediately clear. A cleaner or more guided walkthrough of this figure in the text would help.
- Metrics - The paper uses several calibration metrics without explaining intuitively what each captures and how they differ. A reader unfamiliar with the calibration literature may struggle to understand why multiple metrics are needed and what each one reveals about the method.
Significance
- The black box problem - The method fundamentally requires access to the internal embeddings of the model. If you only have access to the model's output probabilities, which is common in practice, especially with commercial APIs or third-party models, the method simply cannot be applied. This is a significant practical limitation that the paper does not acknowledge at all.
- Hyperparameter sensitivity - The method introduces two architectural hyperparameters, the number of slots and the codebook size |C|, whose optimal values vary across datasets, as Table 4 shows. Unlike simpler methods such as Temperature Scaling, which has a single parameter and a convex optimization landscape, there is no principled guidance for choosing them for a new dataset. This adds a non-trivial tuning burden that the paper does not address.
Originality
- multicalibration - The application of VQ to post-hoc calibration is novel, and the indexed parameterization trick is a clever contribution.That said, the paper dismisses multicalibration as focused on binary tasks and tabular data, but several of the papers it cites (references 34, 35, 36) extend multicalibration beyond these settings, the paper does not explain what VQ offers over these recent approaches.
Questions
Part of the following questions are related to the concerns raised above
-
Connection to conformal prediction - The Voronoi tessellation used in this paper to achieve local calibration is reminiscent of Mondrian Conformal Prediction, which similarly partitions the input space to achieve conditional (rather than marginal) coverage guarantees. Both approaches share the goal of moving beyond average-case guarantees toward guarantees that hold within specific regions. Could the authors comment on this connection? In particular, I suggest the authors discuss (and cite) the relationship to calibration and conformal prediction as explored in "On temperature scaling and conformal prediction of deep classifiers", "Does confidence calibration improve conformal prediction?" and similar works, which may provide useful context for positioning this work.
-
Stage 1 alignment - The codebook is learned via a classification objective, can the authors provide evidence, even empirically, that the resulting partition is well-aligned with regions of homogeneous miscalibration? For instance, how does performance change if the codebook is replaced with a random partition?
-
Theory - Theorem 2 guarantees reliable estimation for each codeword's parameters individually, but a region's calibration map combines codewords through a bilinear interaction. Can the authors comment on whether errors across codewords could compound, and whether the theory can be extended to cover the full region-level calibration map?
-
Codebook collapse - VQ methods are known to suffer from codebook collapse, where many codewords become unused and only a few carry all the information. The paper reports usage statistics in Table 9 showing no dead codewords, but the usage is heavily imbalanced. How sensitive is calibration performance to this imbalance, and what happens if some codewords are significantly underutilized?
-
Stage 2 overfitting The paper fixes to avoid overfitting in Stage 2. But is there a risk that the calibration parameters A and B themselves overfit, especially on small calibration sets? How is this monitored during training?
Limitations
As I mentioned before, the method requires access to the internal embeddings of the model, which is a significant practical constraint. In many real-world scenarios, such as APIs or third-party models, only output probabilities are available, making the method inapplicable. The paper does not acknowledge this limitation or suggest any workaround for such settings.
Final justification
I thank the authors for their detailed response. The rebuttal addresses most of my concerns, although the alignment between the Stage 1 partition and local miscalibration, the limited scope of the theoretical guarantees, and the lack of evaluation in low-data regimes remain somewhat open.
Nevertheless, I find the overall contribution convincing and will increase my score to 5 and vote for acceptance.
Formatting concerns
No concerns.
2 comments
Rebuttal
We thank the reviewer for recognizing our approach is motivated and that the core idea is elegant. Moreover, we are glad that the paper is generally well written and easy to follow. We address the remaining comments in the following:
Connection with relevant literature on conformal prediction/multicalibration. We thank the reviewer for these pointers. We believe that Mondrian conformal prediction, multicalibration, and our method all move beyond population-average guarantees by conditioning on subpopulations or regions. Their targets, however, differ: Mondrian conformal prediction seeks coverage conditional on a partition; multicalibration seeks calibrated conditional means over a rich collection of identifiable groups; our method learns corrections to the full multiclass probability vector over a data-dependent partition of a neural representation space. Our contribution is therefore the compositional sharing of calibration parameters across a combinatorially large number of latent regions, rather than a new distribution-free coverage or multicalibration guarantee.
We also clarify the scope of the cited multicalibration works. Reference [34] studies a regression-based matching problem; [35] considers regression and binary classification and relies on predefined groups; and [36] removes the need for predefined groups but considers binary classification, with multiclass extensions explicitly left outside its scope. Thus, these works do not address the full multiclass probability-calibration problem studied by our work. Still, we will expand the related-work discussion, specify our statement regarding predefined groups and add the discussion with suggested conformal-calibration references to better position our work.
Stage 1 alignment. We thank the reviewer for their insightful comments. We note that the learned partition is optimized with an objective that is also relevant to probabilistic calibration rather than solely to accuracy: NLL is a strictly proper scoring rule whose population optimum is the true conditional probability distribution. We further run an ablation in which, rather than learning the vector quantizer, we sample codewords from a standard normal distribution and then learn calibration maps over the resulting regions. Following reviewer suggestions, we also consider the original trained classifier, without further training on the calibration set.
| Data | LCE | MLCE | ECCE | NLL |
|---|---|---|---|---|
| c-10 | .0121±.0022 | .6997±.0999 | .0014±.0005 | .3946±.0542 |
| c-100 | .0026±.0001 | .5659±.0334 | .0009±.0001 | 1.4647±.0390 |
| Tissue | .0342±.0101 | .8889±.0925 | .0041±.0009 | 1.1849±.0501 |
| Weather | .0207±.0024 | .3810±.0936 | .0012±.0004 | 1.0452±.0392 |
The resulting model is poorly locally calibrated while reaching reasonable global performance, suggesting that an unstructured partition provides little useful local information. This indicates that preserving meaningful structure in the representation space is important for obtaining strong local calibration.
We additionally perform the same experiment instantiating the codewords with random samples from the calibration set and keeping the classification head fixed. More precisely, we randomly sample calibration embeddings, partition each embedding into slots, and use randomly selected slot vectors to initialize the codebook. We then keep this randomly initialized codebook fixed and learn the corresponding calibration maps.
| Data | LCE | MLCE | ECCE | NLL |
|---|---|---|---|---|
| C-10 | .0066±.0002 | .4863±.0512 | .0012±.0003 | .3534±.0056 |
| C-100 | .0022±.0001 | .4011±.0327 | .0008±.0001 | 1.4217±.04 |
| Tissue | .0093±.0006 | .5330±.0577 | .0021±.0007 | 1.0557±.0084 |
| Weather | .0065±.0006 | .1841±.0317 | .0008±.0004 | .9640±.0035 |
Even when assignments are naive, the calibration map still substantially improves the local metrics with respect to competitors and approaches the full pipeline local results, although with worse NLL. This highlights the importance of preserving local structure.
Theoretical gap. We thank the reviewer for this observation. The reviewer is correct that the current theorem is stated at the codeword level. We therefore derived the following region-level result. More precisely, let and define the pre-link region-specific matrix
Moreover, let
Theorem 2 conditions on the scale parameters and on the fixed assignments induced by the quantizer. Therefore, for the same fixed region ,
Taking Frobenius norms gives
Our analysis is conducted on a compact local parameter set, so the relevant - and -parameter norms are bounded, while is treated as fixed. Hence, for any fixed region whose constituent codewords satisfy the occurrence-count condition of Theorem 2,
up to lower-order quadratic terms in the codeword estimation rates .
Since the softplus link is applied element-wise and is -Lipschitz,
Therefore, codeword-level estimation errors may accumulate additively across the components defining a region, but not exponentially in the total number of possible regions. In particular, when is fixed, for every slot, and each constituent codeword satisfies , the region-specific concentration matrix retains the pointwise rate
The result formalizes the statistical benefit of the indexed parameterization. Intuitively, the region-level error is controlled by the sum of the estimation errors of these shared components; it does not depend on how many of the combinatorially many possible regions exist, nor directly on the support of that particular region. In particular, a complete region may have low support while remaining reliably estimated if each of its constituent codewords occurs frequently across other regions. We will add this result as a corollary and clarify that it is pointwise for a fixed region and conditional on the quantizer and scale parameters, as it does not establish uniform convergence over all possible regions.
Codebook collapse. Table 9 shows that all codewords remain active, with even the least-used codewords receiving thousands of assignments. Thus, no collapse occurs in our experiments. Moreover, our theory makes the consequence of stronger underutilization explicit: the estimation error for codeword scales as , so rarely used codewords and regions containing them would be estimated less reliably. However, the strong performance in low-support regions suggests that the observed imbalance is not harmful in our tested settings. We will add this discussion to better comment on Table 9.
Stage 2 overfitting. We agree that and can also overfit. Our approach learns local calibration maps, and our parameter sharing mechanism is central in avoiding overfitting. More precisely, sharing parameters reduces the number of learned parameters and enforces learning of shared calibration factors, which in contrast to learning a calibration map for each region is a lot less prone to overfitting. This is relevant when regions are sparse and the lack of data can make the overfitting problem more evident. We further mitigate this through identity-near initialization, fixing , and monitoring validation NLL on a held-out 10% calibration split. We select the checkpoint with minimum validation NLL and stop after 10 epochs without improvement. We will add these details in the Appendix of the revised version of the manuscript.
Black-box setting. Similarly to existing local calibration approaches, our method requires access to the frozen representation space. We agree that this substantially limits applicability in output-only settings. This requirement is already stated in Section 3 and we will state this explicitly in the Limitations Section. The method is therefore intended for model owners or providers with access to frozen internal representations, not users of black-box APIs.
Presentation concerns. We agree with the reviewer on the presentation notes. In the revised version of the manuscript we will include all the useful suggestions.
Statistical significance in Figure 3. We highlight that Figure 3 features confidence intervals as shaded areas, but due to the sharing of the Y-axis those areas appear very small.
Hyperparameter sensitivity. Table 4 shows that performance is stable when selecting reasonable values of and , although the best setting is dataset dependent. Moreover, in lines 748-749, we suggest using and as default values, since these provide stable results across all datasets. More generally, one can tune these hyperparameters using a holdout set.
We thank the reviewer again for their positive feedback, and please let us know if there are other open concerns the reviewer would like us to address.
Dear Reviewer,
as the discussion phase will end in less than 24 hours, please let us know if there are any remaining questions or clarifications you would like us to address.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a local multiclass calibration method based on vector quantization. The main idea is to partition a frozen representation space using VQ and then learn codeword-dependent calibration maps that share parameters across local regions. The method is designed to address a core weakness of local calibration methods which is sparse or low-support regions in high-dimensional latent spaces. Overall, the paper presents a technically coherent and well-motivated contribution. The proposed method is empirically strong on local calibration metrics, and supported by theoretical argument.
Strengths and weaknesses
A key strength is the originality of combining vector quantization with local multiclass calibration. The codeword dependent calibration maps provide a structured way to obtain local adaptivity without learning fully independent parameters for every region. The empirical results are also strong on the paper’s main target metrics, especially local calibration error, and the theoretical argument gives useful intuition for why parameter sharing can help in low-support regions.
The main weakness is clarity. The methodology section introduces a complex pipeline involving the VQ partition, a quantized prediction head, and a compositional calibration map, but it does not always clearly separate which components are fixed, learned, or essential for the empirical gains. A related limitation is that the method is not purely post-hoc calibration in the usual sense. Although the representation space is frozen, the original classification head is replaced, so some gains may come from adapting the predictive head rather than from calibration alone. The paper would be stronger if it more clearly isolated these effects.
Finally, the paper motivates high stakes applications such as healthcare and finance, but mainly evaluates calibration errors, NLL, and accuracy. Additional decision oriented evaluations, such as selective prediction, abstention performance, or risk coverage curves, would better establish the practical significance of the method. The robustness of the segmentation step also remains unclear, since the partition may depend on how latent features are grouped before quantization.
Questions
-
The approach is dependent on what features get segmented together (Eq. 2). How robust is the method to this design choice? For example, if we randomly permute the feature space before segmentation, how much variance do we observe in LCE, MLCE, NLL, and accuracy?
-
Since the method replaces the original classification head, to what extent should it be considered post-hoc calibration rather than representation/head adaptation? Can the authors report results where the base classifier outputs are fixed and only the calibration map is learned?
-
The paper’s main empirical gains are reported on local calibration metrics such as LCE and MLCE. How sensitive are these gains to the choices used in computing those metrics, such as kernel bandwidth, neighborhood definition, feature normalization, and binning strategy?
Limitations
Yes.
Final justification
Thank you for the detailed response and the additional experiments. The fixed-head ablation addresses my main concern that the local-calibration gains might primarily result from replacing the original classifier head. The permutation experiment also provides useful evidence that the method is robust to how embedding dimensions are grouped.
Overall, the rebuttal has increased my confidence in the technical contribution, and I believe the paper is above the acceptance threshold. However, the remaining limitations in evaluation and practical validation keep it borderline rather than a clear accept. I will therefore retain my overall score of 4, but it is now closer to 5 than before.
Formatting concerns
No concerns.
2 comments
Rebuttal
We thank the Reviewer for acknowledging that a key strength is the originality of combining vector quantization with local multiclass calibration, our empirical results are also strong and the theoretical argument gives useful intuition. We address the comments in the following.
Random permutation of the embedding space. We thank the reviewer for this suggestion. We run an experiment randomly shuffling the way embeddings are grouped together to build slots and report here results.
| Data | LCE | MLCE | ECCE | NLL |
|---|---|---|---|---|
| C-10 | .006±.0002 | .5584±.0305 | .0012±.0002 | .3422±.0072 |
| C-100 | .0017±.0001 | .2996±.0056 | .0008±.0001 | 1.23±.012 |
| Tissue | .008±.0003 | .6943±.0409 | .0012±.0002 | 1.027±.0068 |
| Weather | .0047±.0003 | .1738±.037 | .001±.0002 | .9428±.003 |
This shows that the method is robust to how features are grouped together before quantization as results remain close to the original approach (which groups contiguous features together).
Not a pure post-hoc calibration approach. We thank the reviewer for the insightful feedback. In Section 3, we state that our method requires access to the embedding space, similarly to other local calibration approaches [1-4]. We will further clarify this point the Limitations Section of the revised version of the manuscript. Moreover, we additionally run two ablations for the ResNet architectures (CIFAR10/100 and TisueMNIST) and the FT-Transformer (Weather dataset). First, we finetune a classifier head on the calibration set, to clearly isolate the gains of our proposal with respect to simple fine-tuning.
| Data | LCE | MLCE | ECCE | NLL |
|---|---|---|---|---|
| C-10 | .0107±.0005 | .8214±.0266 | .0022±.0004 | .3173±.0051 |
| C-100 | .0032±.0001 | .8124±.0118 | .0013±.0001 | 1.1728±.0072 |
| Tissue | .0282±.0011 | .9597±.0158 | .0042±.0012 | .99±.0049 |
| Weather | .0240±.0017 | .4530±.0107 | .0031±.0011 | .9395±.0032 |
Results indicate that, although this approach is effective in terms of NLL, simply refitting the head does not reproduce the local-calibration gains of the proposed pipeline.
Second, we keep the original classification head fixed and learn the quantization via EMA and the corresponding local calibration maps. This variant shows similar performance in terms of local metrics, suggesting that local gains do not primarily arise from replacing the classifier head, yet finetuning the classification head improves NLL with respect to this variant. Overall, the full pipeline provides a stronger balance between local calibration and global performance than this variant.
| Data | LCE | MLCE | ECCE | NLL |
|---|---|---|---|---|
| C-10 | .0063±.0003 | .5268±.0413 | .0012±.0002 | .3546±.006 |
| C-100 | .0023±.0001 | .3488±.0138 | .0012±.0001 | 1.3798±.0135 |
| Tissue | .0097±.0007 | .7143±.0382 | .0022±.0007 | 1.064±.0087 |
| Weather | .0053±.0005 | .2108±.0419 | .0011±.0003 | .9541±.0026 |
Sensitivity to hyperparameters. We agree that these metrics are sensitive to hyperparameters; indeed, we use the same parameter configuration as previous works in the literature [4]. Because of the rebuttal time and space constraints, we focus on the most influential metric parameter, i.e. the kernel bandwidth, and we report here LCE with a ResNet backbone when changing the value of from to .
CIFAR-10
| Method | .1 | 1 | 5 | 7 | 10 | 100 |
|---|---|---|---|---|---|---|
| VQ | .0316±.0004 | .0316±.0004 | .0192±.0002 | .0104±.0001 | .0059±.0002 | .0039±.0002 |
| SM | .0316±.0005 | .0316±.0005 | .0284±.0003 | .0203±.0004 | .0102±.0003 | .0037±.0001 |
| DC | .0305±.0005 | .0305±.0005 | .0274±.0004 | .0196±.0003 | .0099±.0003 | .0037±.0001 |
| KC | .0339±.0002 | .0339±.0002 | .0313±.0004 | .0236±.0005 | .0095±.0004 | .0057±.0001 |
| LN | .0345±.0003 | .0344±.0003 | .0181±.0006 | .0117±.0004 | .0079±.0003 | .005±.0003 |
| PS | .0387±.0004 | .0387±.0004 | .0342±.0003 | .0253±.0006 | .0180±.0005 | .0085±.0002 |
| IR | .0317±.0004 | .0317±.0004 | .0286±.0002 | .0210±.0004 | .0115±.0003 | .0047±.0001 |
| TS | .0317±.0023 | .0317±.0023 | .0289±.0015 | .0219±.0004 | .0127±.0006 | .0075±.001 |
| PC | .0298±.0004 | .0298±.0004 | .0273±.0003 | .0213±.0003 | .0133±.0005 | .0084±.0004 |
CIFAR100
| Method | .1 | 1 | 5 | 7 | 10 | 100 |
|---|---|---|---|---|---|---|
| VQ | .0062±.0002 | .0062±.0002 | .0034±.0001 | .0022±.0001 | .0017±.0001 | .0012±.0001 |
| SM | .0061±.0001 | .0061±.0001 | .0059±.0001 | .0052±.0001 | .0031±.0002 | .001±.0001 |
| DC | .0056±.0001 | .0056±.0001 | .0055±.0001 | .0048±.0001 | .0027±.0001 | .0014±.0001 |
| KC | .0085±.0001 | .0085±.0001 | .0083±.0001 | .0072±.0001 | .0043±.0001 | .003±.0001 |
| LN | .0066±.0001 | .0066±.0001 | .0062±.0001 | .0046±.0001 | .0024±.0001 | .0012±.0001 |
| PS | .01±.0001 | .01±.0001 | .0096±.0001 | .0084±.0002 | .0053±.0001 | .0028±.0001 |
| IR | .006±.0000 | .006±.0001 | .0058±.0001 | .0051±.0001 | .0031±.0001 | .0012±.0001 |
| TS | .0063±.0001 | .0063±.0001 | .0062±.0001 | .0055±.0001 | .0034±.0001 | .0016±.0001 |
| PC | .0068±.0001 | .0068±.0001 | .0066±.0001 | .0059±.0001 | .0041±.0002 | .0021±.0001 |
TISSUE
| Method | .1 | 1 | 5 | 7 | 10 | 100 |
|---|---|---|---|---|---|---|
| VQ | .1242±.0002 | .1242±.0002 | .0488±.0004 | .0183±.0003 | .0083±.0002 | .004±.0004 |
| SM | .1278±.0008 | .1278±.0008 | .1236±.0005 | .0847±.0019 | .0278±.0013 | .0037±.0002 |
| DC | .1282±.0008 | .1282±.0008 | .1240±.0004 | .0851±.0019 | .0322±.0015 | .0045±.0003 |
| KC | .1315±.0006 | .1315±.0006 | .0766±.0030 | .0313±.0008 | .0226±.0006 | .0195±.0004 |
| LN | .1263±.0008 | .1263±.0008 | .0597±.0009 | .0241±.0009 | .0208±.0007 | .02±.0015 |
| PS | .1381±.0007 | .1381±.0007 | .1322±.0005 | .0889±.0018 | .0418±.0018 | .0133±.0012 |
| IR | .1286±.0016 | .1286±.0016 | .1244±.0013 | .0871±.0022 | .0360±.0024 | .0096±.0005 |
| TS | .1307±.0023 | .1307±.0023 | .1267±.002 | .0907±.0022 | .0506±.0026 | .0407±.0036 |
| PC | .1287±.0022 | .1287±.0022 | .1256±.0019 | .0985±.002 | .0543±.0029 | .039±.0023 |
For all datasets, the trend is similar: for too small bandwidth values, neighbourhoods contain few effective samples, so all estimates approach a high-variance, highly local regime and method differences narrow. VQ is strongest over the broad intermediate range of bandwidths that is most relevant in practice. At very large bandwidths, the notion of neighbourhood becomes progressively looser, so the metric becomes less sensitive to fine-grained local differences and performance gaps may narrow or occasionally reverse.
We thank the reviewer again for their positive feedback and please let us know if there are other open concerns that the reviewer would like us to discuss.
References
[1] Luo, Rachel, et al. "Local calibration: metrics and recalibration." UAI 2022.
[2] Lin, Zhen, et al. "Taking a Step Back with KCAL: Multi-class Kernel-Based Calibration for Deep Neural Networks." ICLR 2023.
[3] Valk, et al. "Assuming locally equal calibration errors for non-parametric multiclass calibration." TMLR 2023.
[4] Barbera, Cesare, et al. "Multiclass Local Calibration With the Jensen-Shannon Distance." AISTATS 2026.
Dear Reviewer,
as the discussion phase will end in less than 24 hours, please let us know if there are any remaining questions or clarifications you would like us to address.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses the general problem of post-hoc calibration methods, specifically in the multiclass setting. Specifically, the authors note that many methods attempt to improve calibration overall, but may calibrate poorly in specific regions, particularly where data is sparse. They propose a new method based on vector quantization. The approach has two stages: first, use VQ to induce a Voronoi decomposition of the space, wherein the regions are defined by which "codeword" is closest ("codewords" being a finite set of vectors). Next they attempt to define a separate calibration map in each region. Since the number or regions grows exponentially, the regions must be parameterized in order to reduce the dimensionality. This is done via the so-called "indexed parameterization trick" utilizing the codewords to parameterize.
The method is applied to CIFAR-10, CIFAR-100, TissueMNIST, and a Weather tabular dataset and compared with a wide variety of competing methods. They show generally strong results on LCE, pretty good on MLCE, and mixed results on the other metrics.
Strengths and weaknesses
Post-hoc calibration on multiclass classification is an important problem. The idea is novel and clever and has some interesting mathematics behind it. The paper is clearly written and the evaluation is comprehensive.
My primary criticism is more philosophical in nature: I don't believe that metrics like LCE, MLCE should be optimized at the cost of proper scoring metrics like NLL. For example, suppose on a small region of the dataset you have 10 data points where the true probability is .8 and another 10 where it is .2. Method A predicts .81 and .21 respectively on those sets of 10 points. Method B predicts .5 on all 20 points. Method B is "better calibrated" on that set, but completely loses the information that distinguishes the high risk from low risk patients. NLL will (rightfully) give a much better score to Method A, where as LCE and MLCE will reward Method B.
Questions
- Can you make a strong practical case for when you would want to improve LCE at the cost of NLL?
Limitations
I disagree with the characterization of the method as being comparable to the strongest methods on NLL. For example, it performs substantially worse than DC on 3 out of the 4 datasets.
Formatting concerns
none
4 comments
Rebuttal
We thank the reviewer for noticing that the idea is novel and clever and has some interesting mathematics behind it. Moreover, we are glad the reviewer states the paper is clearly written and the evaluation is comprehensive.
We address the reviewer concerns in the following.
Philosophical concern about optimizing LCE at the cost of NLL. We agree that NLL is a principled objective to achieve high-quality predictive distributions. Indeed, our calibration stage is trained by minimizing cross-entropy/NLL, not LCE or MLCE. We therefore do not advocate improving local calibration irrespective of NLL, we just support the role of local calibration analysis as a useful diagnostic for reliability.
Notably, dataset-level NLL is an expectation over the test distribution, and therefore weights each region according to its prevalence. This is desirable for measuring average predictive quality, but it also means that a severe and systematic error in a rare region may have only a small effect on the reported scalar value.
For example, suppose 99% of patients are well calibrated, while a rare phenotype representing 1% of patients is assigned a malignancy probability of although its population malignancy rate is . Correcting that subgroup from to changes aggregate NLL by only about because the subgroup is rare. Nevertheless, for those patients, the original prediction turns a genuinely low-risk subgroup into one treated as high risk and may systematically trigger unnecessary interventions. Thus, a small difference in average NLL can coexist with a clinically substantial miscalibration failure.
Reviewer’s example. We agree that a constant predictor should not be preferred over informative and predictions. The apparent disagreement between NLL and local calibration arises only if the two populations are pooled into the same neighbourhood. In that case, Method B matches their average event rate and may appear calibrated, while NLL correctly prefers Method A because it preserves the pointwise information distinguishing the high- and low-risk groups.
LCE is intended to prevent precisely this form of cancellation by conditioning calibration error on neighbourhoods of the representation space. If the two risk groups occupy distinguishable neighbourhoods, they are evaluated separately: the (0.5) predictor underestimates risk in the (0.8) group and overestimates it in the (0.2) group, and is therefore penalized by LCE. Conversely, if the representation places both groups in the same neighbourhood, then LCE may indeed favor the pooled (0.5) prediction, but this reflects a limitation of the representation used to define locality rather than an inherent preference of local calibration for uninformative predictions.
In both cases, NLL remains necessary to measure whether the predictive distribution is good on average, whereas local calibration metrics assess whether its probabilities remain reliable within different regions of the representation space. Notably, we do not claim that LCE should replace NLL, but that reporting only aggregate metrics can conceal miscalibration in sparse regions [1], i.e., the specific setting our method aims to address.
Strong case for improving LCE at cost of NLL. A strong case might arise when decisions are threshold-based, and their costs are concentrated in a rare or low-support region. For example, severe-weather warnings may be issued whenever the predicted probability exceeds a fixed threshold. Because ordinary conditions dominate the evaluation distribution, aggregate NLL may be strong even if the probabilities are systematically unreliable within an uncommon severe-weather regime. In such settings, the deployment objective is not necessarily population-average NLL: errors in a rare region may carry disproportionately high costs. A small deterioration in aggregate NLL may therefore be acceptable if it substantially improves the reliability of the probabilities used for decisions in that region.
For a more practical example, our results on Weather illustrate the magnitude of this trade-off. Relative to DC, VQ reduces LCE from to , approximately a 76% reduction, and MLCE from to , approximately a 60% reduction. This is accompanied by an NLL change from to and by an accuracy reduction from to . Moreover, the improvements are most pronounced in the lowest-density bins, which are precisely the regions targeted by our method, as seen in the Appendix.
Notably, we do not claim that every improvement in LCE justifies worse NLL, nor that these benchmark results alone establish downstream utility. Rather, they show that a large reduction in systematic local error can sometimes be obtained for a comparatively small change in aggregate predictive performance. Whether that trade-off is desirable or acceptable strongly depends on the application and its decision costs. We will revise the paper to state this conditional interpretation explicitly.
Comparability of VQ with DC. We thank the reviewer for noticing this overclaim and agree with the reviewer. We will remove the statement that VQ is comparable to the strongest methods on NLL and replace it with:
VQ substantially improves local calibration - especially in low-support regions - while improving NLL over the uncalibrated model; however, it does not consistently match the strongest global calibrators on NLL.
We thank the reviewer again for their positive feedback and please let us know if there are other open concerns that the reviewer would like us to discuss.
References
[1] Xiong, Miao, et al. "Proximity-informed calibration for deep neural networks." NEURIPS 2023.
Dear Reviewer,
as the discussion phase will end in less than 24 hours, please let us know if there are any remaining questions or clarifications you would like us to address.
Rebuttal read
I thank the authors for their rebuttal. They have mostly addressed my concerns, however, there are a few concerns raised by other reviewers that I had not previously considered. The requirement that the calibration procedure need the "inside" of the model, rather than just a set of predictions, is a limitation that was not made sufficiently clear by the authors initially. Furthermore, the "theoretical gap" and subsequent revision by the authors seems like a significant change this late in the process - though I will defer to the relevant reviewers to assess that.
We are glad our rebuttal addressed the reviewer's concerns. We clarify the additional comments.
Inside of the model requirement Our approach simply requires access to the penultimate layer of a neural network, which is often used as a feature extractor in several tasks.
We explicitly mention this requirement in the Introduction (lines 34-35); the Methodology Section (lines 81-84 and line 106); and also acknowledge this in the limitations Section (lines 337-340). We also point out that this is the common building block of local calibration methods [1,2,3,4].
We will further expand the discussion around this requirement of local calibration methods.
Theoretical Gap. We respectfully point out that this was an explicit request by Reviewer R3qs and also mentioned (as a relatively minor request) by the Area Chair. In our rebuttal, we provided a simple corollary to account for that specific question.
The new corollary does not correct or replace any claim from the original submission. Rather, it directly derives a region-level guarantee from our existing codeword-level result, in response to a question raised during the review process. This is a direct consequence of the original analysis rather than a substantive change to the theoretical framework.
References
[1] Luo, Rachel, et al. "Local calibration: metrics and recalibration." UAI 2022.
[2] Lin, Zhen, et al. "Taking a Step Back with KCAL: Multi-class Kernel-Based Calibration for Deep Neural Networks." ICLR 2023.
[3] Valk, et al. "Assuming locally equal calibration errors for non-parametric multiclass calibration." TMLR 2023.
[4] Barbera, Cesare, et al. "Multiclass Local Calibration With the Jensen-Shannon Distance." AISTATS 2026.
Comments on the paper
1 comment
Dear Authors and Reviewers,
Thank you for supporting NeurIPS 2026!
We are now entering the final three days of the discussion phase. Please make the most of this time to exchange your views. I encourage each Reviewer, if you have not already done so, to read the other reviews, the initial meta-review, and the Authors' responses. Please respond to the Authors and actively participate in the discussion to help clarify any remaining issues.
Thank you,
NeurIPS 2026 Area Chair
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
As the discussion phase enters its final stage, we would like to thank again the reviewers for the provided feedback and the Area Chair for highlighting the key discussion points.
We provide here a few pointers to our answers to facilitate the discussion:
kqgY);R3qs);JSoN);JSoN(see Comparability of VQ withy DC in answer to Rev.JSoN);JSoNand Sensitivity to hyperparameters in answer to Rev.kqgY).These additions aim to address the main points identified in the meta-review and will be incorporated into the revised manuscript. We hope they clarify the scope of the contribution and provide the information needed for the final assessment.