$f$-Divergence Based Classification: Beyond the Use of Cross-Entropy

Nicola Novello,Andrea M. Tonello
2024-05-16
Abstract:In deep learning, classification tasks are formalized as optimization problems often solved via the minimization of the cross-entropy. However, recent advancements in the design of objective functions allow the usage of the $f$-divergence to generalize the formulation of the optimization problem for classification. We adopt a Bayesian perspective and formulate the classification task as a maximum a posteriori probability problem. We propose a class of objective functions based on the variational representation of the $f$-divergence. Furthermore, driven by the challenge of improving the state-of-the-art approach, we propose a bottom-up method that leads us to the formulation of an objective function corresponding to a novel $f$-divergence referred to as shifted log (SL). We theoretically analyze the objective functions proposed and numerically test them in three application scenarios: toy examples, image datasets, and signal detection/decoding problems. The analyzed scenarios demonstrate the effectiveness of the proposed approach and that the SL divergence achieves the highest classification accuracy in almost all the considered cases.
Machine Learning,Signal Processing
What problem does this paper attempt to address?
This paper explores the optimization problem of classification tasks in deep learning. Usually, these tasks are solved by minimizing cross entropy. However, recent research has proposed a method to generalize the optimization formula for classification problems using f-divergence. The paper approaches the classification task from a Bayesian perspective, formulates it as a maximum a posteriori probability problem, and proposes a class of objective functions based on f-divergence variational representations. The authors also propose a bottom-up approach and introduce a new f-divergence called "shifted log" (SL). Theoretical analysis and numerical experiments show that SL divergence achieves the highest classification accuracy in most cases. The main contributions of the paper include: 1. Designing a class of posterior probability estimators using f-divergence variational representations. 2. Proposing a bottom-up approach to construct the objective function, corresponding to a new f-divergence SL. 3. Theoretical analysis of SL divergence and comparison with other f-divergences in the literature, demonstrating that SL performs best in various scenarios. 4. Designing two specific neural network architectures for training the proposed classification task objective functions. In the paper, the authors point out that the traditional cross entropy loss function is not always the optimal choice for classification problems. Instead, they solve the classification problem by maximizing the objective function based on f-divergence, which only requires one training optimization process instead of double optimization. Furthermore, they propose a new objective function SL, which demonstrates higher classification accuracy in multiple experiments.