BLIP-Diffusion: Pre-trained Subject Representation for Controllable Text-to-Image Generation and Editing

Dongxu Li, Junnan Li, Steven C. H. Hoi
2/12/2026

No official code found. Best implementation: salesforce/LAVIS (11,261 stars, BSD-3-Clause, last commit 2024-11-18).

Abstract

Subject-driven text-to-image generation models create novel renditions of an input subject based on text prompts. Existing models suffer from lengthy fine-tuning and difficulties preserving the subject fidelity. To overcome these limitations, we introduce BLIP-Diffusion, a new subject-driven image generation model that supports multimodal control which consumes inputs of subject images and text prompts. Unlike other subject-driven generation models, BLIP-Diffusion introduces a new multimodal encoder which is pre-trained to provide subject representation. We first pre-train the multimodal encoder following BLIP-2 to produce visual representation aligned with the text. Then we design a subject representation learning task which enables a diffusion model to leverage such visual representation and generates new subject renditions. Compared with previous methods such as DreamBooth, our model enables zero-shot subject-driven generation, and efficient fine-tuning for customized subject with up to 20x speedup. We also demonstrate that BLIP-Diffusion can be flexibly combined with existing techniques such as ControlNet and prompt-to-prompt to enable novel subject-driven generation and editing applications. Code and models will be released at https://github.com/salesforce/LAVIS/tree/main/projects/blip-diffusion. Project page at https://dxli94.github.io/BLIP-Diffusion-website/.

View on arXivView PDF

Code Implementations(1)

salesforce/LAVISCommunity100%
BSD-3-Clause

LAVIS - A One-stop Library for Language-Vision Intelligence

11,2611,108Shell, PythonAug 24, 20221 years agoBSD-3-Clause
deep-learningdeep-learning-libraryimage-captioningmultimodal-datasetsmultimodal-deep-learning+6 more

Similar Papers

Cite this paper

@article{li2026blipdiffusion,
  title  = {BLIP-Diffusion: Pre-trained Subject Representation for Controllable Text-to-Image Generation and Editing},
  author = {Dongxu Li and Junnan Li and Steven C. H. Hoi},
  year   = {2026},
  eprint = {2305.14720},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.14720},
  journal = {NEURIPS 2023 2023}
}

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/2305.14720.svg)](https://codeofpaper.com/paper/2305.14720)

Discussion