TL;DR
This paper introduces Normalized Conditional Mutual Information (NCMI), a novel information-theoretic surrogate loss function that aims to replace the standard cross-entropy (CE) loss for training deep neural classifiers. NCMI-trained models demonstrate superior accuracy and robustness across various benchmarks, including natural image recognition and whole-slide imaging, with comparable computational costs to CE.
What Problem Does This Paper Address?
Deep neural networks (DNNs) are typically trained using the cross-entropy (CE) loss function. While effective, CE has limitations, particularly in overparameterized regimes or when dealing with constrained feature dimensions. In such scenarios, the standard CE objective may not optimally guide the learning process, leading to suboptimal performance. Existing alternatives often augment CE with additional regularizers, which can be complex to tune and may not perform well independently. This paper addresses the need for a more principled and effective surrogate loss that directly optimizes for desirable properties of the learned representations, such as intra-class concentration and inter-class separation, without relying on CE.
Methods
The core contribution is the Normalized Conditional Mutual Information (NCMI) loss. NCMI is derived from information-theoretic principles, aiming to minimize the conditional mutual information between the input and output, while simultaneously maximizing the separation between class representations. The authors frame classification as a Markov chain and quantify concentration using $I(X; P|Y)$ and separation using $\Gamma$. NCMI is then defined as the ratio $\hat{I}(X; P|Y) = \frac{I(X; P|Y)}{\Gamma}$.
To efficiently optimize this loss, they propose an alternating minimization algorithm. This involves iteratively updating the DNN parameters and the class centroids. A key aspect of their implementation is the use of a Normalized Sigmoid Function (NSF) instead of the standard softmax. This, along with feature centering, helps to prevent single-mode collapse and stabilize training, leading to more robust and well-separated feature representations.
Datasets
The proposed NCMI loss and training methodology were evaluated on the following datasets:
- CIFAR-100: A standard benchmark for image classification.
- ImageNet: A large-scale image recognition dataset.
- CAMELYON-17: A whole-slide imaging (WSI) dataset for tumor subtyping.
- BRACS: Another WSI dataset for breast cancer subtype classification.
The paper does not introduce new datasets but utilizes existing, well-established benchmarks.
Key Insights and Ideas
- NCMI as a direct accuracy predictor: The paper demonstrates a strong, near-linear inverse relationship between NCMI and top-1 accuracy on ImageNet. This suggests that minimizing NCMI is a direct path to improving classification performance.
- Information-theoretic grounding for better representations: By optimizing for conditional mutual information and separation, NCMI encourages the learning of more discriminative and well-structured feature representations, which is crucial for effective classification.
- NSF and Centering for stability: The use of the Normalized Sigmoid Function (NSF) and feature centering are critical for preventing mode collapse and ensuring stable training, especially when compared to standard softmax. This is a significant practical improvement for training deep models.
- Robustness across batch sizes: NCMI shows consistent performance gains across a wide range of batch sizes, unlike some other methods (e.g., SupCon) that are sensitive to batch size. This makes NCMI a more versatile and practical choice.
- Generalizability beyond natural images: The success of NCMI on whole-slide imaging datasets indicates its broad applicability to various domains, including medical imaging, where accurate and robust feature learning is paramount.
Key Results
- ImageNet: NCMI achieved a 2.77% top-1 accuracy improvement over CE with ResNet-50.
- CAMELYON-17: Replacing CE with NCMI improved the macro-F1 score by 8.6% over the strongest baseline.
- CIFAR-100: NCMI consistently outperformed CE and SupCon across various ResNet architectures and batch sizes, with improvements of up to +1.50% in top-1 accuracy with linear probing.
- Computational Cost: NCMI training is comparable in computational cost to CE, and significantly more efficient than methods like SupCon in terms of GPU memory usage.
- Robustness: NCMI exhibits robust convergence and performance across different batch sizes, outperforming SupCon when batch sizes are reduced.
Limitations and Future Work
- Extending CMI and $\Gamma$: The authors suggest exploring how to extend the CMI and $\Gamma$ concepts with multiple centroids per class to further enhance learning.
- Adversarial Robustness: Developing a robust version of NCMI to improve adversarial robustness is identified as an open question.
- Natural Language Processing: Extending NCMI to natural language processing tasks, particularly under auto-regression pretraining, is another promising direction for future research.
- Ablation Study Insights: While the paper shows that both NSF and centering are beneficial, the exact mechanisms and trade-offs could be further explored. The paper mentions visualizing class clusters and centers, but these results are deferred to an appendix.
Summary updated