Neural Network Pruning by Cooperative Coevolution

Haopu Shang, Jia-Liang Wu, Wenjing Hong, Chao Qian

Abstract

Modern Convolutional Neural Networks (CNNs) are often overparameterized, leading to high computational costs that hinder deployment on edge devices. This paper introduces Cooperative Coevolution for Pruning (CCEP), an automated framework that decomposes the global pruning task into layer-wise sub-problems. By evolving filter subsets in parallel and employing an iterative prune-and-finetune cycle, CCEP achieves significant reductions in computational load (FLOPs) with minimal to no loss in accuracy. Experimental results on CIFAR-10 and ImageNet demonstrate that CCEP outperforms several state-of-the-art manual and evolutionary pruning techniques.

Introduction

The deployment of deep CNNs on mobile platforms is often restricted by memory and power constraints. While neural network pruning aims to remove redundant filters, existing methods typically rely on manual heuristics—such as weight magnitude—which require extensive trial-and-error. Automated approaches using Evolutionary Algorithms (EAs) have emerged, but they often struggle with the massive search space of deep architectures. CCEP addresses this "curse of dimensionality" by applying a divide-and-conquer strategy to the pruning process.

Methodology: Cooperative Coevolution for Pruning (CCEP)

The core innovation of CCEP is the application of Cooperative Coevolution to network pruning. Instead of attempting to optimize the entire network architecture at once, the framework decomposes the task by layer.

Overview of the CCEP framework showing the layer-wise decomposition and iterative pruning process.

Divide-and-Conquer Strategy

CCEP treats each layer of the CNN as a separate sub-problem. This approach is motivated by the hierarchical nature of CNNs, where the impact of removing a filter is most closely related to other filters within the same layer. A separate EA is assigned to each layer, and these populations evolve in parallel to identify the optimal subset of filters to retain.

Iterative Pruning and Finetuning

The process is not a one-shot operation. CCEP iteratively identifies candidate filters for removal, splices the pruned layers back into a complete network, and performs brief finetuning to help the model recover accuracy. To maintain stability, the algorithm uses bit-wise mutation with a "ratio bound," ensuring that the pruning does not become too aggressive in a single step.

Experimental Setup

The researchers evaluated CCEP on two standard computer vision benchmarks:

  • CIFAR-10: Tested on ResNet-56, ResNet-110, and VGG-16.
  • ImageNet: Tested on ResNet-34 and ResNet-50 to demonstrate scalability to large-scale datasets.

Results and Discussion

CCEP consistently matches or exceeds the performance of existing state-of-the-art (SOTA) pruning methods across various architectures.

Comparison of CCEP against other state-of-the-art pruning methods, showing the trade-off between pruning ratio and accuracy change.

Key performance highlights include:

  • ResNet-56 (CIFAR-10): Achieved a 63.42% reduction in FLOPs while actually increasing accuracy by 0.24%.
  • ResNet-50 (ImageNet): Reduced FLOPs by 44.56% with a negligible accuracy drop of only 0.07%.

The success of CCEP stems from its ability to automate the search for redundant filters without making heuristic assumptions (e.g., "small weights are unimportant"). By generating a Pareto front of models, CCEP provides users with a range of pruned networks optimized for different speed-accuracy trade-offs.

Conclusion and Future Work

CCEP demonstrates that cooperative coevolution is a powerful tool for large-scale neural network pruning. By decomposing the search space, it enables automated, high-performance model compression. Future research directions include incorporating more sophisticated evolutionary operators, such as crossover, and developing hardware-aware optimization targets to directly minimize latency on specific deployment platforms.

Summary updated

BibTeX
@inproceedings{shang2022neural,
  author = {Haopu Shang and Jia-Liang Wu and Wenjing Hong and Chao Qian},
  title = {{Neural Network Pruning by Cooperative Coevolution}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/667},
}
Figure