[Paper Review] Regularizing Neural Networks by Penalizing Confident Output Distributions
The paper introduces a confidence penalty that penalizes low-entropy output distributions, connecting it to label smoothing, and shows it improves generalization across multiple benchmarks without changing hyperparameters.
We systematically explore regularizing neural networks by penalizing low entropy output distributions. We show that penalizing low entropy output distributions, which has been shown to improve exploration in reinforcement learning, acts as a strong regularizer in supervised learning. Furthermore, we connect a maximum entropy based confidence penalty to label smoothing through the direction of the KL divergence. We exhaustively evaluate the proposed confidence penalty and label smoothing on 6 common benchmarks: image classification (MNIST and Cifar-10), language modeling (Penn Treebank), machine translation (WMT'14 English-to-German), and speech recognition (TIMIT and WSJ). We find that both label smoothing and the confidence penalty improve state-of-the-art models across benchmarks without modifying existing hyperparameters, suggesting the wide applicability of these regularizers.
Motivation & Objective
- Motivate output-based regularization as a complement to weight- and activation-based methods.
- Evaluate a maximum-entropy based confidence penalty on large neural networks.
- Relate the confidence penalty to label smoothing via KL divergence.
- Demonstrate applicability across diverse benchmarks without hyperparameter tuning.
Proposed method
- Define a loss with a negative log-likelihood term plus a beta-weighted entropy penalty on the model's output distribution.
- Compute the entropy gradient with respect to logits to implement the penalty.
- Optionally anneal the penalty or apply a hinge-based entropy threshold to tighten regularization near convergence.
- Show that the penalty is related to label smoothing by reversing the KL divergence direction.
- Evaluate both the confidence penalty and label smoothing across multiple datasets and model types.
Experimental results
Research questions
- RQ1Does penalizing low-entropy output distributions improve generalization in supervised learning?
- RQ2How does the confidence penalty compare to label smoothing across diverse tasks?
- RQ3Can these output regularizers improve state-of-the-art models without changing hyperparameters?
- RQ4What are the connections between maximum entropy penalties and existing regularizers like label smoothing?
Key findings
- Both the confidence penalty and label smoothing improve state-of-the-art models on MNIST, CIFAR-10, Penn Treebank, WMT’14 English–German, TIMIT, and WSJ.
- The language modeling experiments show the confidence penalty achieving a substantial perplexity improvement (e.g., 3.7 perplexity points over baseline on PTB).
- In machine translation, label smoothing slightly outperforms the confidence penalty in BLEU, with both offering gains when dropout is not used (about 1 BLEU point).
- On WSJ, unigram label smoothing yields the best WER improvement (11.0 ± 0.35) among the tested regularizers; confidence penalty improves WER to 12.7 while baseline is 17.2 on validation.
- Across tasks, these output regularizers improve performance without modifying existing hyperparameters.
- The gradient norms tend to be smaller for label smoothing and the confidence penalty than for dropout, suggesting smoother, better-generalizing output distributions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.