A Latency-Efficient Integration of Channel Attention for ConvNets
Authors:
Open Access
- 1 January 2025
- journal article
- Published by Tech Science Press in Computers, Materials & Continua
- Vol. 82 (3) , 3965-3981
Abstract
Designing fast and accurate neural networks is becoming essential in various vision tasks. Recently, the use of attention mechanisms has increased, aimed at enhancing the vision task performance by selectively focusing on relevant parts of the input. In this paper, we concentrate on squeeze-and-excitation (SE)-based channel attention, considering the trade-off between latency and accuracy. We propose a variation of the SE module, called squeeze-and-excitation with layer normalization (SELN), in which layer normalization (LN) replaces the sigmoid activation function. This approach reduces the vanishing gradient problem while enhancing feature diversity and discriminability of channel attention. In addition, we propose a latency-efficient model named SELNeXt, where the LN typically used in the ConvNext block is replaced by SELN to minimize additional latency-impacting operations. Through classification simulations on ImageNet-1k, we show that the top-1 accuracy of the proposed SELNeXt outperforms other ConvNeXt-based models in terms of latency efficiency. SELNeXt also achieves better object detection and instance segmentation performance on COCO than Swin Transformer and ConvNeXt for small-sized models. Our results indicate that LN could be a considerable candidate for replacing the activation function in attention mechanisms. In addition, SELNeXt achieves a better accuracy-latency trade-off, making it favorable for real-time applications and edge computing. The code is available at (accessed on 06 December 2024).Keywords
This publication has 16 references indexed in Scilit:
- GFNet: Global Filter Networks for Visual RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2023
- An n-Sigmoid Activation Function to Improve the Squeeze-and-Excitation for 2D and 3D Deep NetworksElectronics, 2023
- Attention mechanisms in computer vision: A surveyComputational Visual Media, 2022
- Review of Nodule Mineral Image Segmentation Algorithms for Deep-Sea Mineral Resource AssessmentComputers, Materials & Continua, 2022
- Random Erasing Data AugmentationProceedings of the AAAI Conference on Artificial Intelligence, 2020
- An Improved Deep Fusion CNN for Image RecognitionComputers, Materials & Continua, 2020
- A Review on Deep Learning Approaches to Image Classification and Object SegmentationComputers, Materials & Continua, 2019
- Deep Networks with Stochastic Depth2016
- Rethinking the Inception Architecture for Computer Vision2016
- Acceleration of Stochastic Approximation by AveragingSIAM Journal on Control and Optimization, 1992