首页|期刊导航|计算机科学与探索|视觉Mamba:结构、应用与前景

视觉Mamba:结构、应用与前景OA

Visual Mamba:Structure,Practice,and Prospects

中文摘要英文摘要

传统卷积神经网络(CNN)因感受野受限难以建模全局特征,视觉Transformer虽具备序列建模优势,却面临二次计算复杂度的问题,给图像处理提出了严峻的计算挑战.为此,研究者开始探索兼具高效计算与全局感知能力的新型架构,基于状态空间模型(SSM)的视觉Mamba模型保留序列建模能力的同时能够实现线性计算复杂度下的全局上下文建模,标志着基于状态空间模型的视觉建模迈入新阶段.详细介绍视觉Mamba块的基本框架,包括由残差模块、二维选择性扫描(SS2D)模块与前馈网络(FFN)构成的双残差结构,分析了 SS2D模块中跨扫描、S6块处理与跨融合的工作机制.从扫描、堆叠和混合结构等三个方面对视觉Mamba模型进行分析和探讨,扫描方式包括顺序扫描与动态扫描,对比分析了不同扫描策略的优劣;堆叠方式分为串行Mamba、并行Mamba、U型Mamba和图Mamba四类,详解各类堆叠结构的网络构建逻辑及在多尺度特征提取、长距离依赖建模中的适配性;混合结构聚焦在与CNN、Transformer、注意力机制的融合形式,包括单一模块融合与多模块协同架构,分析各模型优缺点.通过分析指出,视觉Mamba模型解决了 CNN的局部感知限制和Transformer的二次项计算复杂度,在视觉任务中优于主流基础架构,展现出了成为视觉基础架构的巨大潜力.

Traditional convolutional neural networks(CNNs)struggle to model global features due to their limited recep-tive field.Though vision Transformers(ViTs)possess the advantage of sequence modeling,they face the issue of quadratic computational complexity,posing severe computational challenges for image processing.In response,researchers have begun exploring new architectures that combine efficient computation with global perception capabilities.The visual Mamba model,based on state space models(SSMs),enables global context modeling under linear computational complexity while retaining sequence modeling capabilities,marking a new stage in vision modeling based on state space models.This paper elaborates on the basic framework of the visual Mamba block,including its dual residual structure composed of residual modules,2D selective scan(SS2D)modules,and feed-forward networks(FFN).It analyzes the working mech-anisms of cross-scanning,S6 block processing,and cross-fusion within the SS2D module.The visual Mamba model is explored from three aspects:scanning methods,stacking methods,and hybrid architectures.Scanning methods include sequential scanning and dynamic scanning,with a comparative analysis of the advantages and disadvantages of different scanning strategies.Stacking methods are categorized into serial Mamba,parallel Mamba,U-shaped Mamba,and graph Mamba,with a detailed analysis on the network construction logic of each stacking structure and its adaptability in multi-scale feature extraction and long-range dependency modeling.Hybrid architectures focus on fusion forms with CNNs,Trans-formers,and attention mechanisms,including single-module fusion and multi-module collaborative architectures,along with an analysis of the strengths and weaknesses of each model.Through analysis,it is pointed out that the visual Mamba model overcomes the local perception limitation of CNNs and the quadratic computational complexity of Transformers.It outperforms mainstream backbone architectures in visual tasks and demonstrates tremendous potential to become a funda-mental visual backbone.

张鑫;智敏;萨茹拉;阿日木扎

内蒙古师范大学计算机科学技术学院,呼和浩特 010022内蒙古师范大学计算机科学技术学院,呼和浩特 010022内蒙古师范大学计算机科学技术学院,呼和浩特 010022内蒙古师范大学计算机科学技术学院,呼和浩特 010022

信息技术与安全科学

视觉Mamba扫描方式堆叠方式混合结构

visual Mambascanning methodstacking methodhybrid architecture

《计算机科学与探索》 2026 (1)

66-78,13

内蒙古自然科学基金(2023MS06009)呼和浩特市基础与应用基础研究项目(2024-Gui-Ji-22).This work was supported by the Natural Science Foundation of Inner Mongolia(2023MS06009),and the Basic and Applied Basic Research Project of Hohhot(2024-Gui-Ji-22).

10.3778/j.issn.1673-9418.2503061

评论