PatchDPO: Patch-level DPO for Finetuning-free Personalized Image Generation

Qihan Huang, Long Chan, Jinlong Liu, Wanggui He, Hao Jiang, Mingli Song, Jie Song

Introduction

Personalized image generation aims to synthesize a specific object—such as a user's pet or a unique ceramic bowl—within diverse new contexts. Current approaches generally bifurcate into two categories: finetuning-based methods, which are computationally expensive as they require per-object optimization, and finetuning-free methods, which offer rapid generation but often struggle with "local inconsistency." In these cases, while the global structure of the generated image may be correct, specific identity-defining details are often lost in localized regions.

Local inconsistency often manifests in specific regions, such as the ears or facial features of a reference object, where the generated image fails to match the reference identity.

The PatchDPO Framework

To address these limitations, we introduce PatchDPO, a framework that applies Direct Preference Optimization (DPO) at the patch level. Unlike standard DPO, which treats an entire image as a single binary preference sample (good or bad), PatchDPO identifies and corrects specific localized errors. This allows the model to perform "surgery" on failing patches without discarding the high-quality portions of a generated image.

The PatchDPO pipeline consists of data construction, self-supervised vision model training for patch comparison, and patch-level model optimization.

The framework operates in three primary stages:

  1. Data Construction: Utilizing ChatGPT for prompt generation and Stable Diffusion for image synthesis, the authors created a high-quality synthetic dataset of 50,000 reference-generated image pairs to provide the necessary preference signals for training.
  2. Patch Quality Estimation: A vision transformer (ViT) is employed to judge local consistency. Recognizing that standard models are optimized for global classification, the authors implemented a self-supervised training phase to refine the model's ability to extract and compare fine-grained local features between the reference and the output.
  3. Model Optimization: PatchDPO employs a weighted training approach. High-quality patches are reinforced, while low-quality patches are penalized. Crucially, the model is encouraged to use the original reference image as a direct target for correcting these low-quality regions, effectively learning a direct mapping of identity.

Experimental Evaluation

The performance of PatchDPO was validated across several benchmarks, including DreamBench (single-object), Concept101 (multi-object), and MultiDreamBench. The accuracy of the patch-feature extraction was further verified using the HPatches dataset.

Key Results

  • State-of-the-Art Similarity: PatchDPO achieved a DINO score of 0.727 and a CLIP-I score of 0.838 on DreamBench, significantly outperforming existing finetuning-free baselines like IP-Adapter-Plus and ELITE.
  • Enhanced Human Alignment: Qualitative analysis demonstrates superior preservation of unique textures and patterns, such as specific fur characteristics or ceramic designs, compared to global optimization methods.
  • Multi-Object Robustness: The method remains effective in complex scenes containing multiple personalized elements, proving its versatility beyond simple single-subject generation.

Discussion and Future Work

PatchDPO demonstrates that personalization is fundamentally a local alignment problem. By shifting the focus from global image quality to patch-level consistency, the model achieves higher identity fidelity without the need for expensive per-user finetuning.

However, the method currently relies on the quality of synthetic data generated by the base model. Future research may explore extending this patch-level logic to video generation, where maintaining temporal and local consistency presents a significant challenge for existing generative frameworks.

Summary updated

BibTeX
@inproceedings{huang2025patchdpo,
  author = {Qihan Huang and Long Chan and Jinlong Liu and Wanggui He and Hao Jiang and Mingli Song and Jie Song},
  title = {{PatchDPO: Patch-level DPO for Finetuning-free Personalized Image Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01712},
}
Figure