Critic Loss for Image Classification
Brendan Hogan Rappazzo, Aaron Ferber, Carla Gomes
TL;DR
CrtCl proposes a learned loss for image classification by framing training as a generator-critic game between a classifier $G_{ heta}$ and a correctness critic $C_{\,\phi}$. The critic estimates the probability that the classifier's prediction is correct, enabling a Wasserstein-distance-based loss $\mathcal{L}_{cc}$ that is backpropagated to the critic while the standard cross-entropy guides the classifier, allowing learning from both labeled and unlabeled data. The framework supports semi-supervised learning and active learning by applying the critic to unlabeled samples and by selecting informative labeled examples, respectively. Across SVHN, CIFAR10, and CIFAR100, CrtCl achieves higher generalization and better calibration (lower ECE) than strong baselines, particularly in low-label regimes, with consistent improvements and a transparent computational trade-off.
Abstract
Modern neural network classifiers achieve remarkable performance across a variety of tasks; however, they frequently exhibit overconfidence in their predictions due to the cross-entropy loss. Inspired by this problem, we propose the \textbf{Cr}i\textbf{t}ic Loss for Image \textbf{Cl}assification (CrtCl, pronounced Critical). CrtCl formulates image classification training in a generator-critic framework, with a base classifier acting as a generator, and a correctness critic imposing a loss on the classifier. The base classifier, acting as the generator, given images, generates the probability distribution over classes and intermediate embeddings. The critic model, given the image, intermediate embeddings, and output predictions of the base model, predicts the probability that the base model has produced the correct classification, which then can be back propagated as a self supervision signal. Notably, the critic does not use the label as input, meaning that the critic can train the base model on both labeled and unlabeled data in semi-supervised learning settings. CrtCl represents a learned loss method for accuracy, alleviating the negative side effects of using cross-entropy loss. Additionally, CrtCl provides a powerful way to select data to be labeled in an active learning setting, by estimating the classification ability of the base model on unlabeled data. We study the effectiveness of CrtCl in low-labeled data regimes, and in the context of active learning. In classification, we find that CrtCl, compared to recent baselines, increases classifier generalization and calibration with various amounts of labeled data. In active learning, we show our method outperforms baselines in accuracy and calibration. We observe consistent results across three image classification datasets.
