TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/IP-Adapter: Text Compatible Image Prompt Adapter for Text-...

IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models

Hu Ye, Jun Zhang, Sibo Liu, Xiao Han, Wei Yang

2023-08-13Prompt EngineeringPersonalized Image GenerationDiffusion Personalization Tuning FreeImage Generation
PaperPDFCodeCodeCodeCode

Abstract

Recent years have witnessed the strong power of large text-to-image diffusion models for the impressive generative capability to create high-fidelity images. However, it is very tricky to generate desired images using only text prompt as it often involves complex prompt engineering. An alternative to text prompt is image prompt, as the saying goes: "an image is worth a thousand words". Although existing methods of direct fine-tuning from pretrained models are effective, they require large computing resources and are not compatible with other base models, text prompt, and structural controls. In this paper, we present IP-Adapter, an effective and lightweight adapter to achieve image prompt capability for the pretrained text-to-image diffusion models. The key design of our IP-Adapter is decoupled cross-attention mechanism that separates cross-attention layers for text features and image features. Despite the simplicity of our method, an IP-Adapter with only 22M parameters can achieve comparable or even better performance to a fully fine-tuned image prompt model. As we freeze the pretrained diffusion model, the proposed IP-Adapter can be generalized not only to other custom models fine-tuned from the same base model, but also to controllable generation using existing controllable tools. With the benefit of the decoupled cross-attention strategy, the image prompt can also work well with the text prompt to achieve multimodal image generation. The project page is available at \url{https://ip-adapter.github.io}.

Results

TaskDatasetMetricValueModel
Diffusion PersonalizationAgeDBCosine Similarity0.6IP-Adapter-FaceID-Plus
Diffusion PersonalizationAgeDBFID11.817IP-Adapter-FaceID-Plus
Diffusion PersonalizationAgeDBLPIPS0.384IP-Adapter-FaceID-Plus
Diffusion PersonalizationAgeDBCosine Similarity0.572IP-Adapter-FaceID-PlusV2
Diffusion PersonalizationAgeDBFID10.798IP-Adapter-FaceID-PlusV2
Diffusion PersonalizationAgeDBLPIPS0.429IP-Adapter-FaceID-PlusV2
Diffusion PersonalizationAgeDBCosine Similarity0.535IP-Adapter-FaceID (SDXL)
Diffusion PersonalizationAgeDBFID24.105IP-Adapter-FaceID (SDXL)
Diffusion PersonalizationAgeDBLPIPS0.462IP-Adapter-FaceID (SDXL)
Personalized Image GenerationDreamBoothConcept Preservation (CP)0.593IP-Adapter ViT-G SDXL v1.0
Personalized Image GenerationDreamBoothOverall (CP * PF)0.38IP-Adapter ViT-G SDXL v1.0
Personalized Image GenerationDreamBoothPrompt Following (PF)0.64IP-Adapter ViT-G SDXL v1.0
Personalized Image GenerationDreamBoothConcept Preservation (CP)0.833IP-Adapter-Plus ViT-H SDXL v1.0
Personalized Image GenerationDreamBoothOverall (CP * PF)0.344IP-Adapter-Plus ViT-H SDXL v1.0
Personalized Image GenerationDreamBoothPrompt Following (PF)0.413IP-Adapter-Plus ViT-H SDXL v1.0

Related Papers

Leveraging Language Prior for Infrared Small Target Detection2025-07-17Emotional Support with LLM-based Empathetic Dialogue Generation2025-07-17fastWDM3D: Fast and Accurate 3D Healthy Tissue Inpainting2025-07-17Synthesizing Reality: Leveraging the Generative AI-Powered Platform Midjourney for Construction Worker Detection2025-07-17FashionPose: Text to Pose to Relight Image Generation for Personalized Fashion Visualization2025-07-17A Distributed Generative AI Approach for Heterogeneous Multi-Domain Environments under Data Sharing constraints2025-07-17Pixel Perfect MegaMed: A Megapixel-Scale Vision-Language Foundation Model for Generating High Resolution Medical Images2025-07-17FADE: Adversarial Concept Erasure in Flow Models2025-07-16