PH-Mamba: Enhancing Mamba With Position Encoding and Harmonized Attention for Image Deraining and Beyond
Kui Jiang, Junjun Jiang, Xianming Liu, Hongxun Yao, Chia‐Wen Lin
Harbin Institute of Technology · National Tsing Hua University
Key points
From the paper's conclusion- To this end, we propose PH-Mamba, a novel framework integrating position encoding and harmonized attention for image deraining and beyond.
Abstract
Mamba and its variants excel at modeling long-range dependencies with linear computational complexity, making them effective for diverse vision tasks. However, Mamba's reliance on unfolding 1D sequential representations necessitates multiple directional scans to recover lost spatial dependencies. This introduces significant computational overhead, redundant token traversal, and inefficiencies that compromise accuracy in real-world applications. To this end, we propose PH-Mamba, a novel framework integrating position encoding and harmonized attention for image deraining and beyond. PH-Mamba transforms Mamba's scanning process into a position-guided, unidirectional scanning that selectively prioritizes degradation-relevant tokens. Specifically, we devise a position-guided hybrid Mamba module (PHMM) that jointly encodes perturbation features alongside their spatial coordinates and harmonized representation to model consistent degradation patterns. Within PHMM, a harmonized Transformer is developed to focus on uncertain regions while suppressing noise interference, thereby improving spatial modeling fidelity. Additionally, we employ a vector decomposition and synthesis strategy to enable the unified representation layout to global degradation by directional scanning while minimizing redundancy. By cascading multiple PHMM blocks, PH-Mamba combines global positional guidance with local differential features to strengthen contextual learning. Extensive experiments demonstrate the superiority of PH-Mamba across low-level image restoration benchmarks. For example, compared to NeRD, PH-Mamba achieves a 0.60 dB PSNR improvement while requiring 88.9% fewer parameters, 36.2% less computation, and 63.0% faster inference time.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Mitigating over-smoothing in Mamba via high-frequency-guided feature optimization for medical image segmentation.Biomedical physics & engineering express · 2026
- FLAME: Flow Guidance and Adaptive Frequency Fusion for All-in-One Mamba-Enhanced Video Restoration.IEEE transactions on image processing : a publication of the IEEE Signal Processing Society · 2026
- HiMambaMap: A Hilbert-Scanning Mamba Diffusion Network for Online Map Generation from Remote Sensing ImageryRemote Sensing · 2026
- CIHM: context-insight hybrid Mamba for efficient medical image segmentationVisual Intelligence · 2026
- InceptionMamba: A Lightweight and Effective Model for Medical Image Classification Revealing Mamba’s Low-Frequency BiasNeural Processing Letters · 2026
- DIG-MambaNet: A Dual-Path Interactive Guided Mamba Network for Medical Image Segmentation.Journal of imaging · 2026