ECTFormer: An efficient Conv-Transformer model design for image recognition
Year: 2024
Type: article
Abstract: Since the success of Vision Transformers (ViTs), there has been growing interest in combining ConvNets and Transformers in the computer vision community. While the hybrid models have demonstrated state-of-the-art performance, many of these models are too large and complex to be applied to edge devices for real-world applications. To address this challenge, we propose an efficient hybrid network called ECTFormer that leverages the strengths of ConvNets and Transformers while considering both model performance and inference speed. Specifically, our approach involves: (1) optimizing the combination of convolution kernels by dynamically adjusting kernel sizes based on the scale of feature tensors; (2) revisiting existing overlapping patchify to not only reduce the model size but also propagate fine-grained patches for the performance enhancement; and (3) introducing an efficient single-head self-attention mechanism, rather than multi-head self-attention in the base Transformer, to minimize the increase in model size and boost inference speed, overcoming bottlenecks of ViTs. In experimental results on ImageNet-1K, ECTFormer not only demonstrates comparable or higher top-1 accuracy but also faster inference speed on both GPUs and edge devices compared to other efficient networks. • Proposed an efficient network that exploits the strengths of ConvNet and Transformer. • Configured dynamic kernel sizes according to downsampling ratios for feature tensors. • Proposed an efficient and effective patch embedding method. • Proposed a novel efficient attention mechanism with minimized parameter expansion.
Source: Pattern Recognition
Authors: Jaewon Sa, Junhwan Ryu, Heegon Kim
Language: English
Subfield: Computer Vision and Pattern Recognition
Field: Computer Science
Domain: Physical Sciences
Open Access status: hybrid
Estimated APC paid: $2,710
OpenAlex ID: W4403777173
