Rethinking Fast Fourier Convolution in Image Inpainting
Tianyi Chu, Jiafu Chen, Jiakai Sun, Shuobin Lian, Zhizhong Wang, Zhiwen Zuo, Lei Zhao, Wei Xing, Dongming Lu
Abstract
Recently proposed LaMa [25] introduce Fast Fourier Convolution (FFC) [4] into image inpainting. FFC empowers the fully convolutional network to have a global receptive field in its early layers, and have the ability to produce robust repeating texture. However, LaMa has difficulty in generating clear and sharp complex content. In this paper, we analyze the fundamental flaws of using FFC in image inpainting, which are 1) spectrum shifting, 2) unexpected spatial activation, and 3) limited frequency receptive field. Such flaws make FFC-based inpainting framework difficult in generating complicated texture and performing faithful reconstruction. Based on the above analysis, we propose a novel Unbiased Fast Fourier Convolution (UFFC) module. UFFC is constructed by modifying the vanilla FFC module with 1) range transform and inverse transform, 2) absolute position embedding, 3) dynamic skip connection, and 4) adaptive clip, to overcome the above flaws. UFFC captures frequency information efficiently and realize reconstruction without introducing additional artifacts, achieving better inpainting results and more efficient training. In addition, we propose two novel perceptual losses for better generation quality and more robust training. Extensive experiments on several benchmark datasets demonstrate the effectiveness of our method, outperforming the state-of-the-art methods in both texture-capturing ability and expressiveness.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- Visual Fourier Prompt TuningRunjia Zeng, Cheng Han, Qifan Wang, Chunshu Wu et al.NeurIPS 2024 · 58 citations
- Free-Merging: Fourier Transform for Efficient Model MergingShenghe Zheng, Hongzhi WangICCV 2025 · 12 citations
- AsyncDSB: Schedule-Asynchronous Diffusion Schrödinger Bridge for Image InpaintingZihao Han, Baoquan Zhang, Lisai Zhang, Shanshan Feng et al.AAAI 2025 · 1 citation
- FSLoRA: Harmonizing Detection and Re-Identification via Freq-Spatial Low-Rank Adapter for One-Stage Person SearchYanling Tian, Shanshan Zhang, Di Chen, Jian YangCVPR 2026
- Towards Enhanced Image Inpainting: Mitigating Unwanted Object Insertion and Preserving Color ConsistencyYikai Wang, Chenjie Cao, Junqiu Yu, Ke Fan et al.CVPR 2025
Builds on11
- Fast Fourier ConvolutionLu Chi, Borui Jiang, Yadong MuNeurIPS 2020 · 842 citations
- Global Filter Networks for Image ClassificationYongming Rao, Wenliang Zhao, Zheng Zhu, Jiwen Lu et al.NeurIPS 2021 · 798 citations
- MAT: Mask-Aware Transformer for Large Hole Image InpaintingWenbo Li, Zhe Lin, Kun Zhou, Lu Qi et al.CVPR 2022 · 382 citations
- Large Scale Image Completion via Co-Modulated Generative Adversarial NetworksShengyu Zhao, Jonathan Cui, Yilun Sheng, Yue Dong et al.ICLR 2021 · 348 citations
- High-Fidelity Pluralistic Image Completion with TransformersZiyu Wan, Jingbo Zhang, Dongdong Chen, Jing LiaoICCV 2021 · 296 citations
Related papers
- CoordFill: Efficient High-Resolution Image Inpainting via Parameterized Coordinate QueryingWeihuang Liu, Xiaodong Cun, Chi-Man Pun, Menghan Xia et al.AAAI 2023 · 71 citations
- Neural FFTs for Universal Texture Image SynthesisMorteza Mardani, Guilin Liu, Aysegul Dundar, Shiqiu Liu et al.NeurIPS 2020 · 31 citations
- Image Inpainting With Learnable Bidirectional Attention MapsChaohao Xie, Shaohui Liu, Chao Li, Ming-Ming Cheng et al.ICCV 2019 · 255 citations
- Parallel Multi-Resolution Fusion Network for Image InpaintingWentao Wang, Jianfu Zhang, Li Niu, Haoyu Ling et al.ICCV 2021 · 28 citations
- Improved Implicit Neural Representation with Fourier Reparameterized TrainingKexuan Shi, Xingyu Zhou, Shuhang GuCVPR 2024 · 14 citations
