NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Isomorphic Pruning for Vision Models

Gongfan Fang, Xinyin Ma, Michael Bi Mi, Xinchao Wang

Introduction

Modern deep neural networks, particularly Vision Transformers (ViTs) and advanced CNNs like ConvNext, are significantly over-parameterized. While structural pruning offers a path to efficiency by removing redundant components like channels or attention heads, standard approaches struggle with the architectural complexity of these models.

The primary challenge identified by the authors is the "incomparability" of importance scores across heterogeneous sub-structures. In a typical "ranking-to-prune" workflow, importance scores are calculated globally. However, an importance score for an MLP layer is not directly comparable to one for an attention head. This leads to biased pruning where certain functional blocks are disproportionately removed, degrading model performance.

Methodology: Isomorphic Pruning

To address this, the authors introduce Isomorphic Pruning, a framework that ensures "apples-to-apples" comparisons during the pruning process.

Isomorphic Pruning groups sub-structures by topology and ranks them within these groups.

The framework consists of three key stages:

  1. Graph Modeling: The network is represented as a set of sub-structures. Parameters that are "coupled"—meaning they must be pruned together to maintain tensor shape consistency—are identified and grouped.
  2. Isomorphic Grouping: Sub-structures are categorized into "isomorphic" groups based on their computational topology and layer types. For instance, all attention heads within a specific block type are grouped together.
  3. Isolated Ranking: Instead of a single global leaderboard, the algorithm maintains separate rankings for each isomorphic group. Pruning decisions are made by removing the least important structures within their respective groups, preserving the functional balance of the architecture.

The authors' "Aha" moment came from observing the distribution of importance scores. In models like DeiT-Base, global pruning often targets attention layers almost exclusively because their scores are numerically lower than those of embedding layers, regardless of their actual contribution to the model's logic. By isolating these distributions, Isomorphic Pruning ensures that every functional component of the network is evaluated fairly.

Experimental Results

The researchers evaluated Isomorphic Pruning primarily on ImageNet-1K, with additional transfer learning tests on CIFAR-10 and CIFAR-100.

Performance comparison of Isomorphic Pruning against other methods on ImageNet-1K.

Key findings include:

  • Vision Transformers: Pruning a DeiT-Base model yielded a "DeiT-Tiny" equivalent with 77.50% accuracy, outperforming a standard DeiT-Tiny trained from scratch (74.52%).
  • Modern CNNs: For ConvNext-Tiny, the method actually improved accuracy from 82.06% to 82.18% while reducing parameter count.
  • Efficiency and Speed: On ResNet-101, the method outperformed specialized baselines like GFP and DepGraph. Real-world hardware gains were significant, with up to a 12.70× speedup on GPU for the smallest DeiT variants.

Furthermore, the method's strength lies in its simplicity. Unlike competing techniques that require expensive sparse training cycles or complex reinforcement learning to discover an optimal pruning strategy, Isomorphic Pruning is a "one-shot" method. It works effectively with standard importance criteria, such as Taylor expansion or L1-norm, making it highly accessible for practical deployment.

Discussion and Limitations

Isomorphic Pruning demonstrates that respecting architectural topology is crucial for effective model compression. By maintaining the functional roles of different layers, it achieves state-of-the-art results without the need for complex sparse training or reinforcement learning.

One noted limitation is Peak Memory usage. Because the resulting architectures are often non-uniform (different layers having different widths), the peak memory during inference is dictated by the widest remaining layer. Future research may focus on integrating hardware-aware constraints into the isomorphic grouping logic to better balance accuracy and memory footprints.

Summary updated

BibTeX
@inproceedings{fang2024isomorphic,
  author = {Gongfan Fang and Xinyin Ma and Michael Bi Mi and Xinchao Wang},
  title = {{Isomorphic Pruning for Vision Models}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73404-5\_14},
}
Figure