TL;DR
This paper introduces MIRNet-v2, a novel deep learning architecture for image restoration and enhancement that effectively balances preserving fine spatial details with capturing rich contextual information. By employing a multi-scale residual block with parallel convolutional streams and an attention-based fusion mechanism, MIRNet-v2 achieves state-of-the-art results across various tasks like deblurring, denoising, super-resolution, and low-light enhancement, while being significantly more efficient than its predecessor.
What Problem Does This Paper Address?
Image restoration and enhancement tasks, such as deblurring, denoising, and super-resolution, aim to recover high-quality images from degraded inputs. Traditional deep learning approaches often fall into two camps: full-resolution networks that excel at preserving spatial details but struggle with global context, or encoder-decoder networks that capture context well but lose fine spatial information during downsampling. This creates a trade-off, making it difficult to achieve both precise spatial accuracy and comprehensive contextual understanding simultaneously, which is crucial for realistic image restoration.
Methods
The core of MIRNet-v2 is its Multi-Scale Residual Block (MRB). This block features:
- Parallel Multi-Resolution Streams: Multiple convolutional streams operate at different spatial resolutions, allowing for the extraction of features at various scales. The main stream maintains high resolution to preserve spatial details, while parallel branches capture broader context.
- Selective Kernel Feature Fusion (SKFF): This novel module dynamically fuses features from different resolution streams. It uses an attention mechanism to recalibrate feature maps, effectively adapting receptive fields and combining information from various scales more intelligently than simple concatenation or averaging.
- Residual Contextual Block (RCB): This block is designed to extract salient contextual information within feature tensors. It employs group convolutions for efficiency and an attention mechanism to suppress less informative features, allowing only crucial contextual details to pass through.
- Progressive Training Regime: To improve training efficiency and speed, the network is trained on progressively larger image patches, starting with smaller ones and gradually increasing their size.
The overall pipeline involves an initial convolutional layer to extract low-level features, followed by several recursive residual groups (RRGs) composed of MRBs, and finally a convolutional layer to predict a residual image that is added to the input image.
Datasets
The paper evaluates MIRNet-v2 on several benchmark datasets for different tasks:
- Dual-pixel Defocus Deblurring: DPDD dataset (500 indoor/outdoor scenes).
- Image Denoising: SIDD [10] (smartphone camera images) and DND [118] (consumer camera images).
- Super-Resolution: RealSR [120] (real-world LR-HR image pairs).
- Image Enhancement: LoL [87] (low-light images) and MIT-Adobe FiveK [121] (diverse scenes with manual tonal adjustments).
Key Insights and Ideas
- The "Best of Both Worlds" Approach: The paper demonstrates that it's possible to achieve both high spatial detail preservation and rich contextual understanding by carefully designing a network architecture that explicitly handles multi-scale feature extraction and fusion.
- Attention for Feature Fusion: Using attention mechanisms (SKFF) for fusing features from different resolution streams is more effective than simple aggregation methods, allowing for dynamic adaptation of receptive fields and better feature recalibration.
- Efficiency Through Group Convolutions and Selective Fusion: The introduction of group convolutions in RCBs and the efficient SKFF module significantly reduce the model's parameters and computational cost compared to its predecessor (MIRNet), leading to faster training and inference.
- Progressive Training for Speed and Performance: The progressive training strategy not only speeds up the training process but also contributes to improved model performance, especially for tasks where varying image sizes are common.
Key Results
MIRNet-v2 achieves state-of-the-art results across all tested tasks:
- Dual-pixel Defocus Deblurring: Achieved the best PSNR and SSIM scores on the DPDD dataset, outperforming previous methods by significant margins (e.g., 0.86 dB PSNR improvement on indoor scenes over RDPD [16]).
- Image Denoising: Demonstrated superior performance on both SIDD and DND datasets, achieving higher PSNR and SSIM scores than recent methods, even when trained solely on SIDD and tested on DND, showcasing good generalization.
- Super-Resolution: Consistently outperformed existing methods on the RealSR dataset for ×2, ×3, and ×4 scaling factors, with notable gains in PSNR and SSIM.
- Image Enhancement: Achieved significant performance gains (e.g., 3.44 dB PSNR over KinD++ [137] on LoL dataset) and produced visually superior results with better color and contrast adjustments.
- Efficiency: MIRNet-v2 is significantly lighter and faster than MIRNet [9], reducing parameters by 81%, FLOPs by 82%, and inference time by 72%, while improving accuracy.
Limitations and Future Work
- Ablation Studies: The paper includes ablation studies that highlight the importance of each component (skip connections, SKFF, RCB). Removing skip connections led to the largest performance drop, indicating their critical role.
- Future Work: The authors suggest exploring further improvements by increasing the number of resolution streams and columns (RCB blocks) within the MRB, indicating potential for even better performance with larger models. The paper also implicitly suggests that the proposed architecture could be extended to other image restoration tasks.
Summary updated