mlsanityData to 14 Oct 2026

Diverse Image Inpainting with Bidirectional and Autoregressive Transformers

arXiv 2104.12335 ↗First posted 26 Apr 2021cs.CVcited by 80

Not on the map. Why?

Abstract (arXiv)

Image inpainting is an underdetermined inverse problem, which naturally allows diverse contents to fill up the missing or corrupted regions realistically. Prevalent approaches using convolutional neural networks (CNNs) can synthesize visually pleasant contents, but CNNs suffer from limited perception fields for capturing global features. With image-level attention, transformers enable to model long-range dependencies and generate diverse contents with autoregressive modeling of pixel-sequence distributions. However, the unidirectional attention in autoregressive transformers is suboptimal as corrupted image regions may have arbitrary shapes with contexts from any direction. We propose BAT-Fill, an innovative image inpainting framework that introduces a novel bidirectional autoregressive transformer (BAT) for image inpainting. BAT utilizes the transformers to learn autoregressive distributions, which naturally allows the diverse generation of missing contents. In addition, it incorporates the masked language model like BERT, which enables bidirectionally modeling of contextual information of missing regions for better image completion. Extensive experiments over multiple datasets show that BAT-Fill achieves superior diversity and fidelity in image inpainting qualitatively and quantitatively.

Key facts. Cited by 80 papers in the map (data through 14 Oct 2026). Builds on 46 of its 68 references that are in the map. First posted on arXiv 26 Apr 2021.

Builds on

46 of 68 references.

References · 46

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  7. 2020End-to-End Object Detection with Transformerscited by 7,414
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  9. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,527
  10. 2013Auto-Encoding Variational Bayescited by 4,053
  11. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  12. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
34 more
  1. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  2. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
  3. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  4. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
  5. 2016Context Encoders: Feature Learning by Inpaintingcited by 1,428
  6. 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,299
  7. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  8. 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
  9. 2018Generative Image Inpainting with Contextual Attentioncited by 580
  10. 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
  11. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  12. 2016Learning from Simulated and Unsupervised Images through Adversarial Trainingcited by 288
  13. 2021Large Scale Image Completion via Co-Modulated Generative Adversarial Networkscited by 220
  14. 2019EdgeConnect: Generative Image Inpainting with Adversarial Edge Learningcited by 163
  15. 2019Pluralistic Image Completioncited by 162
  16. 2021High-Fidelity Pluralistic Image Completion with Transformerscited by 134
  17. 2019StructureFlow: Image Inpainting via Structure-aware Appearance Flowcited by 118
  18. 2021Generating Diverse Structure for Image Inpainting With Hierarchical VQ-VAEcited by 106
  19. 2020Rethinking Image Inpainting via a Mutual Encoder-Decoder with Feature Equalizationscited by 102
  20. 2020Bringing Old Photos Back to Lifecited by 95
  21. 2018ST-GAN: Spatial Transformer Generative Adversarial Networks for Image Compositingcited by 90
  22. 2018Shift-Net: Image Inpainting via Deep Feature Rearrangementcited by 87
  23. 2018ESIR: End-to-end Scene Text Recognition via Iterative Image Rectificationcited by 79
  24. 2021Defect-GAN: High-Fidelity Defect Synthesis for Automated Defect Inspectioncited by 77
  25. 2018Spatial Fusion GAN for Image Synthesiscited by 68
  26. 2017Towards Deeper Understanding of Variational Autoencoding Modelscited by 56
  27. 2020EMLight: Lighting Estimation via Spherical Distribution Approximationcited by 48
  28. 2020Cascade EF-GAN: Progressive Facial Expression Editing with Local Focusescited by 43
  29. 2020Guidance and Evaluation: Semantic-Aware Image Inpainting for Mixed Scenescited by 43
  30. 2019GA-DAN: Geometry-Aware Domain Adaptation Network for Scene Text Detection and Recognitioncited by 37
  31. 2021GMLight: Lighting Estimation via Geometric Distribution Approximationcited by 28
  32. 2020Adversarial Image Composition with Auxiliary Illuminationcited by 21
  33. 2020LEED: Label-Free Expression Editing via Disentanglementcited by 16
  34. 2019Spatial-Aware GAN for Unsupervised Person Re-identificationcited by 13

Built on by

Cited by year

Citing papers per year: 2021: 9; 2022: 28; 2023: 17; 2024: 20; 2025: 6.

80 papers.

Sort:

