Universal Training of Neural Networks to Achieve Bayes Optimal Classification Accuracy
Mohammadreza Tavasoli Naeini, Ali Bereyhi, Morteza Noshad, Ben Liang, Alfred O. Hero
TL;DR
The paper tackles the problem of approaching Bayes-optimal classification by deriving a universal, sample-based upper bound on the Bayes error via \\emph{f}-divergence and hinge-loss connections. This bound is reinterpreted as a trainable loss, the Bayes Optimal Learning Threshold (BOLT), which, when minimized, guarantees \\varepsilon_{bys} \\le \\min_{\\theta} \\mathcal{L}_{\\theta}. Empirical results on MNIST, Fashion-MNIST, CIFAR-10, and IMDb show that BOLT can match or surpass cross-entropy, particularly on harder datasets like CIFAR-10, indicating improved generalization. The work provides a principled objective to align training with Bayes accuracy and suggests potential extensions beyond traditional classification tasks.
Abstract
This work invokes the notion of $f$-divergence to introduce a novel upper bound on the Bayes error rate of a general classification task. We show that the proposed bound can be computed by sampling from the output of a parameterized model. Using this practical interpretation, we introduce the Bayes optimal learning threshold (BOLT) loss whose minimization enforces a classification model to achieve the Bayes error rate. We validate the proposed loss for image and text classification tasks, considering MNIST, Fashion-MNIST, CIFAR-10, and IMDb datasets. Numerical experiments demonstrate that models trained with BOLT achieve performance on par with or exceeding that of cross-entropy, particularly on challenging datasets. This highlights the potential of BOLT in improving generalization.
