Beyond One-Hot Labels: Semantic Mixing for Model Calibration
ELVIA analysis
Independent review pending
Three Major findings concern the identification of ground-truth posteriors, the strict CE-bias proposition, and test-set independence in the released CIFAR evaluation path. Two Minor findings concern loss normalization and metric implementation. Finite counterexamples, exact arithmetic, and static control-flow arguments establish the stated scopes without executing author code. The L2 two-point balance result survives independent verification. Historical table corruption, a reversal of the reported empirical advantages, and failure of semantic augmentation in general are not established.
Problem 1. posterior identification does not follow from the reannotation argument
MajorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
posterior identification does not follow from the reannotation argument.
Two separate counterexamples. First assumes only the classification-optimal encoder premise, with actual Eq7 prototype sums and equal class counts/norms. Second grants Eq7 as the true posterior, uses unequal prototype norms and a nonzero residual orthogonal to both prototypes; it does not satisfy an added equal-norm restriction.
Proof
Claim and dependency. The abstract, Sections 3.2–3.3, pp. 3–5, and the conclusion describe soft annotations as ground-truth uncertainty or accurate class posteriors. Section 3.3 introduces a classification-optimal encoder asserts Eq. (7), and then removes prototype norm/distance terms to obtain the allegedly bias-free Eq. (11). This is a core justification for the proposed reannotation, not merely an ancillary motivation.
First implication: classification optimality does not identify Eq. (7). Consider a finite population of equally weighted observations with ten observations at each of Their class-1 counts are and class-0 counts are The true posteriors are therefore The prototype sums specified in Eq. (7) are and Class counts and prototype norms are equal. The prototype classifier predicts class precisely when attaining Bayes-optimal classification accuracy. Yet Eq. (7) prescribes No single gives both and Matching the former forces odds at hence odds and probability at rather than The discrepancy is Dividing both prototypes by their equal class counts changes the scale but not this impossibility. Thus the example satisfies the stated classification-optimality premise and even equal prototype norms; it refutes the claimed implication to calibrated probabilities.
Second implication: removing norm terms can change a correct posterior. For a separate test, grant the stronger premise that Eq. (7) already equals the true posterior. Use finite distinct prototypes and a nonzero residual The residual is orthogonal to both prototypes, so it meets the orthogonality requirement in Eq. (8). Equations (7) and (10) give At the correct probability is while Eq. (11) gives for every At and the two values are and More generally, every reverses the preferred class for any positive The failure therefore extends beyond an isolated midpoint.
Under the mean-prototype convention used in the source, a probabilistic realization is available: take class-conditional Gaussians with these means and common identity covariance, and prior odds Bayes’ log odds are because the prior log odds cancel half the norm difference. Equation (7) is then an exact posterior, while the norm-removal rule changes it.
Alternative readings and boundary of the objection. Appendix A.1 explicitly postulates Eq. (15), equivalent to Eq. (7). If this is intended as an additional probability-calibration assumption, the first counterexample does not refute that assumption-conditioned identity; it shows why classification optimality alone cannot justify it. Similarly, equal prototype norms plus a common squared inter-prototype distance with make Eq. (11) agree with Eq. (10). The second example does not satisfy equal norms and is not presented as a counterexample under that extra restriction. It tests the advertised removal of unequal-norm effects in the general setting that motivates the method.
The norm-invariant rule may be a useful heuristic for imperfect CLIP features. Reported downstream gains do not establish that its labels equal true conditional probabilities, and the counterexamples do not disprove those gains. The precise correction is to state the extra assumptions or describe the labels as model-derived targets, retaining the norm/scale terms when the assumed posterior model is used. Independent probability validation is needed for the stronger ground-truth claim. This limits a central theoretical/evidentiary justification while leaving practical augmentation benefits open.
Possible revision
State and justify stronger assumptions or identify labels as model-derived targets; retain norm/scale terms if using the assumed posterior model. Independent probability validation is needed for ground-truth claims.
Problem 2. The CE-bias proposition fails at an allowed constraint value
MajorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
the CE-bias proposition fails at an allowed constraint value.
allowed by and || simplex-constrained CE minimization.
Proof
Claim, assumptions, and location. Proposition 3.2, p. 5, asserts for every under Definition 3.1’s and It supplies the claimed sharp-label preference in the core CE-versus-L2 comparison. Use and These meet and
Exact calculation. Feasibility forces The objective is whose unique minimum is Both squared errors equal so contradicting strict negativity. This is the exactly indistinguishable case that the proximity model explicitly allows.
Proof diagnosis and checked repair. Lemma A.1, p. 17, makes a strict-negative conclusion from a factor proportional to while allowing With and the correctly expanded expression is It vanishes at zero and is negative for The last line of Eq. (43), p. 16, also prints two denominators with instead of Eq. (44) uses the correct For the actual in Eq. (39) equals while the printed last line of Eq. (43) equals Both defects were checked against the rendered original.
Counterevidence, impact, and correction scope. Restricting the strict-negative branch to and including equality at repairs this boundary claim. Positive- checks support the intended sharper-label tendency, and Proposition 3.4 remains valid as shown below. The finding does not establish that CE is balanced for every that L2 lacks practical advantages, or that the ablation scores are wrong. Its Major severity concerns the demonstrated invalid derivation and false statement in the central loss-selection argument; the local nature of the correction does not remove that dependency.
Possible revision
Strict-negative branch requires0<<||q1-q2|| include equality at and inactive constraint. Correct Eq43 denominators; intended positive-epsilon sign calculation verified.
Problem 3. the released test path includes the training pool
MajorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
the released test path includes the training pool.
Unchanged readable folder with unique contiguous image identities, valid_size= supplied same data.data_root for train/validation and test, required dependencies/data present, no unrecorded test-path override. Ten-class configuration supplies a valid conditional route; no completed unmodified100-class run inferred.
Proof
Claim and exact path. Appendix B.2, p. 20, describes separate CIFAR training/validation/test data. In both released `configs/data/cifar10.yaml` and `configs/data/cifar100.yaml`, training/validation and test loaders receive the same `data.data_root`. In `calibrate/data/cifar100.py`, lines – the former partitions indices from that directory; lines – construct the test dataset from the whole same directory without a held-out sampler. The trainer’s `test()` uses this configured loader.
Decisive set argument. Assume an unchanged readable directory with unique contiguous image IDs and the supplied `valid_size=0.1`, with no unrecorded test-path override. Let its image identities be the training sampler pool validation pool and test pool Then For images this is a -image training pool, -image validation pool, and -image test pool. Thus of test identities belong to the training pool and all validation identities are reused in testing. Shuffling changes membership selection but not these inclusions. Dropping a partial training batch does not make the resulting test set independent; different input normalizations do not create new image identities.
Alternatives and bounded impact. This is a static result about the released path, not proof that the proceedings tables used overlapping data. A historical override of the test directory could avoid it. CIFAR-100 additionally encounters a hardcoded ten-class target size, so no completed CIFAR-100 execution is inferred; the same overlap argument applies to the supplied ten-class configuration when its prerequisites are supplied. No author training was run.
Core dependency and correction. Independent test evaluation is essential to the central accuracy/calibration comparison. Following the displayed path does not measure that quantity, giving a Major validity defect in the released evaluation route. A separate test directory or immutable disjoint identity lists, with verified intersections, repairs the route. Historical split IDs and configurations are required to determine whether any published table needs recomputation; no score decrease is asserted without them.
Possible revision
Separate test directory or immutable disjoint identity lists with intersection verification. Historical configurations and split IDs determine whether tables require recomputation.
Problem 4. The combined loss has an unspecified relative normalization
MinorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
the combined loss has an unspecified relative normalization.
Literal paper class-mean L2 and summed CE/L2 convention, compared with source mean CE plus augmentation-mean class-sum squares. Alternative expectations/explicit coefficients considered.
Proof
Location and calculation. Equation (13), p. 5, defines and Eq. (14) sums CE and this loss. Released `calibrate/losses/csm.py`, lines – and – instead averages the sum of squared class errors over augmented examples and adds mean CE. For originals and augmentations, the code uses Relative to a literal minibatch-sum version of Eq. (14), the L2-to-CE coefficient differs by not a common multiplicative scale. The supplied loader returns one endpoint plus one interior augmentation, so factors and arise for and respectively. The latter is an algebraic comparison, not a claim that the unmodified 100-class path runs.
Why the distinction can matter. For one hard label of class and two identical soft labels suppose all share With the literal paper objective is minimized at on the closed simplex. The source objective is minimized at These are probability-space calculations, not trained-network measurements.
Alternative interpretation and scope. An intended expectation/mean convention or an explicit loss weight could reconcile the implementation, but the exact coefficient must be stated. For a literal full-dataset sum with originals and augmentations, the analogous relative factor is The standalone two-point L2 balance theorem is invariant under positive scaling and is not refuted. This is a local specification/reproducibility discrepancy; its effect on historical comparisons is unresolved. Correct the objective’s reductions and coefficient, and record the actual training weight.
Possible revision
Specify exact reductions and loss coefficient used. Full-dataset literal-sum analogous factorKN/A.
Problem 5. metric formulas and adaptive-bin coverage need correction
MinorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
metric formulas and adaptive-bin coverage need correction.
Raw bin counts in Eq2; supplied quantile boundary and lower<c<=upper predicates; fixed-boundary correction bound separate from rebinning methods.
Proof
Locations. Section 3.1, p. 3, Eq. (2), Appendix B.3, pp. 20–21, and `calibrate/evaluation/metrics.py` do not fully agree.
ECE normalization and counterevidence. Eq. (2) weights raw bin counts by where is the number of bins, instead of Thirty wrong predictions of confidence with bins, give under that formula and under normalized ECE. Appendix Eq. (65) and the source ECE implementation use the correct sample normalization. Thus this printed definition error does not establish that the ECE tables were computed incorrectly.
Adaptive-bin omission. The source’s `AdaptiveECELoss`, lines – starts its quantile boundaries at the minimum confidence but tests for every bin. Every minimum-confidence observation is excluded. With thirty identical confidences and all predictions wrong, every boundary is all bin predicates are false, and the implemented accumulation is zero. Correct bin coverage gives a discrepancy of This conclusion follows from the predicates without calling the author function.
If the omitted minimum group has size correcting only that omission with fixed boundaries changes the metric by at most With a unique minimum among cases, the bound is percentage points; with ties the effect can be larger. This is not a bound on arbitrary alternative rebinning methods. Raw logits are needed to quantify the actual table impact.
OE/UE convention and repair. The source also multiplies each OE/UE contribution by bin confidence, unlike Eqs. (66)–(67). A bin with confidence and accuracy contributes under the source convention and under Eq. (66). Either convention can be named, but they are distinct metrics. Specify the definitions consistently and assign every sample exactly once, including tied minima. These local discrepancies do not by themselves demonstrate a changed historical method ranking.
Possible revision
Use sample normalization, assign each sample exactly once including tied minima, and state OE/UE convention. Correcting only omitted minimum group with fixed boundaries changes result by at most m_min/N.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
We provide some theoretical analysis of the potential bias induced by popular loss functions used in the calibration field during the training of soft-labeled data.
Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 4
Actual review scope
The recorded inspection concerns these source locations: Abstract; Sections3.2-3.3 pp. 3-5, Eq7->Eq10->Eq11; AppendixA.1 Eq15; conclusion; Definition3.1 Eq12 and Proposition3.2 p. 5; AppendixA.4 pp. 16-17, Eq39/43/44 and LemmaA.1; AppendixB.2 p. 20; configs/data/cifar10.yaml and cifar100.yaml; calibrate/data/cifar100.py lines187-198,268-277; configured trainer.test route; Eq13-14 p. 5; calibrate/losses/csm.py lines18-19,35-44; supplied augmentation loader; Eq2 p. 3; AppendixB.3 Eq65-67 pp. 20-21; calibrate/evaluation/metrics.py, AdaptiveECELoss lines216-237.