Skip to main content
QUICK REVIEW

[Paper Review] $f$-Divergence Based Classification: Beyond the Use of Cross-Entropy

Nicola Novello, Andrea M. Tonello|arXiv (Cornell University)|Jan 2, 2024
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper proposes a novel f-divergence-based classification framework that generalizes cross-entropy by leveraging the variational representation of f-divergences to derive posterior probability estimators. It introduces a new divergence, the shifted log (SL) divergence, which achieves state-of-the-art accuracy across multiple classification tasks, including image recognition and signal decoding, outperforming both cross-entropy and established f-divergences in all tested scenarios.

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.

Motivation & Objective

  • To generalize deep learning classification beyond cross-entropy by formulating the problem via f-divergence minimization.
  • To develop a Bayesian MAP-based framework for posterior probability estimation in classification tasks.
  • To design a single-stage, maximization-based training procedure that avoids the double optimization required by prior f-divergence methods.
  • To propose a new f-divergence, the shifted log (SL) divergence, through a bottom-up method grounded in convergence analysis.
  • To evaluate the proposed estimators across diverse scenarios, including image datasets, signal detection, and continuous posterior estimation.

Proposed method

  • Formulates classification as a maximum a posteriori (MAP) problem using a Bayesian perspective.
  • Derives a class of posterior probability estimators via the variational representation of known f-divergences (e.g., KL, Pearson, Hellinger).
  • Proposes a bottom-up method to derive a new f-divergence by enforcing the convergence of the discriminator network.
  • Introduces the shifted log (SL) divergence as a novel f-divergence, with its corresponding objective function and posterior estimator.
  • Employs a single-stage maximization training procedure using a discriminator network to estimate the posterior density ratio.
  • Designs two dedicated neural network architectures—one for discrete classification and another for continuous posterior estimation.

Experimental results

Research questions

  • RQ1Can f-divergence-based objective functions improve classification beyond cross-entropy in deep learning?
  • RQ2How does the convergence behavior of the discriminator network inform the design of new f-divergences?
  • RQ3Does a new f-divergence, derived from a bottom-up approach, yield superior classification performance?
  • RQ4How do the proposed estimators perform in comparison to cross-entropy and existing f-divergences across diverse data types?
  • RQ5Can the proposed method achieve high accuracy in both discrete and continuous posterior estimation tasks?

Key findings

  • The proposed shifted log (SL) divergence achieves the highest classification accuracy in all tested scenarios, including image datasets, signal detection, and toy examples.
  • The SL-based estimator outperforms both the cross-entropy baseline and other established f-divergences such as KL and Pearson chi-squared in terms of error rate and convergence stability.
  • In nonlinear signal detection, the SL-based estimator achieves bit error rates close to the optimal MAP Genie estimator, significantly outperforming the max-likelihood baseline.
  • For continuous posterior estimation, the SL-based estimator closely matches the true posterior density in both Gaussian and exponential models, with superior accuracy over KL-based estimation.
  • The single-stage maximization training procedure enables stable and effective learning without requiring adversarial or min-max optimization.
  • The proposed method generalizes to continuous probability density estimation, with a dedicated neural network architecture achieving accurate posterior density approximation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.