[Paper Review] A New Compensatory Genetic Algorithm-Based Method for Effective Compressed Multi-function Convolutional Neural Network Model Selection with Multi-Objective Optimization
This paper proposes a novel compensatory genetic algorithm (GA) to automatically select compressed multi-function convolutional neural networks (CMCNNs) that balance high classification accuracy, low model size, fast inference, and energy efficiency. By optimizing diverse activation functions and pruning layers in Inception-V4-based architectures, the method generates CMCNNs that outperform non-compressed MCNNs in F1-score, memory usage (down to 454KB), and inference speed, with the best model achieving 100% of the best F1-score while being 44% smaller.
In recent years, there have been many popular Convolutional Neural Networks (CNNs), such as Google's Inception-V4, that have performed very well for various image classification problems. These commonly used CNN models usually use the same activation function, such as RELU, for all neurons in the convolutional layers; they are "Single-function CNNs." However, SCNNs may not always be optimal. Thus, a "Multi-function CNN" (MCNN), which uses different activation functions for different neurons, has been shown to outperform a SCNN. Also, CNNs typically have very large architectures that use a lot of memory and need a lot of data in order to be trained well. As a result, they tend to have very high training and prediction times too. An important research problem is how to automatically and efficiently find the best CNN with both high classification performance and compact architecture with high training and prediction speeds, small power usage, and small memory size for any image classification problem. It is very useful to intelligently find an effective, fast, energy-efficient, and memory-efficient "Compressed Multi-function CNN" (CMCNN) from a large number of candidate MCNNs. A new compensatory algorithm using a new genetic algorithm (GA) is created to find the best CMCNN with an ideal compensation between performance and architecture size. The optimal CMCNN has the best performance and the smallest architecture size. Simulations using the CIFAR10 dataset showed that the new compensatory algorithm could find CMCNNs that could outperform non-compressed MCNNs in terms of classification performance (F1-score), speed, power usage, and memory usage. Other effective, fast, power-efficient, and memory-efficient CMCNNs based on popular CNN architectures will be developed for image classification problems in important real-world applications, such as brain informatics and biomedical imaging.
Motivation & Objective
- To address the challenge of finding compact, high-performing CNNs for resource-constrained environments like mobile and biomedical devices.
- To overcome the limitations of single-function CNNs (e.g., ReLU-only) by enabling multi-function activation configurations across layers.
- To develop an automated, multi-objective model selection framework that optimizes for accuracy, model size, inference speed, and energy efficiency simultaneously.
- To reduce the computational and memory cost of deep CNNs without sacrificing classification performance.
Proposed method
- A new compensatory genetic algorithm (GA) is designed to explore the search space of CMCNN architectures with varying numbers of convolutional layers and mixed activation functions.
- The fitness function combines multiple objectives—testing F1-score, model size, inference time, and power usage—using weighted, non-linear scoring to balance trade-offs.
- The algorithm evolves populations of CMCNNs by applying selection, crossover, and mutation operations on hyperparameters including layer count and activation function assignments.
- The method uses a modified Inception-V4 architecture as a base, systematically reducing Inception blocks (A, B, C) to generate compressed variants.
- A multi-objective optimization strategy ensures Pareto-optimal solutions are preserved, favoring models with high performance and minimal size.
- The framework supports user-adjustable weights in the fitness function to prioritize specific objectives like model size or accuracy.
Experimental results
Research questions
- RQ1Can a multi-objective genetic algorithm effectively optimize compressed multi-function CNNs for both high accuracy and low resource consumption?
- RQ2How does the performance of CMCNNs compare to non-compressed MCNNs in terms of F1-score, memory usage, and inference speed?
- RQ3Does the proposed compensatory GA outperform random or non-adaptive model selection in identifying optimal CMCNN architectures?
- RQ4What is the impact of model size reduction on classification performance when using diverse activation functions across layers?
- RQ5Can the fitness function be tuned to prioritize model compactness without significantly degrading F1-score?
Key findings
- The CMCNN model generated by the new GA (CM_GA^4) achieved a 454KB model size, which is 44% smaller than the non-compressed MCNN (815KB), while maintaining or exceeding its F1-score.
- In 58 out of 60 test cases, the CMCNNs selected by the new GA (CM_GA^k) outperformed their non-optimized counterparts (CM^k) in F1-score, with CM_GA^8 matching CM^8.
- For 43 out of 45 cases, CMCNNs with the new GA achieved higher F1-scores and lower memory usage than the non-compressed MCNN (M_GA^10), demonstrating superior efficiency.
- The best-performing CMCNN (CM_GA^4) had the shortest execution time and smallest memory footprint, indicating high power efficiency and suitability for edge devices.
- The new GA significantly improved model selection efficiency, with all top-performing models in the benchmark being generated using the compensatory GA, not random search.
- The results suggest that model size can dominate the fitness function, as the second-smallest model consistently achieved the highest F1-score, indicating a strong trade-off between size and accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.