Uses and Abuses of the Cross-Entropy Loss: Case Studies in Modern Deep Learning

Elliott Gordon-Rodriguez, Gabriel Loaiza-Ganem, Geoff Pleiss, John P. Cunningham
11/10/2020
78 citations
stat.MLcs.LG

Official code: cunningham-lab/cb_and_cc (37 stars, Jupyter Notebook, last commit 2022-11-28).

Abstract

Modern deep learning is primarily an experimental science, in which empirical advances occasionally come at the expense of probabilistic rigor. Here we focus on one such example; namely the use of the categorical cross-entropy loss to model data that is not strictly categorical, but rather takes values on the simplex.

Show full abstract

This practice is standard in neural network architectures with label smoothing and actor-mimic reinforcement learning, amongst others. Drawing on the recently discovered continuous-categorical distribution, we propose probabilistically-inspired alternatives to these models, providing an approach that is more principled and theoretically appealing. Through careful experimentation, including an ablation study, we identify the potential for outperformance in these models, thereby highlighting the importance of a proper probabilistic treatment, as well as illustrating some of the failure modes thereof.

View on arXivView PDF

Code Implementations(1)

376Jupyter Notebook, PythonDec 16, 20194 years ago

Similar Papers

Cite this paper

@article{gordonrodriguez2020uses,
  title  = {Uses and Abuses of the Cross-Entropy Loss: Case Studies in Modern Deep Learning},
  author = {Elliott Gordon-Rodriguez and Gabriel Loaiza-Ganem and Geoff Pleiss and John P. Cunningham},
  year   = {2020},
  eprint = {2011.05231},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.05231}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.05231.svg)](https://codeofpaper.com/paper/2011.05231)

Discussion