← All papers
First page of The Reliability Function of Error-Correcting Output Codes with Noisy Binary Classifiers

The Reliability Function of Error-Correcting Output Codes with Noisy Binary Classifiers

Gendo Kumoi, Hideki Yagi, Manabu Kobayashi, Shigeichi Hirasawa

cs.IT Nov 24, 2026 · v1 cs.LG
All lemmas, propositions and theorems on ECOC excess-error bounds and the reliability function are machine-checked in Lean 4 with Mathlib, provided as ancillary files.
Error-correcting output coding (ECOC) builds a multi-class classifier from binary classifiers. We study the excess error rate of ECOC over the Bayes (MAP) classifier when each binary classifier outputs a posterior estimate whose log-odds is corrupted by Gaussian noise. Recasting decoding as a test over a Gaussian channel, we derive an upper bound from the union and Chernoff bounds and a lower bound from the nearest competing category and the Mills ratio. The bounds show that a large Hamming distance is both necessary and sufficient for reducing the excess error rate. The excess error rate stays bounded away from zero, by a constant that depends on the two largest posteriors and the noise level but not on the number of categories $M$, whenever the distance between the code words of the two most probable categories is bounded; for equidistant codes this distance is $d_{\min}$. Conversely, it is at most $M-1$ times a factor that is exponentially small in the minimum distance $d_{\min}$, and it vanishes whenever $κ\,d_{\min}-\ln(M-1)\to\infty$ for an explicit $κ$ (for general codes, under a posterior condition). For $n$-vs-rest codes with $n\geq2$, the upper and lower exponents coincide asymptotically, which determines the reliability function of ECOC in closed form. The results extend to correlated Gaussian noise with the Hamming distance replaced by an effective distance; when noise is shared at the level of categories, the effective distance stays bounded and the excess error rate does not vanish for any code. All theorems are machine-checked in Lean 4. In a semi-synthetic setting, the measured decay agrees with the predicted exponent. On ResNet-50 features of CIFAR-10/100 and ImageNet-1k, the excess error over a log-likelihood decoding reference decreases with $d_{\min}$ and, for larger $M$, levels off at a moderate distance, while codes with $d_{\min}=1$ degrade as $M$ grows.

Error-correcting output coding (ECOC) builds a multi-class classifier from binary classifiers. It is unclear how the Hamming distance of the code governs the excess error rate over the Bayes classifier when the binary classifiers' log-odds outputs are corrupted by Gaussian noise.

ECOC decoding is recast as an M-ary hypothesis test over a Gaussian channel. An upper bound is derived from the union and Chernoff bounds, and a lower bound from the nearest competing category and the Mills ratio. For n-vs-rest codes, the asymptotics of the two exponents are compared, and the analysis is extended to correlated noise via an effective distance. All theorems of Sections 2–8 are formalized in Lean 4 with Mathlib.

A large Hamming distance is both necessary and sufficient for driving the excess error rate to zero. For n-vs-rest codes with n≥2, the upper and lower exponents coincide, which gives the reliability function in closed form. When noise is shared at the category level, the excess error does not vanish for any code. Experiments on ResNet-50 features of CIFAR-10/100 and ImageNet-1k agree with the predictions; these experiments are not part of the formalization.