Conditional Mutual Information Constrained Deep Learning for Classification

En-Hui Yang, Shayan Mohajer Hamidi, Linfeng Ye, Renhao Tan, Beverly Yang

Abstract

Standard deep neural networks are often optimized solely for error rate, leaving their internal mapping structures as "black boxes." This paper introduces CMIC-DL, a framework that leverages information theory—specifically Conditional Mutual Information (CMI)—to explicitly constrain the mapping structure of neural networks. By optimizing for high intra-class concentration and inter-class separation, CMIC-DL achieves superior accuracy and enhanced adversarial robustness. Empirical results across CIFAR-100 and ImageNet demonstrate that the proposed Normalized CMI (NCMI) metric serves as a near-perfect proxy for model performance.

Introduction

While Deep Neural Networks (DNNs) have achieved remarkable success in classification tasks, they are typically trained using Cross Entropy (CE) loss to minimize empirical error. However, error rate alone does not capture how a model organizes information in its output space. Two models with identical accuracy might exhibit vastly different "mapping structures": one might have well-separated, compact class clusters, while the other has messy, overlapping ones. Messy structures are often more susceptible to overfitting and adversarial perturbations.

The authors propose that to build more reliable models, we must move beyond simple error metrics and start optimizing the concentration (intra-class grouping) and separation (inter-class distance) of model outputs.

Quantifying Mapping Structure via Information Theory

The researchers utilize information theory to define metrics for structural quality:

  1. Conditional Mutual Information (CMI): This measures intra-class concentration. It quantifies the variance of a network's output for a specific class around its "centroid" (the average output for that class). A lower CMI indicates tighter, more consistent clusters.
  2. Normalized CMI (NCMI): Defined as the ratio of CMI to a separation measure ($\Gamma$), NCMI provides a unified metric for the overall quality of the mapping structure.
Correlation between Validation NCMI and Validation Error Rate across various architectures.

As shown in Figure 2, there is a remarkably high correlation (Pearson coefficient > 0.99) between NCMI and validation error rates across popular architectures like ResNet, VGG, and EfficientNet. This suggests that the structural quality of the mapping is intrinsically linked to predictive performance.

The CMIC-DL Framework

The CMIC-DL framework formulates training as a constrained optimization problem: minimize Cross Entropy subject to a target NCMI value. To handle the computational complexity of calculating true CMI during training, the authors introduced an alternating learning algorithm using "dummy distributions" ($Q_y$) to represent class centroids. The algorithm iteratively updates network weights to minimize loss and updates these centroids to better represent evolving class clusters.

Experimental Results

The framework was evaluated on CIFAR-100, ImageNet, and MNIST.

Accuracy and Robustness

On CIFAR-100, CMIC-DL consistently outperformed standard CE by approximately 1.3% across various ResNet models, also surpassing specialized losses like Center Loss and Focal Loss. On ImageNet, it improved Top-1 accuracy for ResNet-18 and ResNet-50 by 0.56% and 0.37%, respectively.

Beyond accuracy, CMIC-DL significantly enhances adversarial robustness. By forcing class clusters to be compact and distant, the model requires larger adversarial perturbations to misclassify a sample. Tests on MNIST against FGSM and PGD attacks confirmed that CMIC-trained models maintain higher robust accuracy than CE baselines.

Visualization of Output Space

2D projection of the output probability simplex comparing standard Cross Entropy (CE) and CMIC-DL training. Source, p. 8

2D projection of the output probability simplex comparing standard Cross Entropy (CE) and CMIC-DL training.

Visualizations of the output space (Figure 3) confirm that CMIC-DL produces significantly more distinct and concentrated clusters compared to standard training. This visual evidence supports the theoretical claim that CMIC-DL "sculpts" a more organized internal representation.

Conclusion and Future Work

CMIC-DL provides a mathematically grounded approach to improving DNN performance and reliability by optimizing internal mapping structures. Future research directions include developing "Robust CMI" metrics to explicitly handle noisy data, exploring NCMI minimization without standard CE objectives, and utilizing CMI for improved probability calibration. By treating the "black box" as a structured mapping, this work opens new avenues for designing more interpretable and robust deep learning systems.

Summary updated

BibTeX
@article{yang2023conditional,
  author = {En-Hui Yang and Shayan Mohajer Hamidi and Linfeng Ye and Renhao Tan and Beverly Yang},
  title = {{Conditional Mutual Information Constrained Deep Learning for Classification}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2023},
}
Figure