Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

MatIR: A Hybrid Mamba-Transformer Image Restoration Model

About

In recent years, Transformers-based models have made significant progress in the field of image restoration by leveraging their inherent ability to capture complex contextual features. Recently, Mamba models have made a splash in the field of computer vision due to their ability to handle long-range dependencies and their significant computational efficiency compared to Transformers. However, Mamba currently lags behind Transformers in contextual learning capabilities. To overcome the limitations of these two models, we propose a Mamba-Transformer hybrid image restoration model called MatIR. Specifically, MatIR cross-cycles the blocks of the Transformer layer and the Mamba layer to extract features, thereby taking full advantage of the advantages of the two architectures. In the Mamba module, we introduce the Image Inpainting State Space (IRSS) module, which traverses along four scan paths to achieve efficient processing of long sequence data. In the Transformer module, we combine triangular window-based local attention with channel-based global attention to effectively activate the attention mechanism over a wider range of image pixels. Extensive experimental results and ablation studies demonstrate the effectiveness of our approach.

Juan Wen, Weiyan Hou, Luc Van Gool, Radu Timofte• 2025

Related benchmarks

TaskDatasetResultRank
Image DerainingRain100L
PSNR39.09
249
Image Deraining1200 (test)
PSNR33.33
48
Image DerainingRain100H
PSNR31.66
14
Image DerainingTest2800
PSNR34.01
13
Showing 4 of 4 rows

Other info

Follow for update