VSSD:具有非因果状态空间对偶性的 Vision Mamba
VSSD: Vision Mamba with Non-Causal State Space Duality
AI总结:
本文提出 VSSD,通过去除交互幅度并结合多扫描构建非因果 SSD,在分类、检测和分割基准上超越现有 SSM 模型。
摘要:
Vision Transformer 显著推动了计算机视觉领域的发展,提供了强大的建模能力和全局感受野。然而,其高昂的计算需求限制了它们在处理长序列时的适用性。为解决这一问题,状态空间模型(SSM)因具有线性计算复杂度而在视觉任务中受到重视。最近,Mamba2 引入了状态空间对偶性(SSD)这一 SSM 的改进变体,以提升模型性能和效率。但是,SSD/SSM 固有的因果特性限制了其在非因果视觉任务中的应用。为克服这一局限,我们提出视觉状态空间对偶性(VSSD)模型,它采用非因果形式的 SSD。具体而言,我们建议丢弃隐状态与 token 之间交互的幅度,同时保留其相对权重,从而缓解 token 贡献对先前 token 的依赖。结合多扫描策略,我们证明扫描结果可以被整合以实现非因果性,这不仅提升了 SSD 在视觉任务中的性能,也增强了其效率。我们在包括图像分类、检测和分割在内的多种基准上进行了大量实验,VSSD 在这些实验中超越了现有的最先进基于 SSM 的模型。代码和权重可在 https://github.com/YuHengsss/VSSD 获取。
英文摘要:
Vision transformers have significantly advanced the field of computer vision, offering robust modeling capabilities and global receptive field. However, their high computational demands limit their applicability in processing long sequences. To tackle this issue, State Space Models (SSMs) have gained prominence in vision tasks as they offer linear computational complexity. Recently, State Space Duality (SSD), an improved variant of SSMs, was introduced in Mamba2 to enhance model performance and efficiency. However, the inherent causal nature of SSD/SSMs restricts their applications in non-causal vision tasks. To address this limitation, we introduce Visual State Space Duality (VSSD) model, which has a non-causal format of SSD. Specifically, we propose to discard the magnitude of interactions between the hidden state and tokens while preserving their relative weights, which relieves the dependencies of token contribution on previous tokens. Together with the involvement of multi-scan strategies, we show that the scanning results can be integrated to achieve non-causality, which not only improves the performance of SSD in vision tasks but also enhances its efficiency. We conduct extensive experiments on various benchmarks including image classification, detection, and segmentation, where VSSD surpasses existing state-of-the-art SSM-based models. Code and weights are available at \url{https://github.com/YuHengsss/VSSD}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。