By area:

  1. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,430
  2. 2022Visual Prompting via Image Inpaintingcited by 250
  3. 2023TextDiffuser: Diffusion Models as Text Painterscited by 229
  4. 2022MAT: Mask-Aware Transformer for Large Hole Image Inpaintingcited by 218
  5. 2023Sequential Modeling Enables Scalable Learning for Large Vision Modelscited by 212
  6. 2024Is Sora a World Simulator? A Comprehensive Survey on General World Models and Beyondcited by 111
  7. 2022Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encodingcited by 83
  8. 2023Towards Coherent Image Inpainting Using Denoising Diffusion Implicit Modelscited by 61
  9. 2023Putting People in Their Place: Affordance-Aware Human Insertion into Scenescited by 53
  10. 2021Multimodal Image Synthesis and Editing: The Generative AI Eracited by 52
  11. 2023Regularized Vector Quantization for Tokenized Image Synthesiscited by 46
  12. 2021WaveFill: A Wavelet-based Generation Network for Image Inpaintingcited by 44
38 more
  1. 2024Deep Learning-based Image and Video Inpainting: A Surveycited by 44
  2. 2021Unbalanced Feature Transport for Exemplar-based Image Translationcited by 41
  3. 2024Structure Matters: Tackling the Semantic Discrepancy in Diffusion Models for Image Inpaintingcited by 40
  4. 2024Autoregressive Models in Vision: A Surveycited by 39
  5. 2022Masked Lip-Sync Prediction by Audio-Visual Contextual Exploitation in Transformerscited by 33
  6. 2021Blind Image Super-Resolution via Contrastive Representation Learningcited by 32
  7. 2022Modulated Contrast for Versatile Image Synthesiscited by 23
  8. 2025RORem: Training a Robust Object Remover with Human-in-the-Loopcited by 23
  9. 2023Image Inpainting via Tractable Steering of Diffusion Modelscited by 22
  10. 2022ZITS++: Image Inpainting by Improving the Incremental Transformer on Structural Priorscited by 21
  11. 2023Paste, Inpaint and Harmonize via Denoising: Subject-Driven Image Editing with Pre-Trained Diffusion Modelcited by 21
  12. 2021Bi-level Feature Alignment for Versatile Image Translation and Manipulationcited by 20
  13. 2022Marginal Contrastive Correspondence for Guided Image Generationcited by 19
  14. 2021Sparse Needlets for Lighting Estimation with Spherical Transport Losscited by 18
  15. 2022AutoLink: Self-supervised Learning of Human Skeletons and Object Outlines by Linking Keypointscited by 17
  16. 2022Learning Prior Feature and Attention Enhanced Image Inpaintingcited by 16
  17. 2022GLaMa: Joint Spatial and Frequency Loss for General Image Inpaintingcited by 15
  18. 2021GenCo: Generative Co-training for Generative Adversarial Networks with Limited Datacited by 14
  19. 2024Data-efficient Large Vision Models through Sequential Autoregressioncited by 14
  20. 2021EdiBERT, a generative model for image editingcited by 13
  21. 2022Delving Globally into Texture and Structure for Image Inpaintingcited by 13
  22. 2023Face Transformer: Towards High Fidelity and Accurate Face Swappingcited by 11
  23. 2024HINT: High-quality INPainting Transformer with Mask-Aware Encoding and Enhanced Attentioncited by 11
  24. 2024Text2Place: Affordance-aware Text Guided Human Placementcited by 11
  25. 2022Unbiased Multi-Modality Guidance for Image Inpaintingcited by 10
  26. 2023Transformer-based Generative Adversarial Networks in Computer Vision: A Comprehensive Surveycited by 10
  27. 2023IMProv: Inpainting-based Multimodal Prompting for Computer Vision Taskscited by 10
  28. 2022Enhancement of Novel View Synthesis Using Omnidirectional Image Completioncited by 9
  29. 2022Image Inpainting via Iteratively Decoupled Probabilistic Modelingcited by 9
  30. 2024Dream360: Diverse and Immersive Outdoor Virtual Scene Creation via Transformer-Based 360 Image Outpaintingcited by 9
  31. 2022End-to-End Visual Editing with a Generatively Pre-Trained Artistcited by 7
  32. 2023T-former: An Efficient Transformer for Image Inpaintingcited by 7
  33. 2024Transformer based Pluralistic Image Completion with Reduced Information Losscited by 7
  34. 2024View-consistent Object Removal in Radiance Fieldscited by 7
  35. 2022Few-shot Image Generation Using Discrete Content Representationcited by 6
  36. 2024Transformer-based Image and Video Inpainting: Current Challenges and Future Directionscited by 6
  37. 2022High-Quality Pluralistic Image Completion via Code Shared VQGANcited by 5
  38. 2023TransRef: Multi-Scale Reference Embedding Transformer for Reference-Guided Image Inpaintingcited by 5

50 most cited of 80 All 80 (JSON)