Reproduce “DGMamba: Domain Generalization via Generalized State Space Model” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Shaocong Long, Qianyu Zhou, Xiangtai Li, Xuequan Lu, Chenhao Ying, Yuan Luo, Lizhuang Ma, Shuicheng Yan

DGMamba introduces a generalized State Space Model framework for domain generalization, utilizing Hidden State Suppressing and Semantic-aware Patch Refining to prevent domain-specific information accumulation and enhance object-centric learning. This framework achieved an average accuracy gain of 4.4% across five benchmarks, outperforming existing methods while maintaining computational efficiency.

Key insights

  • Mamba's hidden states, while effective for long-range dependencies, can undesirably accumulate and propagate domain-specific, non-semantic information, thus hindering generalization performance.
  • Conventional 1D scanning mechanisms used to adapt Mamba for 2D image processing can introduce fixed spatial priors and domain-specific information, making models sensitive to varying image scenarios in DG.
  • By selectively suppressing hidden states and dynamically altering context patches through shuffling or interchange, Mamba models can be compelled to learn more robust, domain-invariant, and object-centric features for improved generalization.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.