Invertible Logits Transformation for Accuracy-Preserving Post-Hoc Uncertainty Calibration
Lening Zhao, Qipeng Zhan, Li Shen
NeurIPS 2026
Abstract. Post-hoc calibration aligns a classifier's predicted confidences with its empirical accuracy without retraining. An ideal calibrator should correct nonlinear miscalibration, scale gracefully to large label spaces, and preserve the original predictions; existing methods typically violate at least one of these properties---temperature scaling lacks expressivity, more flexible parametric alternatives introduce parameters that grow with the number of classes , and other expressive methods do not preserve the rank ordering of class scores and may alter the predicted class. We propose \textbf{Invertible Logits Transformation (InvLT)}, which applies a learned scalar MLP element-wise to the pre-softmax logits. Sharing across all logit dimensions makes the parameter count independent of . Monotonicity of ---and hence preservation of the argmax prediction---is softly encouraged via a paired inverse network rather than enforced through the numerical integration required by prior monotone calibrators; this avoids their computational overhead while empirically preserving the original classification accuracy in every setting we evaluate. Across standard image classification benchmarks and a range of architectures, InvLT consistently outperforms a broad set of post-hoc baselines on standard calibration metrics. Our code is available at \url{https://github.com/joannaLzhao/InvLT}.
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:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper addresses the problem of classifier calibration and develops a new post-hoc calibration method. The authors' idea is to learn a shared scalar transformation, which is applied element-wise to the logits of a given classifier. The main motivation is to achieve a compromise between complexity and flexibility: the proposed calibrator is more flexible than e.g. simple (single-parameter) temperature scaling, but at the same time independent of the number of classes. Moreover, by preserving the argmax class, it also preserves accuracy. Monotonicity is not directly enforced. Rather, an inverse network regulariser is introduced that encourages the learned transformation to be invertible/monotone in practice. Strong empirical results are shown on image-classification benchmarks and calibration baselines.
The reviewers appreciate the interesting and timely topic. Moreover, they agree that the paper makes a substantial and potentially impactful contribution. They also emphasise that the paper is very clear and well written. That said, in their initial reviews, they also raise a couple of critical remarks and express concerns about certain parts of the paper. Perhaps most importantly, the code was not released although this was indicated in the checklist. Thus, the reviewers could not check the implementation of the proposed method. Other critical remarks concerned, e.g., a lack of theory and limited novelty in light of existing work. Last but not least, the reviewers expressed concerns regarding the experiments, in particular the limitation to top-label or confidence calibration, and noted that hyperparameter optimisation was perhaps not done in an entirely fair way.
During the rebuttal phase, the authors worked hard to address all these issues and answered most of the questions in a very comprehensive way, which is appreciated by the reviewers. In particular, the authors also provided the code. Overall, there is a consensus that the rebuttal adequately addresses the reviewers' concerns.
Final justification
See meta review.
- Final justification
- See meta review.
Read meta-review
Meta-review
The paper addresses the problem of classifier calibration and develops a new post-hoc calibration method. The authors' idea is to learn a shared scalar transformation, which is applied element-wise to the logits of a given classifier. The main motivation is to achieve a compromise between complexity and flexibility: the proposed calibrator is more flexible than e.g. simple (single-parameter) temperature scaling, but at the same time independent of the number of classes. Moreover, by preserving the argmax class, it also preserves accuracy. Monotonicity is not directly enforced. Rather, an inverse network regulariser is introduced that encourages the learned transformation to be invertible/monotone in practice. Strong empirical results are shown on image-classification benchmarks and calibration baselines.
The reviewers appreciate the interesting and timely topic. Moreover, they agree that the paper makes a substantial and potentially impactful contribution. They also emphasise that the paper is very clear and well written. That said, in their initial reviews, they also raise a couple of critical remarks and express concerns about certain parts of the paper. Perhaps most importantly, the code was not released although this was indicated in the checklist. Thus, the reviewers could not check the implementation of the proposed method. Other critical remarks concerned, e.g., a lack of theory and limited novelty in light of existing work. Last but not least, the reviewers expressed concerns regarding the experiments, in particular the limitation to top-label or confidence calibration, and noted that hyperparameter optimisation was perhaps not done in an entirely fair way.
During the rebuttal phase, the authors worked hard to address all these issues and answered most of the questions in a very comprehensive way, which is appreciated by the reviewers. In particular, the authors also provided the code. Overall, there is a consensus that the rebuttal adequately addresses the reviewers' concerns.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
"Invertible Logits Transformation for Accuracy-Preserving Post-Hoc Uncertainty Calibration" proposes a new method for post-hoc calibration of machine learning classifiers. The paper suggests using a neural network to learn a (roughly) monotonic function, that is then applied element-wise on the non-calibrated logits of the initial model. The original contribution of the paper is to enforce monotonicity via a "reconstruction loss" penalty, that is obtained by jointly learning a second neural network, inverting the first one on a finite set of points in the logit space. The idea is that a continuous function from to in invertible only if it is monotonic.
Strengths and weaknesses
The strengths are that the paper is quite clear and well written. The contribution is interesting, in that it practically improves upon an existing post-hoc calibration method, providing a more practical way to fit the monotonic logit mapping, also it apparently yields better results.
The contribution is methodological, there is no theory. For this reason, I believe that the most important part of the paper is the "recipe" described, together with the implementation and the experiments, which are here to prove that the recipe is applicable and yields good results empirically.
While the authors claim in the checklist that the experiments are reproducible using the code in the supplementary material, there is apparently no supplementary material provided with the submission. This is a major issue for me, as there is no way to check that the experiments (which are non trivial) are indeed reproducible and that the calibration method described is indeed implementable. As said above, this is the most important part of the paper to me.
Finally, while I think the paper is quite good, I would argue the contribution is not very significant, it is mostly about improving an existing method. If it works really well in practice (simplifies implementation and decrease runtime), this is perfectly fine to me. Since you do not release the code however, one cannot check that. Also, I think justifying the improvement would require more empirical evidence. In particular while you claim that your method is faster to fit, the fitting times are only reported for one dataset and are in the same order of magnitude (much slower than baselines). Moreover from what I understand, this does not take into account the fact that you use a grid search to select the best parameters for your network on each dataset, which I believe is not comprised in the runtimes displayed on Table 4?
Questions
My score can increase at the condition that the code is released and that I can check the implementation of the proposed method, as well as of the other methods benchmarked, and of course the code to run the experiments.
On line 206, you indicate that network parameters are chosen using a grid search but you do not specify the metric that is used, or the grid of parameters explored. I guess you do not count the grid search runtime when reporting fitting times for the different methods? I would argue that this makes the comparison unfair, advantaging your method. Other methods could also benefit from a hyper parameter grid search...
Other small issues are:
- Platt scaling is described in the "Non-parametric" paragraph while it is a parametric method.
- Concerning binary methods "making extensions to multiclass settings less straightforward", this is misleading, one-versus-rest calibration is widely used and quite straightforward.
- In my opinion, Theorem 1 and Corollary 2 should not be framed as theorems like this, these are really obvious mathematical facts.
- "A post-hoc calibrator is usually fitted by optimising a Brier loss", to the best of my knowledge many method use NLL (every logistic based method like TS, VS, MS, Dirichlet...)
Limitations
Authors claim in the checklist that they release anonymised code to reproduce paper experiments. Unless I am making a mistake, in which case I am sorry for it, I do not have access to this supplementary material, which is to me an essential part of the contribution. Without it I cannot evaluate the paper correctly, which prevents me from giving a good rating.
Final justification
Overall I think the technique introduced is interesting as it seems to be a direct improvement in terms of performance and speed over UMNN. However it remains quite slow to run and evaluation against recent, state of the art post hoc calibration techniques is lacking to see wether it is "on the pareto frontier" of what users should consider using in practice.
Formatting concerns
/
6 comments
Rebuttal
We thank you for your fair, balanced, and insightful comments. We agree that the main contribution of our method is methodological rather than theoretical. We are particularly grateful for the explicit feedback on what would address the concerns raised, and we respond to each point below.
Q1: My score can increase at the condition that the code is released and that I can check the implementation of the proposed method, as well as of the other methods benchmarked, and of course the code to run the experiments.
We sincerely apologize — the code was inadvertently not included with the submission. Per the organizers' requirements, we are not allowed to include a link directly in our response to reviewers. We have therefore sent the anonymous GitHub link to the Area Chair. The repository contains the full InvLT implementation as well as all baseline implementations. We hope this addresses your primary concern.
Q2/Issue4: On line 206, you indicate that network parameters are chosen using a grid search but you do not specify the metric that is used, or the grid of parameters explored. I guess you do not count the grid search runtime when reporting fitting times for the different methods? I would argue that this makes the comparison unfair, advantaging your method. Other methods could also benefit from a hyper parameter grid search. A post-hoc calibrator is usually fitted by optimising a Brier loss", to the best of my knowledge many method use NLL (every logistic based method like TS, VS, MS, Dirichlet...)
Thank you for pointing out these two concerns.. As you correctly judged, our reported runtime did not include the grid search but rather the time for a single training/inference run, and we did not perform an equivalent grid search for the baseline methods, which led to an unfair comparison. Our training approach follows the PTS paper, which is why we started with the Brier loss. Taking both points into account, we have re-run a fairer set of comparison experiments, performing a grid search over the hyperparameters of each baseline as well (for example, the regularization coefficient of matrix scaling), including both MSE and NLL as training losses. In particular, for PTS, UMNN, and our own method, we grid-searched the same network architectures and activation functions (UMNN imposes restrictions on the activation function, so we only grid-searched the network architecture for it). The new results (Table 1 in the original version) are as follows:
| Method | C10 ECE | C10 Ada | C10 KDE | C10 NLL | C100 ECE | C100 Ada | C100 KDE | C100 NLL | IN ECE | IN Ada | IN KDE | IN NLL |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No Cal. | 3.11 | 3.11 | 4.31 | 0.200 | 11.88 | 11.85 | 14.25 | 0.983 | 12.83 | 12.83 | 12.85 | 0.867 |
| Hist. Bin. | 0.99 | 2.35 | 1.09 | 0.397 | 5.92 | 8.84 | 6.64 | 2.402 | 5.62 | 6.87 | 5.87 | 3.494 |
| Isotonic | 1.03 | 0.90 | 1.47 | 0.203 | 6.02 | 5.95 | 6.84 | 1.284 | 6.84 | 6.84 | 7.62 | 2.973 |
| Vector Sc. | 0.91 | 1.18 | 1.41 | 0.159 | 4.96 | 4.77 | 5.35 | 0.889 | 10.94 | 10.78 | 11.44 | 2.397 |
| Matrix Sc. | 0.89 | 1.14 | 1.42 | 0.159 | 4.04 | 3.85 | 4.32 | 0.833 | 12.83 | 12.83 | 12.86 | 0.867 |
| Dirichlet | 0.91 | 1.14 | 1.43 | 0.159 | 1.96 | 2.04 | 2.10 | 0.982 | 3.62 | 3.64 | 2.13 | 0.999 |
| Spline | 1.54 | 1.70 | 2.12 | 0.273 | 7.74 | 7.66 | 8.55 | 1.170 | 1.10 | 1.19 | 1.34 | 0.740 |
| TS | 1.69 | 1.54 | 1.86 | 0.169 | 4.67 | 4.64 | 5.17 | 0.912 | 2.77 | 2.79 | 2.79 | 0.751 |
| ETS | 1.64 | 1.48 | 1.81 | 0.169 | 2.72 | 2.78 | 2.81 | 0.895 | 2.79 | 2.81 | 2.79 | 0.750 |
| PTS | 0.69 | 0.71 | 1.15 | 0.163 | 2.59 | 2.85 | 2.79 | 0.888 | 2.66 | 3.44 | 3.16 | 0.740 |
| UMNN | 0.66 | 0.70 | 1.07 | 0.153 | 3.47 | 3.50 | 3.51 | 0.812 | 0.56 | 0.54 | 0.72 | 0.666 |
| InvLT (ours) | 0.60 | 0.61 | 0.98 | 0.152 | 1.67 | 1.88 | 1.90 | 0.793 | 0.39 | 0.50 | 0.64 | 0.665 |
Although, in the new results the gap between our method and the baselines has narrowed, but InvLT still outperform over all metrics. In addition, we have also updated the following fairer runtime results, where PTS/UMNN/InvLT are evaluated with the same network architecture (hidden_dim=[16,16,16]). Compared to UMNN, our method substantially improves both training and inference efficiency.
| Method | CIFAR-10 fit | CIFAR-10 inf | CIFAR-100 fit | CIFAR-100 inf | ImageNet fit | ImageNet inf |
|---|---|---|---|---|---|---|
| TS | 4.49 s | 1.4 ms | 3.19 s | 0.6 ms | 3.54 s | 2.9 ms |
| VS | 3.24 s | 1.1 ms | 2.58 s | 1.4 ms | 3.33 s | 8.0 ms |
| PTS | 5.93 s | 3.2 ms | 8.49 s | 12.1 ms | 17.14 s | 120.7 ms |
| IR | 15.8 ms | 7.6 ms | 102.4 ms | 90.1 ms | 799.9 ms | 987.5 ms |
| Spline | 57.7 ms | 935.4 ms | 687.6 ms | 9.01 s | 6.19 s | 88.01 s |
| UMNN | 33.16 s | 53.6 ms | 80.20 s | 372.7 ms | 570.46 s | 3.94 s |
| InvLT (ours) | 12.97 s | 6.9 ms | 22.70 s | 74.8 ms | 72.56 s | 516.3 ms |
Issue1: Platt scaling is described in the "Non-parametric" paragraph while it is a parametric method.
Thank you for the correction. We apologize for the misclassification here; we will change it to "univariate calibration" in the revised version, since they all learn a mapping on one-dimensional confidence scores only (but can be possibly extended to multiclass settings using one-vs-rest scheme).
Issue2: Concerning binary methods "making extensions to multiclass settings less straightforward", this is misleading, one-versus-rest calibration is widely used and quite straightforward.
We apologize that our phrasing in the original text was somewhat misleading. What we want to express is that these methods were originally designed for probability calibration in binary classification; when extended to multi-class settings, they typically adopt a one-vs-rest scheme. However, since each class's probability is calibrated separately, a normalization step is required when combining them, which causes the already-calibrated probabilities from each branch to be shifted once again.
Issue3: In my opinion, Theorem 1 and Corollary 2 should not be framed as theorems like this, these are really obvious mathematical facts.
We agree with your point. In the revised version, we will change Theorem 1 to a Proposition, and then state the conclusion of Corollary 2 directly in the following paragraph as a natural transition, since they are quite obvious.
Thanks for the detailed rebuttal.
Unless I'm mistaken I still don't have access to the supplementary material, will the area chair share the anonymous link with the reviewers?
Thank you for following up. We have prepared the anonymized code repository and really want to share it with you.
Per the NeurIPS 2026 Main Track Handbook, the policy states: "Do not use links in any part of the response. The only exception is if the reviewers asked for code, in which case you can send an anonymized link to the AC in an Official Comment." We were initially unsure whether the link could be shared directly with reviewers or only through the AC, so we have contacted the organizing committee for clarification. We will make the code available to you as soon as possible.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes a post-hoc calibration method that learns a shared scalar transformation applied element-wise to the logits of a pretrained classifier. The goal is to obtain a calibrator that is more complex than temperature scaling, while remaining independent of the number of classes and preserving the original predicted class. The shared scalar function makes the number of calibration parameters independent of the number of classes and monotonicity of is intended to preserve the ordering of logits and hence the argmax prediction. Instead of enforcing monotonicity through architectural constraints or numerical integration, the paper introduces an inverse network regularizer that encourages the learned transformation to be invertible/monotone in practice. Empirically, the proposed method performs strongly across the evaluated image-classification benchmarks and calibration baselines.
Strengths and weaknesses
Strengths
The paper is clearly written and easy to follow. The motivation is intuitive, temperature scaling is simple and preserves predictions but has limited expressivity, whereas more flexible calibration methods may introduce class dependent parameters or change the predicted class. The proposed method occupies a natural middle ground by learning a nonlinear scalar transformation shared across all logits. This makes the approach simple, scalable to large label spaces, and easy to implement. Also, the connection between monotonicity and argmax preservation is clear, and the class independent parameterization is appealing for datasets such as CIFAR-100 and ImageNet. The empirical results also appear strong, the proposed method improves calibration metrics across the reported benchmarks while preserving classification accuracy in the evaluated settings.
Weaknesses
The main limitation is that the evaluation seems to focus mostly on top-label or confidence calibration. Metrics such as ECE primarily assess whether the confidence assigned to the predicted class matches empirical accuracy. For a multiclass calibrator that transforms the entire logit vector, it would be important to also evaluate calibration of the full probability vector or at least classwise/marginal calibration. Currently, NLL is the main metric that reflects the full predictive distribution, but NLL is a proper scoring rule rather than calibration only measure. Reporting metrics such as classwise ECE would make the evaluation more convincing.
Questions
-
Did the authors compare the shape of the learned scalar function across different random seeds. This analysis would help clarify whether InvLT learns a stable calibration transformation or whether the learned function is sensitive to optimization details.
-
Why is SiLU used for CIFAR-10, while Tanh is used for CIFAR-100 and ImageNet? Is this choice based on validation performance, optimization stability, or some property of the learned transformation?
-
In Figure 2, it would be helpful to include the sample count or sample fraction in each confidence bin. The reliability diagrams show the bin-wise calibration gaps, but ECE is a sample-weighted average, so visually large gaps in low-density bins may contribute little to the final ECE. Adding bin counts or confidence histograms would make the figure easier to interpret.
Limitations
Yes.
Final justification
Thank you for the detailed rebuttal and additional experiments. The classwise ECE results address my main concern about evaluating calibration beyond top-label confidence. I appreciate the clarification regarding hyperparameter selection. The final paper should clearly document the search spaces, selection metric, and evaluation protocol for every method. Overall, the rebuttal adequately addresses my questions. I will therefore keep my score.
Formatting concerns
No concerns.
1 comment
Rebuttal
W1: The main limitation is that the evaluation seems to focus mostly on top-label or confidence calibration. Metrics such as ECE primarily assess whether the confidence assigned to the predicted class matches empirical accuracy. For a multiclass calibrator that transforms the entire logit vector, it would be important to also evaluate calibration of the full probability vector or at least classwise/marginal calibration. Currently, NLL is the main metric that reflects the full predictive distribution, but NLL is a proper scoring rule rather than calibration only measure. Reporting metrics such as classwise ECE would make the evaluation more convincing.
We thank you for this constructive suggestion. Here is the result for classwise ECE:
| Method | CIFAR-10 | CIFAR-100 | ImageNet |
|---|---|---|---|
| No Cal. | 0.660 | 0.270 | 0.040 |
| Hist. Bin. | 0.375 | 0.185 | 0.034 |
| Isotonic | 0.320 | 0.170 | 0.030 |
| Vector Sc. | 0.280 | 0.170 | 0.030 |
| Matrix Sc. | 0.298 | 0.155 | 0.039 |
| Dirichlet | 0.298 | 0.267 | 0.032 |
| Spline | 0.384 | 0.194 | 0.024 |
| TS | 0.500 | 0.190 | 0.030 |
| ETS | 0.490 | 0.170 | 0.020 |
| PTS | 0.349 | 0.169 | 0.024 |
| UMNN | 0.305 | 0.163 | 0.023 |
| InvLT (ours) | 0.303 | 0.155 | 0.023 |
Q1: Did the authors compare the shape of the learned scalar function across different random seeds. This analysis would help clarify whether InvLT learns a stable calibration transformation or whether the learned function is sensitive to optimization details.
Thank you very much for this suggestion, which is very valuable and helps demonstrate the stability of our method. In Figure 1 of the revised version, we will plot the learned transformations across 5 seeds. Since images cannot be uploaded during the rebuttal phase, we can only offer the following textual explanation:
First, it should be noted that, because shifting all logits by the same constant does not change the softmax output, any transformation of the form is regarded as belonging to the same equivalence class as . When plotting, we adjust so that , in order to avoid visual discrepancies caused by differing values of —though in practice the for each transformation is also quite close.
The overall shape of the transformations learned by our method under different seeds is very similar, with slightly larger deviations on the left side of the plot . Taking CIFAR-10 as an example, the effective range of the logits is roughly . The curves for different seeds match well over the interval , but show larger discrepancies over . This is because, in the softmax computation, when z is small, is insensitive to changes in z, so the effect on the post-softmax probability is minimal—for instance, softmax((5, -1)) = (0.9975, 0.0025), while softmax((5, -4)) = (0.9999, 0.0001). To make this easier to understand, we quantified the differences between seeds using a relative norm, with the formula . The results are as follows:
| Dataset | Mean rel_L1 | Mean rel_L2 |
|---|---|---|
| CIFAR-10 | 0.080 | 0.133 |
| CIFAR-100 | 0.062 | 0.083 |
| ImageNet (ResNet-152) | 0.121 | 0.098 |
| Overall (9 pairs) | 0.088 | 0.105 |
Q2: Why is SiLU used for CIFAR-10, while Tanh is used for CIFAR-100 and ImageNet? Is this choice based on validation performance, optimization stability, or some property of the learned transformation?
We performed a grid search over hyperparameters such as the activation function and hidden dimension. For CIFAR-10, SiLU worked better (better ECE on validation set), and we chose to present this result so that the performance-improvement gap relative to the baselines would be larger.
Q3: In Figure 2, it would be helpful to include the sample count or sample fraction in each confidence bin. The reliability diagrams show the bin-wise calibration gaps, but ECE is a sample-weighted average, so visually large gaps in low-density bins may contribute little to the final ECE. Adding bin counts or confidence histograms would make the figure easier to interpret.
Thank you for your constructive feedback. We apologize that committee does not allow us to display the updated figure here, but we will include it in the revised version.
- Rating
- 4/6
- Confidence
- 3/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 paper proposes a post-hoc calibration method, termed as Invertible Logits Transformation, that enables the correction of non-linear miscalibration using a logit-specific transformation, scales to large settings, while keeping the prediction intact by preserving the order of the logits. The algorithm introduces an auxiliary inverse network , trains it along with the logit map and attempts to softly impose monotonicity through invertibility. The key idea is to train the logits to be invertible, rather than imposing monotonicity by construction. The InvLT method A reconstruction loss function is defined, that penalizes the distance between the composition function of and and the identity map and tries to drive towards injectivity, and hence monotonicity. Finally, experiments on benchmark datasets has been performed to compare the performance of the proposed InvLT algorithm with the state-of-the-arts method, and the observed results have been summarized and discussed, and the limitations of the proposed method has also been discussed.
Strengths and weaknesses
Strengths: The proposed InvLT method improves upon the benchmark UMNN architecture by replacing the strict constraint of monotonicity with a soft regularizer, that eliminates the computational overhead of computing a numerical integration in every forward step, and also relaxes the constraints on the choice of activation function, that is imposed by the structure of UMNN. The results of the experiments also favor the proposed algorithm greatly.
Weaknesses: Due to the presence of a soft regularizer rather than a strict monotonicity constraint, there is no guarantee that the monotonicity will be intact in the implementation. There is no theoretical evidences that guarantees improved performance of the proposed algorithms. Also, the proposed technique is not entirely novel in itself in the sense that while it has not previously been explored in the post-hoc calibration literature, it has been commonly employed in other areas of research. Also, the code to the experiments seems to be unavailable.
Questions
- The recently proposed methods such as the ROC-regularized isotonic regression which preserves the ordering, or the more recent techniques based on the traditional Kolmorov-Smirnov distance or the kaplan-Meier estimator are not included in the experiments. Do you have any results comparing the proposed methods with the more recently developed algorithms in the literature?
- How sensitive is the proposed method to ? Should be taken as a thumbrule, or else, how should lambda be chosen?
Limitations
yes
Final justification
The authors have addressed all my concerns and also provided the code. I am therefore raising my score to 4 (Borderline accept).
Formatting concerns
It seems to me that the code to the experiments were not provided, although it is mentioned in the checklist that it is included in the submission.
4 comments
Rebuttal
W1: Due to the presence of a soft regularizer rather than a strict monotonicity constraint, there is no guarantee that the monotonicity will be intact in the implementation. There is no theoretical evidences that guarantees improved performance of the proposed algorithms.
We agree with your point. In terms of broad applicability, soft regularization cannot strictly guarantee monotonicity; however, this is a very common trade-off in machine learning: compared to hard constraints, soft regularization is easier to implement and optimize. Specifically, for the problem of post-hoc calibration, our experimental results demonstrate that such a soft regularization is sufficient to learn a genuinely monotonic transformation (as shown in Figure 1.). Moreover, across 3 datasets × 7 architectures × 3 calibration set sizes, InvLT preserves the base classifier's accuracy in every single setting (0% argmax flips). Compared to UMNN-based hard-constraint implementations, our method offers a simpler implementation, and is able to achieve lower calibration error with less training/inference time.
W2: There is no theoretical evidences that guarantees improved performance of the proposed algorithms.
We agree that our contribution is methodological and empirical rather than theoretical. We note, however, that the same is true of all baselines: temperature scaling, Dirichlet calibration, spline calibration, and UMNN all lack theoretical guarantees of improved calibration performance — they are evaluated empirically. InvLT's empirical evidence is broad: it ranks first on ECE and NLL across all 3 datasets, all 7 architectures, and all 3 calibration set sizes evaluated, with substantial margins in challenging settings.
W3: The proposed technique is not entirely novel in itself in the sense that while it has not previously been explored in the post-hoc calibration literature, it has been commonly employed in other areas of research. Also, the code to the experiments seems to be unavailable.
We appreciate you raising this. The inverse-reconstruction regularizer is commonly employed in many areas such as image translation and some generative models. Our main contribution/novelty is not the regularizer itself, but the observation that it provides a practical and effective alternative to hard architectural monotonicity constraints in the post-hoc calibration setting, and the empirical demonstration that this replacement yields both simpler implementation and stronger calibration performance. In fact, even in other areas, to the best of our knowledge, no one does this to achieve monotonicity (they typically opt for approaches like UMNN that enforce strict monotonicity by design), because the invertibility–monotonicity equivalence only holds in the 1D case, and, as you pointed out, soft regularization cannot guarantee monotonicity. Fortunately, however, for the post-hoc calibration setting we care about, soft regularization is sufficient to drive us toward a genuinely monotonic transformation. We will add an explicit discussion of this connection in the related work section to properly acknowledge the prior art.
W4: The code to the experiments seems to be unavailable.
We sincerely apologize — the code was inadvertently not included with the submission. Per the organizers' requirements, we are not allowed to include a link directly in our response to reviewers. We have therefore sent the anonymous GitHub link to the Area Chair. The repository contains the full InvLT implementation as well as all baseline implementations.
Q1: The recently proposed methods such as the ROC-regularized isotonic regression which preserves the ordering, or the more recent techniques based on the traditional Kolmorov-Smirnov distance or the kaplan-Meier estimator are not included in the experiments. Do you have any results comparing the proposed methods with the more recently developed algorithms in the literature?
We investigated all three methods that you mentioned:
-
ROC-regularized isotonic regression (Berta et al., AISTATS 2024): We implemented MulticlassIRP faithfully from the authors' Julia reference code and ran it on CIFAR-10 (K=10). It produced ECE=27.38%, NLL=52.25%, roughly 100× worse than all other baselines. This is not a bug in our implementation, instead it is a fundamental scaling limitation acknowledged by the authors themselves. The original paper explicitly states: "This definition is overly restrictive for problems with a large number of classes (typically K>5) ... we simply focus on low-dimensional classifiers in this paper and leave extensions to high-dimensional classifiers for future work." Their own experiments never exceed K=4. Since all datasets in our evaluation have K≥10(CIFAR-10/100, ImageNet), this method falls outside its own stated scope. We document this analysis in detail in our code repository.
-
KS-based calibration: The method you may be referring to is Gupta et al. (2021), "Calibration of Neural Networks using Splines," which introduced both the Kolmogorov-Smirnov calibration error metric and the spline-based recalibration method. Spline Calibration is already included as a baseline in all our experiments (Tables 1–2). We will additionally report the KS calibration error as a supplementary evaluation metric for completeness.
-
Kaplan-Meier-based methods: To our knowledge, Kaplan-Meier estimators are used for survival analysis (time-to-event prediction with censored data), not as post-hoc calibrators for multiclass classification. We are not aware of a KM-based method applicable to our setting. If the reviewer has a specific reference in mind, we would be happy to include it.
Q2: How sensitive is the proposed method to ? Should be taken as a thumbrule, or else, how should be chosen?
We simply picked a scale within a reasonable range. Our method is robust to the value of as shown blow. For those who apply our method in the future, we also recommend directly setting λ = 0.01, without the need for a grid search.
| λ | ECE% (val500) | NLL (val500) | Error% (val500) | ECE% (val1000) | NLL (val1000) | Error% (val1000) |
|---|---|---|---|---|---|---|
| 0.001 | 1.02 | 0.1592 | 4.87 | 1.08 | 0.1565 | 4.60 |
| 0.01 | 1.17 | 0.1555 | 4.53 | 1.13 | 0.1555 | 4.54 |
| 0.1 | 1.18 | 0.1548 | 4.52 | 0.99 | 0.1541 | 4.52 |
| 1.0 | 1.13 | 0.1540 | 4.52 | 0.92 | 0.1536 | 4.52 |
Dear Reviewer and Area Chair,
The anonymized repository is now available at https://anonymous.4open.science/r/InvLT-1E48/. It contains the full InvLT implementation, all baseline implementations. We apologize and also happy to answer any questions about the code.
I thank the authors for the rebuttal. They have addressed all my concerns and also provided the implementation code. I further agree with the authors that calibrators based on the Kaplan-Meier eatimator are indeed used in Survival Analysis and not in classification. I am however maintaining my score for now.
I have one follow-up question regarding the isotonic regression. I understand that for K>5, it performs poorly. Having said that, do you think it is actually possible that isotonic regression might outperform the proposed method for smaller problems, for e.g., binary classification.
Thank you for the follow-up. In order to provide a well-grounded answer to your question, we ran experiments on binary () and ternary () classification using the Covertype dataset, which was also used in the original ROC-regularized IR paper (Berta et al., AISTATS 2024).
For ROC-IR, we grid-searched and max_grid_points and report the best-performing configuration for each method.
| Method | Error | ECE(%) | NLL |
|---|---|---|---|
| No Calibration | 0.2256 | 1.15 | 0.4781 |
| Isotonic Regression | 0.2263 | 1.05 | 0.5118 |
| ROC-IR () | 0.2265 | 0.99 | 0.4804 |
| InvLT (ours) | 0.2256 | 0.68 | 0.4791 |
| Method | Error | ECE(%) | NLL |
|---|---|---|---|
| No Calibration | 0.2254 | 1.12 | 0.4836 |
| Isotonic Regression | 0.2284 | 1.66 | 0.4946 |
| ROC-IR () | 0.2293 | 0.74 | 0.4971 |
| InvLT (ours) | 0.2254 | 0.54 | 0.4833 |
ROC-IR substantially improves over standard isotonic regression on ECE at , reducing it from 0.0166 to 0.0074, confirming its value in the low- regime it was designed for. InvLT achieves the best ECE in both settings (0.0068 at , 0.0054 at ) while preserving the original classification accuracy. We will include ROC-IR as an additional baseline and add this low- analysis to the appendix in the revised version.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Area Chair
Dear Reviewers and Area Chair,
We sincerely thank all reviewers for their constructive feedback. We provide a brief summary of our responses here.
Code. We apologize that the code was inadvertently not included with the submission. The anonymized link, which contains the full InvLT implementation as well as all baseline implementations, has been shared with the Area Chair. Once the Area Chair has reviewed and confirmed it, we will share it with all reviewers.
Contribution. Our contribution is methodological rather than theoretical. The inverse-reconstruction regularizer is commonly employed in many areas. However, our main contribution/novelty is not the regularizer itself, but the observation that it provides a practical and effective alternative to hard architectural monotonicity constraints. Although soft regularization cannot formally guarantee monotonicity, our experiments show that it is sufficient to learn a genuinely monotonic transformation. In practice, compared to UMNN-based hard constraints, InvLT substantially improves both training and inference efficiency while achieving lower calibration error.
Fairer experiments. Following reviewers' feedback, we re-ran all methods with a fair grid search over hyperparameters (including both MSE and NLL as training losses) for every baseline. With this fairer setup, InvLT still outperforms all baselines on over 90% of experimental settings and metrics. We also added classwise ECE (CECE) results and an analysis of the learned transformation's stability across seeds.
Minor issues. All minor issues and advice on presentation raised by reviewers will be addressed in the revised version.
We once again thank the Area Chair and all reviewers for their time and effort in helping us improve our paper.