cs.CVMar 6, 2026

MoEMambaMIL: Structure-Aware Selective State Space Modeling for Whole-Slide Image Analysis

Authors: Dongqing Xie, Yonghuang Wu

Organizations: Tongji University · Fudan University

Abstract

Whole-slide image (WSI) analysis is challenging due to the gigapixel scale of slides and their inherent hierarchical multi-resolution structure. Existing multiple instance learning (MIL) approaches often model WSIs as unordered collections of patches, which limits their ability to capture structured dependencies between global tissue organization and local cellular patterns. Although recent State Space Models (SSMs) enable efficient modeling of long sequences, how to structure WSI tokens to fully exploit their spatial hierarchy remains an open problem.We propose MoEMambaMIL, a structure-aware SSM framework for WSI analysis that integrates region-nested selective scanning with mixture-of-experts (MoE) modeling. Leveraging multi-resolution preprocessing, MoEMambaMIL organizes patch tokens into region-aware sequences that preserve spatial containment across resolutions. On top of this structured sequence, we decouple resolution-aware encoding and region-adaptive contextual modeling via a combination of static, resolution-specific experts and dynamic sparse experts with learned routing. This design enables efficient long-sequence modeling while promoting expert specialization across heterogeneous diagnostic patterns. Experiments demonstrate that MoEMambaMIL achieves the best performance across 9 downstream tasks.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. KHiM-Mamba: Injecting Pathology Knowledge into Mamba via Hidden-State Modulation for Whole Slide Image Analysis

    Aug 14, 2026Qixiang Zhang, Yi Li, Tianqi Xiang +4Whole-Slide Image AnalysisState Space Models

  2. MambaBack: Bridging Local Features and Global Contexts in Whole Slide Image Analysis

    Apr 17, 2026Sicheng Chen, Chad Wong, Tianyi Zhang +3Efficient Neural Network InferenceMultiple Instance Learning

  3. Geometry-Aware State Space Model: A New Paradigm for Whole-Slide Image Representation

    May 6, 2026Enhui Chai, Sicheng Chen, Tianyi Zhang +4Histopathology Image ClassificationMultiple Instance Learning