arXiv:2610.05679cs.LGOct 2026

Manuscript Offprint

arXiv:2610.05679

Sharp Integrality Gaps in Calibration Distance

Zinan Wang, Xinhao Yang

Abstract

We study the offline gap between deterministic calibration distance CC and its fractional relaxation LL for binary unit-weight sequences under total absolute-change cost. We sharpen the offline comparison C≤L+O(T)C \leq L + O(\sqrt{T}) (Qiao and Zheng, 2024, Theorem 2) to the sharp worst-case order Θ(T1/3)\Theta(T^{1/3}). If ΔT\Delta_T is the supremum of C−LC - L over length-TT inputs, then

T1/31000≤ΔT≤41T1/3(T≥216).\frac{T^{1/3}}{1000} \le \Delta_{T} \le 41T^{1/3}\qquad(T \ge 216).

The upper bound holds for every input, while each T≥216T \ge 216 has a rational lower-bound input. For every input with mm distinct forecasts, C≤L+mC \le L + m, and the unrestricted-sample worst-case sparse order is Θ(m)\Theta(m). For rational forecasts and accuracy, with binary-encoded multiplicities of separately assignable unit identities, a grid-free polynomial-bit-time procedure returns B≤L≤UB \le L \le U, U−B<ηU - B < \eta, and an exactly calibrated compact repair of cost at most U+m≤L+m+ηU + m \le L + m + \eta.

Keywords: calibration, calibration distance, lower calibration distance, integrality gap, fractional transport

1 Introduction

How much can fractional splitting underestimate the cost of repairing calibration? We study an offline repair problem for a fixed sequence of binary outcomes and forecasts in [0,1][0,1], with one indivisible unit identity per observation and total absolute-change cost. A deterministic repair assigns each identity to one destination; a fractional repair may split its mass. Every destination must predict its positive-label frequency. Write C=CalDist(x,p)C = \text{CalDist}(x,p) and L=LowerCalDist(x,p)L = \text{LowerCalDist}(x,p) for the two minimum costs, and let ΔT=sup⁡x,p(C−L)\Delta_T = \sup_{x,p}(C - L) over inputs of length TT. For a cap mm, let ΔT,m≤\Delta_{T,m}^{\leq} denote the same supremum restricted to ∣{pt:t∈[T]}∣≤m|\{p_t : t \in [T]\}| \leq m. The forecasts and outcomes are fixed before repair, so this is distinct from online forecasting.

Qiao and Zheng (2024, Theorem 2) established C≤L+O(T)C \leq L + O(\sqrt{T}) in this same sum-cost model. For mm distinct original forecasts, they also proved C≤O(1)L+O(m)C \leq O(1)L + O(m); Appendix A.4 gives the explicit bound 20L+8m+1320L + 8m + 13. Section 4 asks whether the square-root additive gap is tight and whether the sparse multiplicative factor can be removed. We answer both at the level of worst-case order.

Our results are as follows. For every integer T≥1T \ge 1, every binary unit-weight input satisfies C−L≤41T1/3C - L \le 41T^{1/3}, whereas for each integer T≥216T \ge 216 a rational input satisfies C−L≥T1/3/1000C - L \ge T^{1/3}/1000. Hence

T1/31000≤ΔT≤41T1/3(T≥216),\frac{T^{1/3}}{1000} \le \Delta_{T} \le 41T^{1/3}\qquad(T \ge 216),

so the offline worst-case order is Θ(T1/3)\Theta(T^{1/3}), sharpening the established O(T)O(\sqrt{T}) comparison. The lower bound is existential at each length, not a claim about every input.

The upper proof uses an adaptive rational grid qi=ai/biq_i = a_i / b_i with mesh at most H−2H^{-2} and ∑i1/bi≤5H\sum_i 1 / b_i \leq 5H; mean-preserving quantization, denominator-sized packet rounding, and exact restoration of the positive label count give C−L≤T/H2+20HC - L \leq T / H^2 + 20H. Taking H≍T1/3H \asymp T^{1/3} yields the upper order. The lower construction uses separated rational centers and the integer denominator of every calibrated group mean; its certificate covers groups that mix centers and remains valid after padding to each requested length.

For every input with mm distinct original forecasts, C≤L+mC \leq L + m. Pairing opposite-label source types, cost-nonincreasing compression, and marginal-preserving row rounding leave at most 2m2m modes and give the coefficient-one bound. A separate geometric-multiplicity construction proves G(m)=Θ(m)G(m) = \Theta(m), where GG is the supremum over inputs with at most mm original forecasts and unrestricted TT. These are not a sharp joint formula for fixed (T,m)(T, m). We prove the fixed-pair envelope r/500≤ΔT,m≤≤min⁡{m,41T1/3}r/500 \leq \Delta_{T,m}^{\leq} \leq \min\{m, 41T^{1/3}\} when r=min⁡{⌊T1/3⌋,⌊m−1⌋}≥6r = \min\{\lfloor T^{1/3} \rfloor, \lfloor \sqrt{m-1} \rfloor\} \geq 6. We also prove the all-input upper bound ΔT,m≤≤36m(1+ln⁡T)\Delta_{T,m}^{\leq} \leq 36\sqrt{m}(1 + \ln T), which rules out a uniform linear-in-min{m,T1/3}\{m, T^{1/3}\} lower law. The exact joint order remains open.

Theorem 11 gives, for rational forecasts, rational η>0\eta > 0, and binary-encoded multiplicities of separately assignable unit identities, a deterministic rational bit-model procedure with B≤L≤UB \leq L \leq U, U−B<ηU - B < \eta, and an exactly calibrated compact repair with at most 2m modes and cost at most U+m≤L+m+ηU + m \leq L + m + \eta. Its running time and output encoding size are polynomial in the binary input and accuracy lengths; expansion can still require Ω(T)\Omega(T) records. “Grid-free” means that no target-forecast grid is prescribed in advance.