TransRef: Multi-Scale Reference Embedding Transformer for Reference-Guided Image Inpainting
Not on the map. Why?
Abstract (arXiv)
Image inpainting for completing complicated semantic environments and diverse hole patterns of corrupted images is challenging even for state-of-the-art learning-based inpainting methods trained on large-scale data. A reference image capturing the same scene of a corrupted image offers informative guidance for completing the corrupted image as it shares similar texture and structure priors to that of the holes of the corrupted image. In this work, we propose a transformer-based encoder-decoder network, named TransRef, for reference-guided image inpainting. Specifically, the guidance is conducted progressively through a reference embedding procedure, in which the referencing features are subsequently aligned and fused with the features of the corrupted image. For precise utilization of the reference features for guidance, a reference-patch alignment (Ref-PA) module is proposed to align the patch features of the reference and corrupted images and harmonize their style differences, while a reference-patch transformer (Ref-PT) module is proposed to refine the embedded reference feature. Moreover, to facilitate the research of reference-guided image restoration tasks, we construct a publicly accessible benchmark dataset containing 50K pairs of input and reference images. Both quantitative and qualitative evaluations demonstrate the efficacy of the reference information and the proposed method over the state-of-the-art methods in completing complex holes. Code and dataset can be accessed at https://github.com/Cameltr/TransRef.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 46 of its 83 references that are in the map. First posted on arXiv 20 Jun 2023.
Builds on
46 of 83 references.
References · 46
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2017Deformable Convolutional Networkscited by 1,481
- 2016Context Encoders: Feature Learning by Inpaintingcited by 1,424
- 2014Image Super-Resolution Using Deep Convolutional Networkscited by 1,218
- 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 730
34 more
- 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
- 2018Generative Image Inpainting with Contextual Attentioncited by 578
- 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
- 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 260
- 2021TransWeather: Transformer-based Restoration of Images Degraded by Adverse Weather Conditionscited by 243
- 2021Large Scale Image Completion via Co-Modulated Generative Adversarial Networkscited by 219
- 2022MAT: Mask-Aware Transformer for Large Hole Image Inpaintingcited by 216
- 2019Pluralistic Image Completioncited by 162
- 2017DSLR-Quality Photos on Mobile Devices with Deep Convolutional Networkscited by 156
- 2019Image Super-Resolution by Neural Texture Transfercited by 119
- 2019StructureFlow: Image Inpainting via Structure-aware Appearance Flowcited by 118
- 2020Recurrent Feature Reasoning for Image Inpaintingcited by 107
- 2020Rethinking Image Inpainting via a Mutual Encoder-Decoder with Feature Equalizationscited by 102
- 2019Learning Pyramid-Context Encoder Network for High-Quality Image Inpaintingcited by 94
- 2018CrossNet: An End-to-end Reference-based Super Resolution Network using Cross-scale Warpingcited by 90
- 2019Foreground-aware Image Inpaintingcited by 90
- 2016High-Resolution Image Inpainting using Multi-Scale Neural Patch Synthesiscited by 89
- 2018Shift-Net: Image Inpainting via Deep Feature Rearrangementcited by 87
- 2022Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encodingcited by 83
- 2018Image Inpainting via Generative Multi-column Convolutional Neural Networkscited by 81
- 2021Diverse Image Inpainting with Bidirectional and Autoregressive Transformerscited by 80
- 2021MASA-SR: Matching Acceleration and Spatial Adaptation for Reference-Based Image Super-Resolutioncited by 79
- 2021Robust Reference-based Super-Resolution via C2-Matchingcited by 68
- 2021Image Inpainting via Conditional Texture and Structure Dual Generationcited by 66
- 2018SPG-Net: Segmentation Prediction and Guidance Network for Image Inpaintingcited by 58
- 2021TransFill: Reference-guided Image Inpainting by Merging Multiple Color and Spatial Transformationscited by 48
- 2020Guidance and Evaluation: Semantic-Aware Image Inpainting for Mixed Scenescited by 43
- 2020Learning to Incorporate Structure Knowledge for Image Inpaintingcited by 37
- 2020Image Inpainting Guided by Coherence Priors of Semantics and Texturescited by 37
- 2023LeftRefill: Filling Right Canvas based on Left Reference through Generalized Text-to-Image Diffusion Modelcited by 25
- 2022Unbiased Multi-Modality Guidance for Image Inpaintingcited by 10
- 2022GeoFill: Reference-Based Image Inpainting with Better Geometric Understandingcited by 9
- 2020RR-DnCNN v2.0: Enhanced Restoration-Reconstruction Deep Neural Network for Down-Sampling Based Video Codingcited by 5
- 2022Reference-Guided Texture and Structure Inference for Image Inpaintingcited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 2.
5 papers.
- 2024Transformer-based Image and Video Inpainting: Current Challenges and Future Directionscited by 6
- 2026Decoupled Residual Denoising Diffusion Models for Unified and Data Efficient Image-to-Image Translationcited by 4
- 2025Frequency-Domain Fusion Transformer for Image Inpaintingcited by 1
- 2025Time-variant Image Inpainting via Interactive Distribution Transition Estimationcited by 0
- 2026When Diffusion Models Forget Who You Are: Identity Preservation in Face Inpainting under Large Occlusionscited by 0
- 2026When Diffusion Models Forget Who You Are: Identity Preservation in Face Inpainting under Large Occlusions5 Aug 2026
- 2026Decoupled Residual Denoising Diffusion Models for Unified and Data Efficient Image-to-Image Translation31 May 2026
- 2025Time-variant Image Inpainting via Interactive Distribution Transition Estimation30 Jun 2025
- 2025Frequency-Domain Fusion Transformer for Image Inpainting23 Jun 2025
- 2024Transformer-based Image and Video Inpainting: Current Challenges and Future Directions28 Jun 2024