[Paper Review] MAXIM: Multi-Axis MLP for Image Processing
MAXIM proposes a novel multi-axis MLP architecture for image processing that achieves state-of-the-art performance across diverse low-level vision tasks such as denoising, deblurring, deraining, dehazing, and enhancement. By leveraging a fully-convolutional, global-receptive-field design through multi-axis gated MLPs and a cross-gating block, MAXIM achieves superior results with fewer parameters and FLOPs than prior models.
Recent progress on Transformers and multi-layer perceptron (MLP) models provide new network architectural designs for computer vision tasks. Although these models proved to be effective in many vision tasks such as image recognition, there remain challenges in adapting them for low-level vision. The inflexibility to support high-resolution images and limitations of local attention are perhaps the main bottlenecks. In this work, we present a multi-axis MLP based architecture called MAXIM, that can serve as an efficient and flexible general-purpose vision backbone for image processing tasks. MAXIM uses a UNet-shaped hierarchical structure and supports long-range interactions enabled by spatially-gated MLPs. Specifically, MAXIM contains two MLP-based building blocks: a multi-axis gated MLP that allows for efficient and scalable spatial mixing of local and global visual cues, and a cross-gating block, an alternative to cross-attention, which accounts for cross-feature conditioning. Both these modules are exclusively based on MLPs, but also benefit from being both global and `fully-convolutional', two properties that are desirable for image processing. Our extensive experimental results show that the proposed MAXIM model achieves state-of-the-art performance on more than ten benchmarks across a range of image processing tasks, including denoising, deblurring, deraining, dehazing, and enhancement while requiring fewer or comparable numbers of parameters and FLOPs than competitive models. The source code and trained models will be available at \url{https://github.com/google-research/maxim}.
Motivation & Objective
- To address the limitations of Transformers and CNNs in low-level vision tasks, particularly their inflexibility with high-resolution images and restricted receptive fields.
- To develop a flexible, efficient, and general-purpose vision backbone that supports long-range interactions and dense prediction tasks.
- To replace attention mechanisms with pure MLP-based modules that maintain global context while scaling linearly with image size.
- To improve performance in image restoration tasks such as denoising, deblurring, deraining, dehazing, and enhancement through a multi-stage, multi-scale architecture.
Proposed method
- MAXIM employs a UNet-shaped, encoder-decoder architecture with a stack of MAXIM backbones for multi-scale, multi-stage supervision.
- It introduces a multi-axis gated MLP block that separately processes spatial grids and local blocks, enabling global and local feature mixing with linear complexity.
- The spatial gating unit applies gated MLPs along two axes (grid and block) to preserve long-range dependencies and support fully-convolutional operation.
- A cross-gating block replaces cross-attention by adaptively conditioning skip-connections using the same multi-axis approach, enabling global, parameter-efficient feature modulation.
- The model uses a multi-scale loss during training to enhance feature learning across different resolutions.
- The architecture is fully based on MLPs, avoiding self-attention and convolutional inductive biases, making it highly flexible for dense image processing.
Experimental results
Research questions
- RQ1Can a pure MLP-based architecture outperform attention-based models in low-level image restoration tasks?
- RQ2Can a multi-axis MLP design achieve global context modeling with linear complexity relative to image size?
- RQ3Can a fully-convolutional, MLP-based backbone effectively handle high-resolution image processing without patching or cropping artifacts?
- RQ4How does a cross-gating mechanism compare to cross-attention in modeling feature interactions in image restoration?
- RQ5Can a unified, lightweight architecture achieve state-of-the-art performance across diverse image processing benchmarks?
Key findings
- MAXIM achieves state-of-the-art performance on more than ten benchmarks across denoising, deblurring, deraining, dehazing, and enhancement tasks.
- On the SIDD dataset for image denoising, MAXIM improves PSNR by +0.24 dB over prior SOTA.
- For image deblurring on GoPro, MAXIM achieves a +0.15 dB PSNR gain over the previous best model.
- On Rain100L for deraining, MAXIM achieves a +0.86 dB PSNR improvement, significantly outperforming prior methods.
- For image dehazing on RESIDE, MAXIM achieves a +0.94 dB PSNR gain, demonstrating strong performance on complex degradation.
- In image retouching on FiveK, MAXIM achieves a +1.15 dB PSNR improvement, indicating strong generalization and detail recovery.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.