Few-shot exemplar-driven inpainting with parameter-efficient diffusion fine-tuning

Shiyuan YANG , Zheng GU , Wenyue HAO , Yi WANG , Huaiyu CAI , Xiaodong CHEN

Front. Inform. Technol. Electron. Eng ›› 2025, Vol. 26 ›› Issue (8) : 1428 -1440.

PDF (47150KB)
Front. Inform. Technol. Electron. Eng ›› 2025, Vol. 26 ›› Issue (8) : 1428 -1440. DOI: 10.1631/FITEE.2400395
Research Article

Few-shot exemplar-driven inpainting with parameter-efficient diffusion fine-tuning

Author information +
History +
PDF (47150KB)

Abstract

Text-to-image diffusion models have demonstrated impressive capabilities in image generation and have been effectively applied to image inpainting. While text prompt provides an intuitive guidance for conditional inpainting, users often seek the ability to inpaint a specific object with customized appearance by providing an exemplar image. Unfortunately, existing methods struggle to achieve high fidelity in exemplar-driven inpainting. To address this, we use a plug-and-play low-rank adaptation (LoRA) module based on a pretrained text-driven inpainting model. The LoRA module is dedicated to learn the exemplar-specific concepts through few-shot fine-tuning, bringing improved fitting capability to customized exemplar images, without intensive training on large-scale datasets. Additionally, we introduce GPT-4V prompting and prior noise initialization techniques to further facilitate the fidelity in inpainting results. In brief, the denoising diffusion process first starts with the noise derived from a composite exemplar-background image, and is subsequently guided by an expressive prompt generated from the exemplar using the GPT-4V model. Extensive experiments demonstrate that our method achieves state-of-the-art performance, qualitatively and quantitatively, offering users an exemplar-driven inpainting tool with enhanced customization capability.

Keywords

Diffusion model / Image inpainting / Exemplar-driven / Few-shot fine-tuning

Cite this article

Download citation ▾
Shiyuan YANG, Zheng GU, Wenyue HAO, Yi WANG, Huaiyu CAI, Xiaodong CHEN. Few-shot exemplar-driven inpainting with parameter-efficient diffusion fine-tuning. Front. Inform. Technol. Electron. Eng, 2025, 26(8): 1428-1440 DOI:10.1631/FITEE.2400395

登录浏览全文

4963

注册一个新账户 忘记密码

References

RIGHTS & PERMISSIONS

Zhejiang University Press

AI Summary AI Mindmap
PDF (47150KB)

Supplementary files

FITEE-1428-25011-SYY_suppl_1

FITEE-1428-25011-SYY_suppl_2

119

Accesses

0

Citation

Detail

Sections
Recommended

AI思维导图

/