PixelHacker: Image Inpainting with Structural and Semantic Consistency
Not on the map. Why?
Abstract (arXiv)
Image inpainting is a fundamental research area between image editing and image generation. Recent state-of-the-art (SOTA) methods have explored novel attention mechanisms, lightweight architectures, and context-aware modeling, demonstrating impressive performance. However, they often struggle with complex structure (e.g., texture, shape, spatial relations) and semantics (e.g., color consistency, object restoration, and logical correctness), leading to artifacts and inappropriate generation. To address this challenge, we design a simple yet effective inpainting paradigm called latent categories guidance, and further propose a diffusion-based model named PixelHacker. Specifically, we first construct a large dataset containing 14 million image-mask pairs by annotating foreground and background (potential 116 and 21 categories, respectively). Then, we encode potential foreground and background representations separately through two fixed-size embeddings, and intermittently inject these features into the denoising process via linear attention. Finally, by pre-training on our dataset and fine-tuning on open-source benchmarks, we obtain PixelHacker. Extensive experiments show that PixelHacker comprehensively outperforms the SOTA on a wide range of datasets (Places2, CelebA-HQ, and FFHQ) and exhibits remarkable consistency in both structure and semantics. Project page at https://hustvl.github.io/PixelHacker.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 32 of its 40 references that are in the map. First posted on arXiv 29 Apr 2025.
Builds on
32 of 40 references.
References · 32
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2023Segment Anythingcited by 8,234
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
- 2016Context Encoders: Feature Learning by Inpaintingcited by 1,428
- 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,098
- 2017StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translationcited by 1,039
20 more
- 2021Blended Diffusion for Text-driven Editing of Natural Imagescited by 927
- 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 738
- 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
- 2018Generative Image Inpainting with Contextual Attentioncited by 580
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
- 2020Google Landmarks Dataset v2 -- A Large-Scale Benchmark for Instance-Level Recognition and Retrievalcited by 309
- 2022SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Modelcited by 278
- 2022Imagen Editor and EditBench: Advancing and Evaluating Text-Guided Image Inpaintingcited by 233
- 2021Large Scale Image Completion via Co-Modulated Generative Adversarial Networkscited by 220
- 2022MAT: Mask-Aware Transformer for Large Hole Image Inpaintingcited by 218
- 2023A Task is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpaintingcited by 169
- 2023Alpha-CLIP: A CLIP Model Focusing on Wherever You Wantcited by 151
- 2021High-Fidelity Pluralistic Image Completion with Transformerscited by 134
- 2020Contextual Residual Aggregation for Ultra High-Resolution Image Inpaintingcited by 124
- 2021Aggregated Contextual Transformations for High-Resolution Image Inpaintingcited by 89
- 2022Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encodingcited by 83
- 2021Image Inpainting by End-to-End Cascaded Refinement with Mask Awarenesscited by 35
- 2024COCONut: Modernizing COCO Segmentationcited by 24
- 2022Image Completion with Heterogeneously Filtered Spectral Hintscited by 17
Built on by
Citing papers per year: 2025: 2; 2026: 6.
8 papers.
- 2025DiffDecompose: Layer-Wise Decomposition of Alpha-Composited Images via Diffusion Transformerscited by 20
- 20252D Instance Editing in 3D Spacecited by 1
- 2026ClickRemoval: An Interactive Open-Source Tool for Object Removal in Diffusion Modelscited by 1
- 2026Aligned Stable Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistencycited by 0
- 2026ObjectMorpher: 3D-Aware Image Editing via Deformable 3DGS Modelscited by 0
- 2026Moebius: 0.2B Lightweight Image Inpainting Framework with 10B-Level Performancecited by 0
- 2026Training-Free Inpainting Across Domains with a Frozen Text-to-Image Diffusion Modelcited by 0
- 2026Beyond Pixel Reconstruction: Retrieval-Guided Glyph-Aware Restoration for Low-Resource Manchu Historical Documentscited by 0
- 2026Beyond Pixel Reconstruction: Retrieval-Guided Glyph-Aware Restoration for Low-Resource Manchu Historical Documents29 Sep 2026
- 2026Training-Free Inpainting Across Domains with a Frozen Text-to-Image Diffusion Model1 Sep 2026
- 2026Moebius: 0.2B Lightweight Image Inpainting Framework with 10B-Level Performance17 Jun 2026
- 2026ClickRemoval: An Interactive Open-Source Tool for Object Removal in Diffusion Models14 May 2026
- 2026ObjectMorpher: 3D-Aware Image Editing via Deformable 3DGS Models30 Mar 2026
- 2026Aligned Stable Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistency21 Jan 2026
- 20252D Instance Editing in 3D Space8 Jul 2025
- 2025DiffDecompose: Layer-Wise Decomposition of Alpha-Composited Images via Diffusion Transformers24 May 2025