TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Rethinking Softmax with Cross-Entropy: Neural Network Clas...

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

Zhenyue Qin, Dongwoo Kim, Tom Gedeon

2019-11-25Image ClassificationWeakly-Supervised Object LocalizationGeneral ClassificationClassificationFine-Grained Image Classification
PaperPDFCode(official)

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. 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.

Results

TaskDatasetMetricValueModel
Object Localization CUB-200-2011Top-1 Error Rate54.17InfoCAM
Object Localization CUB-200-2011Top-1 Localization Accuracy55.83InfoCAM
Object LocalizationTiny ImageNetTop-1 Localization Accuracy43.34InfoCAM
Image ClassificationImbalanced CUB-200-2011Accuracy89.73PC-Softmax
Image ClassificationImbalanced CUB-200-2011Average Per-Class Accuracy87.69PC-Softmax
Image ClassificationImbalanced CUB-200-2011Accuracy89.73PC-Softmax
Image ClassificationImbalanced CUB-200-2011Average Per-Class Accuracy87.69PC-Softmax
Fine-Grained Image ClassificationImbalanced CUB-200-2011Accuracy89.73PC-Softmax
Fine-Grained Image ClassificationImbalanced CUB-200-2011Average Per-Class Accuracy87.69PC-Softmax

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Efficient Calisthenics Skills Classification through Foreground Instance Selection and Depth Estimation2025-07-16Safeguarding Federated Learning-based Road Condition Classification2025-07-16Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15