Abstract
Recent Mamba-based image restoration methods have achieved promising results but remain limited by fixed scanning patterns and inefficient feature utilization. Conventional Mamba architectures rely on predetermined paths that cannot adapt to diverse degradations, constraining both restoration performance and computational efficiency. To overcome these limitations, we propose VAMamba, a Visual Adaptive Mamba framework with two key innovations. First, QCLAM (Queue-based Cache Low-rank Adaptive Memory) enhances feature learning through a FIFO cache that stores historical representations. Similarity between current LoRA-adapted and cached features guides intelligent fusion, enabling dynamic reuse while effectively controlling memory growth. Second, GPS-SS2D (Greedy Path Scan SS2D) introduces adaptive scanning. A Vision Transformer generates score maps to estimate pixel importance, and a greedy strategy determines optimal forward and backward scanning paths. The integration of QCLAM and GPS-SS2D allows VAMamba to adaptively focus on degraded regions while maintaining high computational efficiency. Extensive experiments across diverse restoration tasks demonstrate that VAMamba consistently outperforms existing approaches, establishing new benchmarks for adaptive image restoration.
Introduction
Image restoration—tasks like removing rain, noise, or blur—requires a delicate balance between local pattern recognition and global context. While Convolutional Neural Networks (CNNs) excel at local features, they have a limited receptive field. Transformers capture global context but suffer from quadratic computational costs as image resolution increases.
Recently, the Mamba architecture (based on State Space Models) emerged as a linear-complexity solution. However, existing Mamba models typically use fixed, "content-blind" scanning paths that treat all image regions with the same priority. VAMamba aims to make Mamba adaptive and memory-efficient by introducing content-aware scanning and intelligent feature caching.
Methodology
The VAMamba framework introduces two primary innovations:
- GPS-SS2D (Greedy Path Scan SS2D): Instead of scanning an image in a rigid pattern, VAMamba uses a lightweight Vision Transformer (ViT) to generate an "importance score map." A greedy algorithm then plans a custom scanning trajectory that prioritizes degraded or information-dense regions, focusing computational energy where it is needed most.
- QCLAM (Queue-based Cache Low-rank Adaptive Memory): To handle memory bottlenecks in high-resolution images, the authors implemented a FIFO cache. Using Low-Rank Adaptation (LoRA), the model compares current features to cached ones. If a similar pattern was processed earlier, the model fuses that knowledge, reducing redundant computations and memory usage by up to 23.5% for 4K images.
Key Results
VAMamba consistently established new benchmarks across five major restoration tasks, demonstrating both superior visual quality and computational efficiency.
Quantitative Performance
In image denoising benchmarks, VAMamba outperformed established models like SwinIR and Restormer, particularly on complex datasets like Urban100.
In deraining tasks, VAMamba achieved state-of-the-art results. Notably, on the Rain100L dataset, it reached a PSNR of 39.90 dB, surpassing previous leaders like FourierMamba (39.73 dB).
Efficiency and Downstream Impact
The model is highly efficient; for dehazing, it achieves a PSNR of 40.63 dB with an inference time of just 0.29 seconds. Furthermore, images restored by VAMamba have been shown to improve the accuracy of downstream tasks like object detection in adverse weather conditions.
Conclusion
VAMamba represents a significant step forward for State Space Models in computer vision. By replacing rigid scanning with adaptive trajectories and implementing an intelligent memory cache, it overcomes the "content-blind" limitations of previous Mamba architectures. The result is a highly efficient, state-of-the-art framework capable of handling diverse and high-resolution image restoration challenges.
Summary updated