Abstract
This paper presents a new vision Transformer, Scale-Aware Modulation Transformer (SMT), that can handle various downstream tasks efficiently by combining the convolutional network and vision Transformer. The proposed Scale-Aware Modulation (SAM) in the SMT includes two primary novel designs. Firstly, we introduce the Multi-Head Mixed Convolution (MHMC) module, which can capture multi-scale features and expand the receptive field. Secondly, we propose the Scale-Aware Aggregation (SAA) module, which is lightweight but effective, enabling information fusion across different heads. By leveraging these two modules, convolutional modulation is further enhanced. Furthermore, in contrast to prior works that utilized modulations throughout all stages to build an attention-free network, we propose an Evolutionary Hybrid Network (EHN), which can effectively simulate the shift from capturing local to global dependencies as the network becomes deeper, resulting in superior performance. Extensive experiments demonstrate that SMT significantly outperforms existing state-of-the-art models across a wide range of visual tasks. Specifically, SMT with 11.5M / 2.4GFLOPs and 32M / 7.7GFLOPs can achieve 82.2% and 84.3% top-1 accuracy on ImageNet-1K, respectively. After pretrained on ImageNet-22K in 224^2 resolution, it attains 87.1% and 88.1% top-1 accuracy when finetuned with resolution 224^2 and 384^2, respectively. For object detection with Mask R-CNN, the SMT base trained with 1x and 3x schedule outperforms the Swin Transformer counterpart by 4.2 and 1.3 mAP on COCO, respectively. For semantic segmentation with UPerNet, the SMT base test at single- and multi-scale surpasses Swin by 2.0 and 1.1 mIoU respectively on the ADE20K.
Introduction
Vision Transformers (ViTs) have established themselves as powerful backbones for computer vision, yet they face significant challenges in computational efficiency for high-resolution inputs and in capturing fine-grained local textures. While hybrid models attempt to address these issues by combining convolutional layers with self-attention, they often lack a principled approach to balancing local and global dependencies. This paper introduces the Scale-Aware Modulation Transformer (SMT), which leverages a novel modulation mechanism and an evolutionary architecture to achieve state-of-the-art performance across multiple vision tasks.
The SMT Architecture
The core innovation of SMT is the Scale-Aware Modulation (SAM) module, designed to capture multi-scale features more effectively than standard self-attention in the early stages of a network. SAM consists of two key components: Multi-Head Mixed Convolution (MHMC) and Scale-Aware Aggregation (SAA). MHMC splits channels into multiple heads and applies varying kernel sizes (e.g., 3x3, 5x5, 7x7) to expand the receptive field and capture diverse spatial information simultaneously. SAA then fuses these multi-scale features across heads with minimal computational overhead.
To manage the transition from local to global modeling, SMT employs an Evolutionary Hybrid Network (EHN). In this four-stage hierarchy, the first two stages utilize SAM blocks for local feature extraction. The third stage introduces a "Mix Block" that alternates between SAM and standard Multi-Head Self-Attention (MSA), facilitating an "adaptation period" where the network shifts its focus from local details to global context. The final stage uses pure MSA to capture long-range dependencies.
Experimental Results
SMT was evaluated on industry-standard benchmarks including ImageNet-1K, MS COCO, and ADE20K. The results demonstrate that SMT consistently outperforms established state-of-the-art (SOTA) models while maintaining high efficiency.
On ImageNet-1K, SMT-Tiny (11.5M parameters) achieves 82.2% top-1 accuracy, while SMT-Base (32M parameters) reaches 84.3%, notably surpassing the much larger Swin-Base (88M parameters). For downstream tasks, SMT-Base outperforms Swin-Base by 4.2 mAP on COCO object detection (1x schedule) and 2.0 mIoU on ADE20K semantic segmentation. These results highlight the effectiveness of the scale-aware modulation and the evolutionary stacking strategy.
Conclusion
The Scale-Aware Modulation Transformer effectively bridges the gap between the local efficiency of CNNs and the global modeling capabilities of Transformers. By introducing multi-scale convolutional modulation and a staged evolutionary design, SMT provides a highly efficient and powerful backbone for a wide range of visual recognition tasks. Future work may further optimize the transition between local and global modules or extend the architecture to video and multi-modal domains.
Summary updated