A Minimax Optimal Leave One Out Bound for Bounded Losses

Peigan Gao, Jian QianarXiv 2026

TL;DR

Imagine $M$ experts predicting outcomes for $n$ scenarios, and your job is to guess a hidden outcome using the other $n-1$ answers—but you are strictly forced to pick one of the experts' exact guesses rather than blending them together. This paper finds the exact mathematical speed limit for how close a deterministic rule can get to the single best expert's performance, even for messy, nonconvex loss functions. Along the way, it connects machine learning prediction to a famous geometric vector-balancing puzzle—and includes a surprising footnote: the original proof was discovered by AI models.

What Problem Does This Paper Address?

In transductive leave-one-out (LOO) prediction, we have $n$ fixed inputs and $M$ "experts" (models or predictors) giving real-valued predictions for each. We hide one true label at a time, show the learner the remaining $n-1$ labels, and ask it to predict the missing one. The goal is to minimize excess loss: the gap between the learner's average LOO loss across all $n$ hold-outs and the average loss of the single best expert chosen in hindsight.

When losses are nicely behaved (like squared error) and you are allowed to average expert predictions together, exponential weighting works wonders. For instance, if two experts predict $0$ and $1$, you can hedge your bets by predicting $0.5$.

What if hedging isn't allowed? A proper rule must commit to one of the actual values offered by the experts at that input ($0$ or $1$, never $0.5$). Furthermore, what if the loss function isn't convex—say, absolute error or capped loss—where averaging breaks down anyway? Prior deterministic bounds for real-valued predictions either required strong convexity or multiplied the best expert's error by a constant factor (like $8\times$), leaving a permanent performance gap even with infinite data. The authors ask: can a deterministic, proper rule match the best expert's loss (with a leading coefficient of $1$) across any bounded, symmetric, nondecreasing loss?

Methods

The authors construct a single deterministic algorithm that adapts to how well the best expert performs, without knowing that performance in advance.

  • Standard foundation: They run sequential exponential weights (Hedge) across the data coordinates, paired with a doubling trick that restarts and quadruples a loss threshold $R$ whenever the best expert's cumulative error grows too large. This yields a good probabilistic mixture of experts.
  • What's new (Derandomization): Because a proper deterministic rule cannot flip coins or average predictions, the authors must convert those continuous expert probabilities into crisp, single-expert choices coordinated across all $n$ held-out slots. They split this into two regimes based on the loss threshold $R$:
  • Small loss scales ($R < M^8$): They discretize the prediction space and coordinate choices across the $n$ coordinates using modular arithmetic—specifically, tracking cumulative losses over cyclic shifts of label ranks modulo $4M^9$, falling back to a weighted median on rare wrap-around edge cases.
  • Large loss scales ($R \ge M^8$): They quantize the continuous losses into finite alphabets and frame the problem as a giant matrix of possible hold-out worlds. To turn expert probabilities into discrete choices without blowing up the error in any world, they introduce support-preserving grouped rounding, powered by the recent resolution of the Komlós conjecture (a deep theorem in discrepancy theory showing that unit vectors can be assigned $\pm 1$ signs so their sum stays bounded by $36$ in every coordinate).

Datasets

Not discussed in the paper. (This is a purely theoretical work proving worst-case mathematical guarantees over all possible data sequences in $[0,1]^n$.)

Key Insights and Ideas

  • Discrepancy theory rescues determinism: In sequential learning, random sampling easily realizes the expected loss of exponential weights. Doing this deterministically in a leave-one-out setting requires making $n$ separate decisions (each blind to one label) that somehow don't conspire to fail simultaneously. Using Komlós vector-balancing to round probabilities while preserving $\ell_\infty$ bounds across all possible data realizations is a remarkable bridge between combinatorics and statistical learning.
  • No convexity required: The loss function $\ell_\psi(a,y) = \psi(|a-y|)$ only needs to be bounded by $B$, continuous, nondecreasing, and zero at zero. This effortlessly covers $L_1$ loss, squared loss, and nonconvex losses like capped absolute error $\min\{|a-y|, \tau\}$.
  • One rule to rule all budgets: Even if the learner isn't told $r$ (the upper bound on the best expert's loss), a single deterministic rule automatically adapts—shrinking its excess error to $O(\frac{B\log M}{n})$ when a perfect expert exists ($r=0$), and smoothly transitioning to a square-root rate when all experts make mistakes.
  • A milestone in the acknowledgments: In their AI disclosure, the authors note that the original proof of the main upper bound (Theorem 2.2) was discovered by "GPT-6-Astra, GPT-6.2-Sol, and GPT-6.2-Astra," after which the human authors checked, simplified, and extended the arguments.

Key Results

  • Universal Upper Bound: For any trace of $M$ experts on $n$ points and any admissible loss bounded by $B$, there exists a deterministic proper LOO rule $A$ such that for every labeled sample $S$: $$\widehat{L}^{\mathrm{LOO}}_{S,\psi}(A) - \widehat{L}^*_{S,\psi} \le 2^{15} \left( \sqrt{\frac{B \widehat{L}^*_{S,\psi} \log M}{n}} + \frac{B \log M}{n} \right)$$ where $\widehat{L}^*_{S,\psi}$ is the best expert's average loss. Notice the leading coefficient on $\widehat{L}^*_{S,\psi}$ is $1$!

  • Minimax Optimality: Over samples where $\widehat{L}^*_{S,\psi} \le r$, this excess loss rate—capped trivially at $B$—is minimax optimal up to universal constants. Using Rademacher random signs over blocks of inputs, the authors prove a matching lower bound with constant $\frac{1}{8\sqrt{6}}$ that holds even if a proper learner is allowed to use randomness and knows $r$ in advance.

Limitations and Future Work

  • Astronomical constants: While optimal in $n, M, B,$ and $r$, the upper bound carries a prefactor of $2^{15}$ ($32,768$). In Conjecture 1, the authors ask whether the constant in front of the dominant $\sqrt{\frac{B \widehat{L}^*_{S,\psi} \log M}{n}}$ term can be brought all the way down to $1$.
  • Infinite expert classes: The current bound depends on $\log M$, requiring a finite pool of experts. In Conjecture 2, the authors propose replacing $\log M$ with the pseudo-dimension $d$ (a real-valued cousin of VC dimension), which would extend these optimal deterministic LOO guarantees to infinite function classes.

Summary updated

BibTeX
@misc{gao2026minimax,
  author = {Peigan Gao and Jian Qian},
  title = {{A Minimax Optimal Leave One Out Bound for Bounded Losses}},
  year = {2026},
  eprint = {2611.31972},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31972},
}
Figure