Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanisms

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Fengyun, Zheng, Chao, Fang, Yangyang, Lan, Jialiang, Liang, Jianhua, Zhang, Luhao, Si, Fa
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909718948085760
author Li, Fengyun
Zheng, Chao
Fang, Yangyang
Lan, Jialiang
Liang, Jianhua
Zhang, Luhao
Si, Fa
author_facet Li, Fengyun
Zheng, Chao
Fang, Yangyang
Lan, Jialiang
Liang, Jianhua
Zhang, Luhao
Si, Fa
contents Currently, lightweight hybrid backbone networks have partially alleviated the issue of computational saturation, but the imbalance in computational efficiencys between convolutional neural networks (CNNs) and attention mechanisms is becoming increasingly apparent. Specifically, although linear attention mechanisms and their variants have made progress in lightweight design, they still fail to meet the demands of hybrid models for long-sequence modeling. On the other hand, existing lightweight SoftMax attention computations typically reduce the feature map to a fixed size to decrease the number of sequences, thereby compressing the computational scale. However, the process of determining the feature map reduction ratio is cumbersome, and computational saturation issues still persist. To address this issue, this paper proposes a lightweight SoftMax attention mechanism with adaptive feature map sizes, named Fast Window Attention (FWA), which generates a small number of key sequences (Key and Value) through window aggregation for attention computation. Additionally, it explains the rationality of using ReLU to simulate SoftMax operations in lightweight global attention mechanisms. Finally, the paper designs a global-local feature fusion mechanism and combines it with GhostNet to propose a lightweight hybrid backbone network, LOLViT. Through visual tasks such as classification (ImageNet 1K), detection (COCO 2017), and segmentation (BDD100K), along with extensive ablation studies, it is demonstrated that LOLViT outperforms CNN models of the same level in both inference speed and model accuracy. Notably, the inference speed of LOLViT-X is 5x that of MobileViT-X.
format Preprint
id arxiv_https___arxiv_org_abs_2508_01385
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanisms
Li, Fengyun
Zheng, Chao
Fang, Yangyang
Lan, Jialiang
Liang, Jianhua
Zhang, Luhao
Si, Fa
Computer Vision and Pattern Recognition
Currently, lightweight hybrid backbone networks have partially alleviated the issue of computational saturation, but the imbalance in computational efficiencys between convolutional neural networks (CNNs) and attention mechanisms is becoming increasingly apparent. Specifically, although linear attention mechanisms and their variants have made progress in lightweight design, they still fail to meet the demands of hybrid models for long-sequence modeling. On the other hand, existing lightweight SoftMax attention computations typically reduce the feature map to a fixed size to decrease the number of sequences, thereby compressing the computational scale. However, the process of determining the feature map reduction ratio is cumbersome, and computational saturation issues still persist. To address this issue, this paper proposes a lightweight SoftMax attention mechanism with adaptive feature map sizes, named Fast Window Attention (FWA), which generates a small number of key sequences (Key and Value) through window aggregation for attention computation. Additionally, it explains the rationality of using ReLU to simulate SoftMax operations in lightweight global attention mechanisms. Finally, the paper designs a global-local feature fusion mechanism and combines it with GhostNet to propose a lightweight hybrid backbone network, LOLViT. Through visual tasks such as classification (ImageNet 1K), detection (COCO 2017), and segmentation (BDD100K), along with extensive ablation studies, it is demonstrated that LOLViT outperforms CNN models of the same level in both inference speed and model accuracy. Notably, the inference speed of LOLViT-X is 5x that of MobileViT-X.
title Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanisms
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.01385