WavePaint: Resource-efficient Token-mixer for Self-supervised Inpainting

Pranav Jeevan, Dharshan Sampath Kumar, Amit Sethi
7/1/2023
10 citations
cs.CVcs.AI
transformer-attentioncontrastive-ssl

Official code: pranavphoenix/WavePaint (27 stars, Python, MIT, PyTorch, last commit 2024-09-15).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Wavelet-based Image InPainting Model

275PythonJun 25, 20232 years agoMIT
cnncomputer-visiondeep-neural-networksimage-generationimage-inpainting+6 more

Similar Papers

Cite this paper

@article{jeevan2023wavepaint,
  title  = {WavePaint: Resource-efficient Token-mixer for Self-supervised Inpainting},
  author = {Pranav Jeevan and Dharshan Sampath Kumar and Amit Sethi},
  year   = {2023},
  eprint = {2307.00407},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.00407v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.00407.svg)](https://codeofpaper.com/paper/2307.00407)

Discussion