[Paper Review] Speeding Up EfficientNet: Selecting Update Blocks of Convolutional Neural Networks using Genetic Algorithm in Transfer Learning
This paper proposes a genetic algorithm to automatically select optimal blocks of layers in EfficientNet for transfer learning, reducing training time while maintaining or improving accuracy. By treating network blocks as units for optimization and using OTDD to measure block importance, the method achieves faster convergence with fewer trainable parameters compared to standard fine-tuning.
The performance of convolutional neural networks (CNN) depends heavily on their architectures. Transfer learning performance of a CNN relies quite strongly on selection of its trainable layers. Selecting the most effective update layers for a certain target dataset often requires expert knowledge on CNN architecture which many practitioners do not posses. General users prefer to use an available architecture (e.g. GoogleNet, ResNet, EfficientNet etc.) that is developed by domain experts. With the ever-growing number of layers, it is increasingly becoming quite difficult and cumbersome to handpick the update layers. Therefore, in this paper we explore the application of genetic algorithm to mitigate this problem. The convolutional layers of popular pretrained networks are often grouped into modules that constitute their building blocks. We devise a genetic algorithm to select blocks of layers for updating the parameters. By experimenting with EfficientNetB0 pre-trained on ImageNet and using Food-101, CIFAR-100 and MangoLeafBD as target datasets, we show that our algorithm yields similar or better results than the baseline in terms of accuracy, and requires lower training and evaluation time due to learning less number of parameters. We also devise a metric called block importance to measure efficacy of each block as update block and analyze the importance of the blocks selected by our algorithm.
Motivation & Objective
- To address the challenge of manually selecting effective layers for fine-tuning in transfer learning, especially in deep networks like EfficientNet.
- To reduce training time and computational cost by selecting entire blocks of layers instead of individual layers for parameter updates.
- To automate the selection process using a genetic algorithm, eliminating reliance on expert knowledge of CNN architecture.
- To introduce a block importance metric based on OTDD to evaluate and guide the selection of effective network blocks.
- To demonstrate the effectiveness of block-level selection across diverse datasets including Food-101, CIFAR-100, and MangoLeafBD.
Proposed method
- The method uses a genetic algorithm to evolve populations of block configurations, where each individual represents a set of blocks to be fine-tuned in EfficientNetB0.
- Each chromosome encodes a binary vector indicating which blocks are selected for parameter updates during transfer learning.
- Fitness is evaluated based on validation accuracy after training on target datasets, with early stopping to reduce computation.
- The algorithm incorporates a block importance metric derived from OTDD (Optimal Transport Dataset Distance) to assess each block’s contribution to feature learning.
- Blocks are grouped based on the architectural structure of EfficientNet, treating residual blocks as atomic units for selection.
- The approach is evaluated on three datasets: Food-101, CIFAR-100, and MangoLeafBD, using ImageNet-pretrained EfficientNetB0 as the base model.
Experimental results
Research questions
- RQ1Can a genetic algorithm effectively select blocks of layers in EfficientNet for transfer learning to reduce training time without sacrificing accuracy?
- RQ2How does block-level selection compare to standard layer-level fine-tuning in terms of accuracy and training efficiency?
- RQ3To what extent does the OTDD-based block importance metric correlate with actual performance in transfer learning?
- RQ4Does the proposed method generalize across diverse datasets with varying complexity and domain characteristics?
- RQ5Can the selected blocks be interpreted as having meaningful feature-learning roles based on their position and importance scores?
Key findings
- The proposed genetic algorithm achieved comparable or higher accuracy than standard fine-tuning on all three target datasets: Food-101, CIFAR-100, and MangoLeafBD.
- The method reduced the number of trainable parameters significantly, leading to faster training and evaluation times.
- The OTDD-based block importance metric successfully identified high-performing blocks, with selected blocks showing strong correlation to performance gains.
- Blocks from the middle and later stages of EfficientNetB0 were consistently selected as update candidates, indicating their role in learning discriminative features for target tasks.
- The algorithm demonstrated robustness across datasets with different image complexity and class distribution, suggesting generalization potential.
- The block-level selection approach reduced computational overhead by focusing updates on only 30–50% of the network’s total blocks, without degrading performance.
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.