ViTs are often too computationally expensive to be fitted onto real-world resource-constrained devices, due to (1) their quadratically increased complexity with the number of input tokens and (2) their overparameterized self-attention heads and model depth. In parallel, different images are of varied complexity and their different regions can contain various levels of visual information, indicating that treating all regions/tokens equally in terms of model complexity is unnecessary while such opportunities for trimming down ViTs' complexity have not been fully explored. To this end, we propose a Multi-grained Input-adaptive Vision Transformer framework dubbed MIA-Former that can input-adaptively adjust the structure of ViTs at three coarse-to-fine-grained granularities (i.e., model depth and the number of model heads/tokens). In particular, our MIA-Former adopts a low-cost network trained with a hybrid supervised and reinforcement training method to skip unnecessary layers, heads, and tokens in an input adaptive manner, reducing the overall computational cost. Furthermore, an interesting side effect of our MIA-Former is that its resulting ViTs are naturally equipped with improved robustness against adversarial attacks over their static counterparts, because MIA-Former's multi-grained dynamic control improves the model diversity similar to the effect of ensemble and thus increases the difficulty of adversarial attacks against all its sub-models. Extensive experiments and ablation studies validate that the proposed MIA-Former framework can effectively allocate computation budgets adaptive to the difficulty of input images meanwhile increase robustness, achieving state-of-the-art (SOTA) accuracy-efficiency trade-offs, e.g., 20% computation savings with the same or even a higher accuracy compared with SOTA dynamic transformer models.
MMA-Former: Multi-Window Mixture-of-Head Attention Transformer for Adaptive PNI Prediction in 3D MRI
Seoul National University(首尔国立大学);OUTTA;Chung-Ang University(Chung-Ang 大学);Samsung Medical Center, Sungkyunkwan University School of Medicine(三星医疗中心,全北大学医学院);Samsung Changwon Hospital(三星昌原医院);NVIDIA AI Technology Center(NVIDIA AI 技术中心)
Scene Graph-guided SegCaptioning Transformer with Fine-grained Alignment for Controllable Video Segmentation and Captioning
College of Computer Science and Electronic Engineering, Hunan University(湖南大学计算机科学与电子工程学院);School of Robotics and the National Engineering Research Center of Robot Visual Perception and Control Technology, Hunan University(机器人学院和机器人视觉感知与控制技术国家工程研究中心,湖南大学);School of Computing and Artificial Intelligence, Southwest Jiaotong University(计算机与人工智能学院,西南交通大学);CRRC Zhuzhou Institute Company Ltd.(中车株洲院有限公司);Nanyang Technological University(南洋理工大学)
Multi-Grained Query-Guided Set Prediction Network for Grounded Multimodal Named Entity Recognition
School of Artificial Intelligence, Sun Yat-sen University(中山大学人工智能学院);School of Atmospheric Sciences, Sun Yat-sen University(中山大学大气科学学院);School of Electronics and Communication Engineering, Sun Yat-sen University(中山大学电子与通信工程学院);State Key Laboratory of Intelligent Game, Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所智能游戏国家重点实验室);Pazhou Lab(琶洲实验室)