Rethinking Softmax with Cross-Entropy: Neural Network Classifier as Mutual Information Estimator

Zhenyue Qin, Dongwoo Kim, Tom Gedeon
11/25/2019
cs.LGcs.CVstat.ML

Official code: kfzyqin/Research-Softmax-with-Mutual-Information (101 stars, Python, CC-BY-4.0, last commit 2020-03-09).

Abstract

Mutual information is widely applied to learn latent representations of observations, whilst its implication in classification neural networks remain to be better explained. We show that optimising the parameters of classification neural networks with softmax cross-entropy is equivalent to maximising the mutual information between inputs and labels under the balanced data assumption.

Show full abstract

Through experiments on synthetic and real datasets, we show that softmax cross-entropy can estimate mutual information approximately. When applied to image classification, this relation helps approximate the point-wise mutual information between an input image and a label without modifying the network structure. To this end, we propose infoCAM, informative class activation map, which highlights regions of the input image that are the most relevant to a given label based on differences in information. The activation map helps localise the target object in an input image. Through experiments on the semi-supervised object localisation task with two real-world datasets, we evaluate the effectiveness of our information-theoretic approach.

View on arXivView PDF

Code Implementations(1)

CC-BY-4.0

Full implementation of the paper "Rethinking Softmax with Cross-Entropy: Neural Network Classifier as Mutual Information Estimator".

10110Python, Jupyter NotebookNov 19, 20196 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{qin2019rethinking,
  title  = {Rethinking Softmax with Cross-Entropy: Neural Network Classifier as Mutual Information Estimator},
  author = {Zhenyue Qin and Dongwoo Kim and Tom Gedeon},
  year   = {2019},
  eprint = {1911.10688},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.10688}
}

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/1911.10688.svg)](https://codeofpaper.com/paper/1911.10688)

Discussion