An Information Theory-inspired Strategy for Automatic Network Pruning

Xiawu Zheng, Yuexiao Ma, Teng Xi, Gang Zhang, Errui Ding, Yuchao Li, Jie Chen, Yonghong Tian, Rongrong Ji

TL;DR

ITPruner is a search-free, automated network pruning strategy that uses information theory to identify and remove redundant layers. By leveraging the Hilbert-Schmidt Independence Criterion (HSIC) to measure inter-layer correlation, it transforms the complex task of architecture search into a simple convex optimization problem that can be solved in seconds.

What Problem Does This Paper Address?

Deep neural networks (DNNs) are notoriously resource-hungry, making them difficult to deploy on edge devices like smartphones. While "network pruning"—removing unnecessary parameters—is a standard solution, it usually comes with a high price tag. Most state-of-the-art methods rely on "search-based" approaches (like reinforcement learning or evolutionary algorithms) that require hundreds of GPU hours to find the right balance between speed and accuracy.

Furthermore, these methods often lack a solid theoretical foundation. When hardware constraints change (e.g., moving from a phone to an IoT sensor), the entire expensive search process must be repeated. The authors of this paper sought a "one-and-done" mathematical approach that could determine the optimal pruned architecture instantly based on the internal information flow of the network.

Methods

The core of the paper is the Information Bottleneck (IB) principle, which suggests that a good neural representation should compress input information while preserving label information. The authors extend this to inter-layer redundancy: if two layers are highly correlated, one of them is likely redundant.

To measure this without the computational nightmare of calculating high-dimensional mutual information, they use the normalized Hilbert-Schmidt Independence Criterion (nHSIC).

  1. Feature Sampling: They pass a small batch of images through a pre-trained model to collect activation maps.
  2. Independence Mapping: They calculate the nHSIC between every pair of layers to build an "independence matrix."
  3. Layer Importance: A layer's importance is calculated based on how independent it is from all other layers. Layers that "talk" too much to others are targets for heavy pruning.
  4. Convex Optimization: They formulate the pruning task as a linear programming problem with quadratic constraints. Instead of searching, they use a standard solver to find the optimal compression ratio for every layer simultaneously.
Overview of the ITPruner workflow: from feature maps to nHSIC calculation, followed by linear programming to find the optimal architecture.

Datasets

The authors validated ITPruner across a wide variety of tasks and scales:

  • Image Classification: CIFAR-10 and ImageNet.
  • Object Detection: PASCAL VOC (using Faster R-CNN with ResNet-50 backbones) and MSCOCO (using Deformable DETR).
  • Semantic Segmentation: PASCAL VOC and ADE20K (using DeepLabV3).
  • Vision-Language & LLMs: ScienceQA (for LaVIN-7B) and Wikitext2 (for LLaMA2-7B).

Key Insights and Ideas

  • Redundancy as Mutual Information: The paper provides a rigorous proof that minimizing the mutual information between different layers directly influences the generalization error. This provides a theoretical "north star" for pruning that many heuristic methods lack.
  • Zero-Search Pruning: Unlike methods that train a "controller" to prune, ITPruner is purely analytical. The "search" phase is replaced by a few seconds of math.
  • Structural Awareness: Interestingly, the architectures found by ITPruner naturally assign more channels to layers where downsampling (stride=2) occurs. This mirrors the "intuition" often found by human engineers or expensive evolutionary algorithms, but ITPruner discovers it automatically through data statistics.
  • Mathematical Robustness: The authors prove that nHSIC is invariant to scale and orthogonal transformations. This means the metric remains stable even when the network uses Batch Normalization or $1 \times 1$ convolutions.

Key Results

ITPruner consistently matches or beats state-of-the-art (SOTA) AutoML pruning methods while being orders of magnitude faster to execute.

  • ResNet-50 on ImageNet: Achieved a 45.3% FLOPs reduction with a top-1 accuracy of 75.75%, outperforming methods like HRank and AutoSlim.
  • MobileNetV1: Reduced FLOPs by 50.3% with 70.92% accuracy, beating the popular AMC (Reinforcement Learning) method which requires 400 search epochs.
  • LLM Pruning: When applied to LLaMA2-7B, ITPruner (combined with Wanda) achieved better perplexity and zero-shot accuracy than specialized LLM pruners, showing the method's versatility beyond computer vision.
  • Efficiency: The optimization step typically takes less than 10 seconds on a single CPU.

Limitations and Future Work

While the search for the architecture is nearly instantaneous, the pruned model still requires a standard finetuning phase to recover its full accuracy. The authors also note that their theoretical proofs for the equivalence of HSIC and mutual information rely on a Gaussian assumption for the data distribution.

Future work could involve extending this information-theoretic framework to more complex Neural Architecture Search (NAS) tasks, such as automatically choosing kernel sizes or activation functions, rather than just pruning channel widths.

Summary updated

BibTeX
@article{zheng2025information,
  author = {Xiawu Zheng and Yuexiao Ma and Teng Xi and Gang Zhang and Errui Ding and Yuchao Li and Jie Chen and Yonghong Tian and Rongrong Ji},
  title = {{An Information Theory-inspired Strategy for Automatic Network Pruning}},
  journal = {Int. J. Comput. Vis.},
  year = {2025},
  doi = {10.1007/s11263-025-02437-z},
}
Figure