Skip to main content
QUICK REVIEW

[Paper Review] Multi-Objective Pruning for CNNs Using Genetic Algorithm

Chuanguang Yang, Zhulin An|arXiv (Cornell University)|Jun 2, 2019
Advanced Neural Network ApplicationsComputer Science9 references4 citations
TL;DR

This paper proposes a multi-objective genetic algorithm (GA) for pruning convolutional neural networks (CNNs) to simultaneously optimize accuracy, computation efficiency, and model sparsity. By using a weighted fitness function and iterative pruning with retraining, the method achieves 95.42% parameter reduction and 16× speedup in convolutional layers with minimal accuracy loss on LeNet/MNIST, outperforming state-of-the-art approaches in computation reduction while enabling customizable trade-offs via hyperparameter tuning.

ABSTRACT

In this work, we propose a heuristic genetic algorithm (GA) for pruning convolutional neural networks (CNNs) according to the multi-objective trade-off among error, computation and sparsity. In our experiments, we apply our approach to prune pre-trained LeNet across the MNIST dataset, which reduces 95.42% parameter size and achieves 16$ imes$ speedups of convolutional layer computation with tiny accuracy loss by laying emphasis on sparsity and computation, respectively. Our empirical study suggests that GA is an alternative pruning approach for obtaining a competitive compression performance. Additionally, compared with state-of-the-art approaches, GA is capable of automatically pruning CNNs based on the multi-objective importance by a pre-defined fitness function.

Motivation & Objective

  • To address the limitation of existing pruning methods that do not account for multi-objective trade-offs in real-world vision applications.
  • To develop a pruning framework that simultaneously optimizes error rate, computation cost (FLOPs), and model sparsity.
  • To enable customizable compression outcomes by adjusting the relative importance of these objectives through a configurable fitness function.
  • To demonstrate the effectiveness of evolutionary computation—specifically genetic algorithms—for structured, multi-objective CNN pruning.
  • To provide a two-step iterative framework combining pruning, retraining, and population reinitialization for improved convergence and performance.

Proposed method

  • The method encodes a CNN as a genome with M parameter genes, where each gene represents a layer's weights (4D tensor for CONV, 2D for FC).
  • A fitness function f = λ₁e + λ₂c + λ₃(1−s) is minimized, where e is error rate, c is computation remained rate, s is sparsity, and λ₁, λ₂, λ₃ are adjustable weights summing to 1.
  • The algorithm uses a two-step iterative process: (1) genetic operations (selection, crossover, mutation) on a population of pruned networks, and (2) retraining the elite network and reinitializing the population with it.
  • Mutation is performed at filter-level in CONV layers (coarse-grained) and connection-level in FC layers (fine-grained), guided by mutation rates P_mc and P_mf.
  • Crossover uses microbial crossover: a fitter genome (Winner) transfers genes to a less fit one (Loser) with 50% probability, preserving elite solutions.
  • Selection uses truncation selection to pick the top K genomes with lowest fitness for reproduction, ensuring fast convergence.

Experimental results

Research questions

  • RQ1Can a genetic algorithm effectively balance multiple conflicting objectives—accuracy, computation cost, and sparsity—in CNN pruning?
  • RQ2How does the proposed multi-objective fitness function with tunable weights enable customizable compression outcomes for different deployment scenarios?
  • RQ3Does the two-step iterative pruning and retraining framework improve convergence and performance compared to single-shot or non-retraining approaches?
  • RQ4Can coarse-grained pruning in CONV layers and fine-grained pruning in FC layers jointly achieve high sparsity and significant FLOP reduction without sacrificing accuracy?
  • RQ5How does the performance of the proposed GA-based pruning compare to state-of-the-art methods in terms of sparsity, computation reduction, and accuracy stability?

Key findings

  • The proposed GA achieved 95.42% parameter reduction and 16× speedup in convolutional layer computation on LeNet/MNIST, with only 0.89% error rate and minimal accuracy loss.
  • By setting λ₁=0.5, λ₂=0, λ₃=0.5, the method achieved maximum sparsity (95.42%) while maintaining strong computation reduction (9.00% FLOPs remaining).
  • With λ₁=0.5, λ₂=0.5, λ₃=0, the method prioritized computation reduction, achieving 6.10% FLOPs remaining, significantly outperforming other methods in this metric.
  • The method achieved 94.30% sparsity with 6.22% FLOPs remaining under balanced objectives (λ₁=0.3, λ₂=0.4, λ₃=0.3), outperforming most baselines in computation efficiency.
  • The approach enables flexible, application-specific compression: by tuning λ₁, λ₂, λ₃, users can prioritize accuracy, speed, or model size as needed.
  • Compared to state-of-the-art methods, the GA-based approach achieved superior computation reduction despite not always achieving the highest sparsity, demonstrating the effectiveness of coarse-grained pruning for FLOP reduction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.