Ultra High-Resolution Image Inpainting with Patch-Based Content Consistency Adapter

Jianhui Zhang, Sheng Cheng, Qirui Sun, Jia Liu, Wang Luyang +5 more
10/15/2025
cs.CV

No official code found. Best implementation: Roveer/Patch-Based-Adapter (11 stars, last commit 2025-10-15).

Abstract

In this work, we present Patch-Adapter, an effective framework for high-resolution text-guided image inpainting. Unlike existing methods limited to lower resolutions, our approach achieves 4K+ resolution while maintaining precise content consistency and prompt alignment, two critical challenges in image inpainting that intensify with increasing resolution and texture complexity. Patch-Adapter leverages a two-stage adapter architecture to scale the diffusion model's resolution from 1K to 4K+ without requiring structural overhauls: (1) Dual Context Adapter learns coherence between masked and unmasked regions at reduced resolutions to establish global structural consistency; and (2) Reference Patch Adapter implements a patch-level attention mechanism for full-resolution inpainting, preserving local detail fidelity through adaptive feature fusion. This dual-stage architecture uniquely addresses the scalability gap in high-resolution inpainting by decoupling global semantics from localized refinement. Experiments demonstrate that Patch-Adapter not only resolves artifacts common in large-scale inpainting but also achieves state-of-the-art performance on the OpenImages and Photo-Concept-Bucket datasets, outperforming existing methods in both perceptual quality and text-prompt adherence.

View on arXivView PDF

Code Implementations(1)

Ultra High-Resolution Image Inpainting with Patch-Based Content Consistency Adapter

110Jul 22, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2025ultra,
  title  = {Ultra High-Resolution Image Inpainting with Patch-Based Content Consistency Adapter},
  author = {Jianhui Zhang and Sheng Cheng and Qirui Sun and Jia Liu and Wang Luyang and Chaoyu Feng and Chen Fang and Lei Lei and Jue Wang and Shuaicheng Liu},
  year   = {2025},
  eprint = {2510.13419},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.13419v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.13419.svg)](https://codeofpaper.com/paper/2510.13419)

Discussion