[Paper Review] WavePaint: Resource-efficient Token-mixer for Self-supervised Inpainting
WavePaint proposes a resource-efficient, fully convolutional image inpainting model based on WaveMix architecture, using 2D discrete wavelet transforms (DWT) and depth-wise convolutions for efficient spatial and multi-resolution token-mixing. It achieves state-of-the-art reconstruction quality on CelebA-HQ with under 5M parameters—outperforming larger models like LaMa (27M) and CoModGAN (109M)—while using less than half the parameters, significantly faster training/inference, and no adversarial or diffusion training.
Image inpainting, which refers to the synthesis of missing regions in an image, can help restore occluded or degraded areas and also serve as a precursor task for self-supervision. The current state-of-the-art models for image inpainting are computationally heavy as they are based on transformer or CNN backbones that are trained in adversarial or diffusion settings. This paper diverges from vision transformers by using a computationally-efficient WaveMix-based fully convolutional architecture -- WavePaint. It uses a 2D-discrete wavelet transform (DWT) for spatial and multi-resolution token-mixing along with convolutional layers. The proposed model outperforms the current state-of-the-art models for image inpainting on reconstruction quality while also using less than half the parameter count and considerably lower training and evaluation times. Our model even outperforms current GAN-based architectures in CelebA-HQ dataset without using an adversarially trainable discriminator. Our work suggests that neural architectures that are modeled after natural image priors require fewer parameters and computations to achieve generalization comparable to transformers.
Motivation & Objective
- To develop a computationally efficient image inpainting model that avoids the high resource demands of vision transformers and GANs.
- To explore the use of 2D-DWT-based token-mixing as a low-cost alternative to self-attention for global context aggregation in image restoration.
- To leverage natural image priors—such as scale invariance and multi-resolution structure—through architectural design to reduce parameter and computation needs.
- To achieve competitive inpainting performance without adversarial or diffusion-based training, which are slow and data-intensive.
- To demonstrate that models grounded in image priors can generalize effectively with fewer parameters and faster inference than transformer- or GAN-based approaches.
Proposed method
- Employs a fully convolutional architecture based on WaveMix, using 2D-discrete wavelet transform (DWT) for parameter-free, lossless spatial downsampling and multi-resolution feature mixing.
- Integrates depth-wise convolution layers after each WaveMix block to further enhance spatial token-mixing with minimal parameter increase.
- Uses multi-level 2D-DWT across multiple stages to exponentially expand the effective receptive field without increasing computational cost quadratically.
- Applies a single-stage, end-to-end training paradigm without discriminators or diffusion schedulers, relying on pixel-wise reconstruction loss.
- Adapts the WaveMix block structure to image inpainting by conditioning on masked input images, with the mask explicitly provided as input.
- Optimizes model efficiency by using a modular design with 4 WaveMix blocks per module, balancing parameter count and performance.

Experimental results
Research questions
- RQ1Can a wavelet-based token-mixer architecture achieve competitive image inpainting performance with significantly fewer parameters than vision transformers or GANs?
- RQ2Does incorporating multi-resolution, scale-invariant priors via 2D-DWT improve generalization and reconstruction quality in image inpainting without adversarial training?
- RQ3To what extent can depth-wise convolution enhance feature mixing in a DWT-based architecture without increasing model size?
- RQ4How does the modular arrangement of WaveMix blocks affect the trade-off between model size, inference speed, and reconstruction fidelity?
- RQ5Can a lightweight, non-adversarial model outperform larger, more complex models like LaMa and CoModGAN in terms of FID and speed while using fewer resources?
Key findings
- WavePaint with 5M parameters outperforms LaMa (27M parameters) on CelebA-HQ in FID score across narrow, medium, and wide masks, demonstrating superior sample quality with significantly fewer parameters.
- WavePaint achieves ~3× faster training and inference speed than LaMa and consumes less than half the GPU memory, highlighting its efficiency advantage.
- Removing the depth-wise convolution layer increases training and inference throughput by 14% but degrades FID by 38%, showing its critical role in performance despite minimal parameter cost.
- Using 4 WaveMix blocks per module achieves optimal balance—maintaining high performance (FID ≈ 0.079) while keeping parameter count low (4.0M) compared to configurations with fewer or more blocks.
- WavePaint achieves state-of-the-art reconstruction quality on CelebA-HQ without adversarial training, outperforming GAN-based models like CoModGAN in FID and inference speed.
- Multi-level 2D-DWT improves model performance due to exponential receptive field growth, with higher DWT levels yielding better results on both CelebA-HQ and ImageNet datasets.

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.