KHiM-Mamba: Injecting Pathology Knowledge into Mamba via Hidden-State Modulation for Whole Slide Image Analysis
On the map: State-space sequence models (S4, Mamba) → Mamba for medical image analysis
Abstract (arXiv)
Whole slide image analysis is commonly formulated as multiple instance learning (MIL), where instance features are contextually updated and aggregated into a slide representation, a process we term slide encoding dynamics. Recently, selective state-space models (SSM) have emerged as promising MIL architectures due to their long-sequence modeling capability and linear complexity. However, existing SSM-based MIL methods rely solely on visual features during MIL. Meanwhile, in large-scale WSIs, where sparse diagnostically decisive regions are surrounded by abundant irrelevant information, such purely vision-driven selective dynamics can misallocate state updates and readouts, causing the evolving SSM state to accumulate task-irrelevant evidence and dilute critical diagnostic cues over long scan trajectories. In this work, we propose the Knowledge-Aware Hidden-State Modulation architecture (KHiM-Mamba), which innovatively regulates Mamba's core selective state-space mechanism with explicit knowledge priors, steering slide encoding dynamics toward diagnostically meaningful evidence accumulation. Specifically, we redesign the original SSM layer to perform knowledge modulation operations during the evolution of hidden states, thereby guiding what visual evidence is accumulated and retrieved from the hidden state at each encoding step. Furthermore, we additionally introduce a local-adaptive vocabulary retrieval module that uses large language models to assign each patch fine-grained, tissue-specific semantic descriptions, enabling precise modulation across diverse tasks. Experiments on 11 public benchmarks across 4 tasks show that KHiM-Mamba consistently achieves state-of-the-art performance.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Mamba for medical image analysis, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 18 of its 31 references that are in the map. First posted on arXiv 14 Aug 2026.
Builds on
18 of 31 references.
Closest ancestors · 2
Same direction, newest first
- 2024MambaMIL: Enhancing Long Sequence Modeling with Sequence Reordering in Computational Pathology11 Mar
- 2023Structured State Space Models for Multiple Instance Learning in Digital Pathology27 Jun
Other references · 16
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2025Qwen3 Technical Reportcited by 8,820
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2018Attention-based Deep Multiple Instance Learningcited by 1,095
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
- 2020Data Efficient and Weakly Supervised Computational Pathology on Whole Slide Imagescited by 745
- 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 555
- 2020Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification with Self-supervised Contrastive Learningcited by 478
- 2021BRACS: A Dataset for BReAst Carcinoma Subtyping in H&E Histology Imagescited by 132
- 2021Whole Slide Images are 2D Point Clouds: Context-Aware Survival Prediction using Patch-based Graph Convolutional Networkscited by 124
4 more
- 2023Interventional Bag Multi-Instance Learning On Whole-Slide Pathological Imagescited by 91
- 2024Interpretable Vision-Language Survival Analysis with Ordinal Inductive Bias for Computational Pathologycited by 14
- 2025Multiple Instance Learning Framework with Masked Hard Instance Mining for Gigapixel Histopathology Image Analysiscited by 1
- 2025MambaMIL+: Modeling Long-Term Contextual Patterns for Gigapixel Whole Slide Imagecited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MambaBack: Bridging Local Features and Global Contexts in Whole Slide Image Analysis
- 2024MamMIL: Multiple Instance Learning for Whole Slide Images with State Space Models
- 2024Mamba2MIL: State Space Duality Based Multiple Instance Learning for Computational Pathology
- 2026MoEMambaMIL: Structure-Aware Selective State Space Modeling for Whole-Slide Image Analysis
- 2025SemaMIL: Semantic-Aware Multiple Instance Learning with Retrieval-Guided State Space Modeling for Whole Slide Images
- 2025PathRWKV: Enhancing Whole Slide Image Inference with Asymmetric Recurrent Modeling
- 2024From Pixels to Gigapixels: Bridging Local Inductive Bias and Long-Range Dependencies with Pixel-Mamba
- 2026SSMamba: A Self-Supervised Hybrid State Space Model for Pathological Image Classification