[Paper Review] Image-to-Image MLP-mixer for Image Reconstruction
This paper proposes an image-to-image MLP-mixer architecture that outperforms U-Net and vision transformers in image reconstruction tasks like denoising and compressed sensing, without using convolutions or multi-resolution structures. By preserving spatial patch positions, the model achieves state-of-the-art performance with fewer parameters and linear parameter scaling relative to image resolution, even when trained on moderate datasets.
Neural networks are highly effective tools for image reconstruction problems such as denoising and compressive sensing. To date, neural networks for image reconstruction are almost exclusively convolutional. The most popular architecture is the U-Net, a convolutional network with a multi-resolution architecture. In this work, we show that a simple network based on the multi-layer perceptron (MLP)-mixer enables state-of-the art image reconstruction performance without convolutions and without a multi-resolution architecture, provided that the training set and the size of the network are moderately large. Similar to the original MLP-mixer, the image-to-image MLP-mixer is based exclusively on MLPs operating on linearly-transformed image patches. Contrary to the original MLP-mixer, we incorporate structure by retaining the relative positions of the image patches. This imposes an inductive bias towards natural images which enables the image-to-image MLP-mixer to learn to denoise images based on fewer examples than the original MLP-mixer. Moreover, the image-to-image MLP-mixer requires fewer parameters to achieve the same denoising performance than the U-Net and its parameters scale linearly in the image resolution instead of quadratically as for the original MLP-mixer. If trained on a moderate amount of examples for denoising, the image-to-image MLP-mixer outperforms the U-Net by a slight margin. It also outperforms the vision transformer tailored for image reconstruction and classical un-trained methods such as BM3D, making it a very effective tool for image reconstruction problems.
Motivation & Objective
- To develop a non-convolutional, non-multi-resolution neural network for image reconstruction that performs competitively with state-of-the-art convolutional models.
- To investigate whether MLP-based architectures can achieve superior performance in image reconstruction when trained on moderate-sized datasets.
- To evaluate the impact of preserving spatial position information in patch-based MLP architectures for image reconstruction.
- To compare the performance and parameter efficiency of the proposed image-to-image MLP-mixer against U-Net, vision transformers, and classical methods like BM3D.
Proposed method
- The model splits input images into non-overlapping P×P×3 patches and linearly projects each patch into a learnable embedding space of dimension C, preserving their relative spatial positions.
- It applies a modified MLP-mixer layer that separately mixes features across height, width, and channel dimensions using shared multilayer perceptrons with GeLU activation.
- The architecture incorporates positional inductive bias by maintaining the spatial order of patches, which improves performance over the original, position-agnostic MLP-mixer.
- The network uses a standard MLP-mixer block structure but is adapted for image-to-image translation by retaining spatial structure and using shared weights across patches.
- The model is trained end-to-end using standard optimization for image reconstruction tasks, including Gaussian and real-world noise denoising and compressed sensing.
- The architecture scales linearly with image resolution in terms of parameters, unlike the original MLP-mixer, which scales quadratically.
Experimental results
Research questions
- RQ1Can an MLP-mixer architecture without convolutions or multi-resolution design achieve state-of-the-art performance in image reconstruction tasks?
- RQ2How does preserving the relative spatial positions of image patches affect the performance of an MLP-based image reconstruction model?
- RQ3Does the proposed image-to-image MLP-mixer outperform U-Net and vision transformers when trained on moderate-sized datasets?
- RQ4What is the parameter efficiency and inference throughput of the proposed architecture compared to U-Net and other baselines?
- RQ5Can non-convolutional models compete with CNNs in image reconstruction without requiring massive training datasets?
Key findings
- The image-to-image MLP-mixer outperforms the U-Net by a slight margin in both synthetic and real-world denoising tasks, achieving 33.66 dB on the SIDD dataset compared to U-Net’s 33.13 dB.
- The model achieves 29.87 dB on Gaussian noise denoising, surpassing the U-Net (29.87 dB), ViT (29.14 dB), and the original MLP-mixer (27.36 dB).
- For compressed sensing MRI reconstruction, all models perform similarly, indicating no significant advantage for any architecture in this specific task.
- The image-to-image MLP-mixer requires fewer parameters than U-Net to achieve the same denoising performance, with parameter scaling linear in image resolution.
- Throughput measurements show the model is faster than DnCNN and comparable to ViT at batch size 1, though slower than U-Net and the original mixer.
- The performance gap between the image-to-image MLP-mixer and U-Net increases with larger training sets and model sizes, indicating stronger data efficiency gains at scale.
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.