Lune

CVPR2022顶会

Reduce Information Loss in Transformers for Pluralistic Image Inpainting

Qiankun Liu, Zhentao Tan, Dongdong Chen, Qi Chu, Xiyang Dai, Yinpeng Chen, Mengchen Liu, Lu Yuan, Nenghai Yu

摘要

Transformers have achieved great success in pluralistic image inpainting recently. However, we find existing transformer based solutions regard each pixel as a token, thus suffer from information loss issue from two aspects: 1) They downsample the input image into much lower resolutions for efficiency consideration, incurring information loss and extra misalignment for the boundaries of masked regions. 2) They quantize 256 3 RGB pixels to a small number (such as 512) of quantized pixels. The indices of quantized pixels are used as tokens for the inputs and prediction targets of transformer. Although an extra CNN network is used to upsample and refine the low-resolution results, it is difficult to retrieve the lost information back. To keep input information as much as possible, we propose a new transformer based framework "PUT". Specifically, to avoid input downsampling while maintaining the computation efficiency, we design a patch-based auto-encoder P-VQVAE, where the encoder converts the masked image into non-overlapped patch tokens and the decoder recovers the masked regions from the inpainted tokens while keeping the unmasked regions unchanged. To eliminate the information loss caused by quantization, an Un-Quantized Transformer (UQ-Transformer) is applied, which directly takes the features from P-VQVAE encoder as input without quantization and regards the quantized tokens only as prediction targets. Extensive experiments show that PUT greatly outperforms state-of-the-art methods on image fidelity, especially for large masked regions and complex large-scale datasets.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Mobile-Former: Bridging MobileNet and Transformer 引用了 CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
  • Continuously Masked Transformer for Image Inpainting 引用了 Free-Form Image Inpainting With Gated Convolution
  • Learning Image-Adaptive Codebooks for Class-Agnostic Image Restoration 引用了 Free-Form Image Inpainting With Gated Convolution
  • Zero-Shot Text-to-Image Generation 引用了 Generative Pretraining From Pixels
  • Uni-ControlNet: All-in-One Control to Text-to-Image Diffusion Models 引用了 Generative Pretraining From Pixels
  • Uni-ControlNet: All-in-One Control to Text-to-Image Diffusion Models 引用了 Zero-Shot Text-to-Image Generation
  • Generative Image Inpainting with Segmentation Confusion Adversarial Training and Contrastive Learning 引用了 Free-Form Image Inpainting With Gated Convolution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Uni-ControlNet: All-in-One Control to Text-to-Image Diffusion ModelsShihao Zhao, Dongdong Chen, Yen-Chun Chen, Jianmin Bao 等NeurIPS 2023 · 505 次引用
  2. Continuously Masked Transformer for Image InpaintingKeunsoo Ko, Chang-Su KimICCV 2023 · 54 次引用
  3. Generative Image Inpainting with Segmentation Confusion Adversarial Training and Contrastive LearningZhiwen Zuo, Lei Zhao, Ailin Li, Zhizhong Wang 等AAAI 2023 · 36 次引用
  4. BVINet: Unlocking Blind Video Inpainting With Zero AnnotationsZhiliang Wu, Kerui Chen, Kun Li, Hehe Fan 等ICCV 2025 · 30 次引用
  5. Learning Image-Adaptive Codebooks for Class-Agnostic Image RestorationKechun Liu, Yitong Jiang, Inchang Choi, Jinwei GuICCV 2023 · 24 次引用

它引用的 Paper20

  1. Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray 等ICML 2021 · 6,356 次引用
  2. Free-Form Image Inpainting With Gated ConvolutionJiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen 等ICCV 2019 · 1,990 次引用
  3. Generative Pretraining From PixelsMark Chen, Alec Radford, Rewon Child, Jeffrey Wu 等ICML 2020 · 1,773 次引用
  4. CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped WindowsXiaoyi Dong, Jianmin Bao, Dongdong Chen, Weiming Zhang 等CVPR 2022 · 1,207 次引用
  5. Mobile-Former: Bridging MobileNet and TransformerYinpeng Chen, Xiyang Dai, Dongdong Chen, Mengchen Liu 等CVPR 2022 · 600 次引用

相关 Paper

  1. Don't Look into the Dark: Latent Codes for Pluralistic Image InpaintingHaiwei Chen, Yajie ZhaoCVPR 2024
  2. MAT: Mask-Aware Transformer for Large Hole Image InpaintingWenbo Li, Zhe Lin, Kun Zhou, Lu Qi 等CVPR 2022 · 382 次引用
  3. Delving Globally into Texture and Structure for Image InpaintingHaipeng Liu, Yang Wang, Meng Wang, Yong RuiACM MM 2022 · 26 次引用
  4. WaveFormer: Wavelet Transformer for Noise-Robust Video InpaintingZhiliang Wu, Changchang Sun, Hanyu Xuan, Gaowen Liu 等AAAI 2024 · 85 次引用
  5. Diverse Image Inpainting with Bidirectional and Autoregressive TransformersYingchen Yu, Fangneng Zhan, Rongliang Wu, Jianxiong Pan 等ACM MM 2021 · 153 次引用
黄昏的海面,两侧是细线勾勒的悬崖