Skip to main content
QUICK REVIEW

[论文解读] RSMamba: Remote Sensing Image Classification with State Space Model

Keyan Chen, Bowen Chen|arXiv (Cornell University)|Mar 28, 2024
Remote-Sensing Image ClassificationEngineering被引用 3
一句话总结

RSMamba 提出了一种基于状态空间模型的新型架构,用于遥感图像分类,通过引入动态多路径激活机制,在保持线性复杂度和硬件效率的同时,增强了原始 Mamba 模型对非因果、二维图像数据的建模能力。该方法在多个遥感数据集上实现了最先进性能,展现出作为未来视觉基础模型骨干网络的强大潜力。

ABSTRACT

Remote sensing image classification forms the foundation of various understanding tasks, serving a crucial function in remote sensing image interpretation. The recent advancements of Convolutional Neural Networks (CNNs) and Transformers have markedly enhanced classification accuracy. Nonetheless, remote sensing scene classification remains a significant challenge, especially given the complexity and diversity of remote sensing scenarios and the variability of spatiotemporal resolutions. The capacity for whole-image understanding can provide more precise semantic cues for scene discrimination. In this paper, we introduce RSMamba, a novel architecture for remote sensing image classification. RSMamba is based on the State Space Model (SSM) and incorporates an efficient, hardware-aware design known as the Mamba. It integrates the advantages of both a global receptive field and linear modeling complexity. To overcome the limitation of the vanilla Mamba, which can only model causal sequences and is not adaptable to two-dimensional image data, we propose a dynamic multi-path activation mechanism to augment Mamba's capacity to model non-causal data. Notably, RSMamba maintains the inherent modeling mechanism of the vanilla Mamba, yet exhibits superior performance across multiple remote sensing image classification datasets. This indicates that RSMamba holds significant potential to function as the backbone of future visual foundation models. The code will be available at \url{https://github.com/KyanChen/RSMamba}.

研究动机与目标

  • 解决在不同时空分辨率下对复杂多样的遥感场景进行分类的挑战。
  • 克服原始 Mamba 模型仅限于因果、单向序列建模且缺乏位置敏感性的局限。
  • 开发一种高效、全局感受野强且硬件友好的架构,在保持线性复杂度的同时,提升遥感图像的语义特征抽象能力。
  • 通过结合全局上下文建模与计算效率,实现遥感视觉模型的大规模预训练。
  • 为未来遥感应用中的视觉基础模型建立一个稳健且可扩展的骨干网络。

提出的方法

  • 将遥感图像划分为重叠的图像块标记,并应用位置编码以保留空间关系。
  • 构建三条并行序列——前向、反向和随机打乱序列,以实现图像特征的多方向、非因果建模。
  • 对每条路径应用共享的 Mamba 块,利用状态空间机制以线性复杂度建模长距离依赖关系。
  • 引入可学习门控机制,自适应地融合来自不同路径的特征,替代简单的平均操作以提升性能。
  • 使用平均池化或分类标记进行分类头集成,消融实验表明平均池化可加速收敛。
  • 在保持原始 Mamba 块内部结构不变的前提下,通过路径多样性与位置编码的外部增强,提升其建模能力。

实验结果

研究问题

  • RQ1能否在不牺牲效率的前提下,有效将类似 Mamba 的状态空间模型适配到非因果、二维遥感图像数据上?
  • RQ2与单向或平均方法相比,多路径扫描(前向、反向、随机)在建模能力上有哪些提升?
  • RQ3在基于序列的二维图像模型中,位置编码在多大程度上提升了性能?
  • RQ4标记数量和图像块重叠程度如何影响分类准确率与特征表示?
  • RQ5RSMamba 是否能在保持线性复杂度的同时,超越现有的 CNN 和基于 Transformer 的模型在遥感图像分类中的表现?

主要发现

  • 在 EuroSAT 数据集上,RSMamba 使用平均池化和全部三条扫描路径及门控机制,实现了 91.66% 的测试 F1 分数。
  • 引入位置编码后,性能从无编码时的 90.25% 提升至可学习编码的 92.02%,证明其在空间建模中的价值。
  • 使用步长为 8 的重叠图像块(224×224,k=16)将准确率提升至 92.02% 的 F1 分数,而使用非重叠图像块(步长 16)时仅为 89.38%。
  • 将输入分辨率从 224×224 提升至 384×384 后,F1 分数提升至 92.16%,表明更大的感受野和更多标记有助于增强特征抽象能力。
  • 采用门控的动态多路径机制优于简单平均,F1 分数达到 90.07%(对比平均池化的 88.61%),证明自适应融合更有效。
  • RSMamba 在三个多样化的遥感数据集上均保持了强劲性能,分类准确率超越了当前最先进水平的 CNN 和基于 Transformer 的模型。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。