Reproduce “Generating Diverse Structure for Image Inpainting With Hierarchical VQ-VAE” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jialun Peng, Dong Liu, Songcen Xu, Houqiang Li

A two-stage method for diverse image inpainting generates high-quality, varied completions by employing a hierarchical VQ-VAE to produce diverse structural features before synthesizing realistic textures. This approach achieves superior perceptual quality, reflected by an FID of 9.784 on CelebA-HQ, while maintaining diversity comparable to prior multi-solution techniques.

Key insights

  • Explicitly disentangling image generation into structure and texture stages using a hierarchical VQ-VAE effectively addresses the quality-diversity trade-off in diverse inpainting.
  • Autoregressive modeling of discrete latent structural features, conditioned on the incomplete image, allows for the generation of a wider range of plausible and diverse structural priors.
  • A novel Structural Attention Module, which computes attention directly on high-level structural features, significantly enhances consistency between synthesized textures and generated structures, improving long-range dependency modeling.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.