Scale-Aware Modulation Meet Transformer

Wei-Shiang Lin, Ziheng Wu, Jiayu Chen, Jun Huang, Lianwen Jin
2/14/2026

No official code found. Best implementation: AFeng-x/SMT (214 stars, MIT, last commit 2023-08-01).

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 2242 resolution, it attains 87.1% and 88.1% top-1 accuracy when finetuned with resolution 2242 and 3842, respectively. For object detection with Mask R-CNN, the SMT base trained with 1× and 3× 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. Our code is available at https://github.com/AFeng-x/SMT.

View on arXivView PDF

Code Implementations(1)

AFeng-x/SMTCommunity61%
MIT

[ICCV2023] This is an official implementation for "Scale-Aware Modulation Meet Transformer".

21415Python, Jupyter NotebookJul 12, 20233 years agoMIT

Similar Papers

Cite this paper

@article{lin2026scaleaware,
  title  = {Scale-Aware Modulation Meet Transformer},
  author = {Wei-Shiang Lin and Ziheng Wu and Jiayu Chen and Jun Huang and Lianwen Jin},
  year   = {2026},
  eprint = {2307.08579},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2307.08579},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.08579.svg)](https://codeofpaper.com/paper/2307.08579)

Discussion