@article{POYATOS202359, title = {EvoPruneDeepTL: An evolutionary pruning model for transfer learning based deep neural networks}, journal = {Neural Networks}, volume = {158}, pages = {59-82}, year = {2023}, issn = {0893-6080}, doi = {https://doi.org/10.1016/j.neunet.2022.10.011}, url = {https://www.sciencedirect.com/science/article/pii/S0893608022004051}, author = {Javier Poyatos and Daniel Molina and Aritz D. Martinez and Javier {Del Ser} and Francisco Herrera}, keywords = {Deep learning, Evolutionary algorithms, Pruning, Feature selection, Transfer learning}, abstract = {In recent years, Deep Learning models have shown a great performance in complex optimization problems. They generally require large training datasets, which is a limitation in most practical cases. Transfer learning allows importing the first layers of a pre-trained architecture and connecting them to fully-connected layers to adapt them to a new problem. Consequently, the configuration of the these layers becomes crucial for the performance of the model. Unfortunately, the optimization of these models is usually a computationally demanding task. One strategy to optimize Deep Learning models is the pruning scheme. Pruning methods are focused on reducing the complexity of the network, assuming an expected performance penalty of the model once pruned. However, the pruning could potentially be used to improve the performance, using an optimization algorithm to identify and eventually remove unnecessary connections among neurons. This work proposes EvoPruneDeepTL, an evolutionary pruning model for Transfer Learning based Deep Neural Networks which replaces the last fully-connected layers with sparse layers optimized by a genetic algorithm. Depending on its solution encoding strategy, our proposed model can either perform optimized pruning or feature selection over the densely connected part of the neural network. We carry out different experiments with several datasets to assess the benefits of our proposal. Results show the contribution of EvoPruneDeepTL and feature selection to the overall computational efficiency of the network as a result of the optimization process. In particular, the accuracy is improved, reducing at the same time the number of active neurons in the final layers.} }