GLIGEN: Open-Set Grounded Text-to-Image Generation

Yuheng Li, Haotian Liu, Qingyang Wu, Fangzhou Mu, Jianwei Yang +3 more
1/17/2023
cs.CVcs.AIcs.CL

No official code found. Best implementation: gligen/GLIGEN (2,224 stars, MIT, last commit 2024-03-06). 1 more below.

Abstract

Large-scale text-to-image diffusion models have made amazing advances. However, the status quo is to use text input alone, which can impede controllability. In this work, we propose GLIGEN, Grounded-Language-to-Image Generation, a novel approach that builds upon and extends the functionality of existing pre-trained text-to-image diffusion models by enabling them to also be conditioned on grounding inputs. To preserve the vast concept knowledge of the pre-trained model, we freeze all of its weights and inject the grounding information into new trainable layers via a gated mechanism. Our model achieves open-world grounded text2img generation with caption and bounding box condition inputs, and the grounding ability generalizes well to novel spatial configurations and concepts. GLIGEN's zero-shot performance on COCO and LVIS outperforms that of existing supervised layout-to-image baselines by a large margin.

View on arXivView PDF

Code Implementations(2)

gligen/GLIGENCommunity100%
MIT

Open-Set Grounded Text-to-Image Generation

2,224165Python, DockerfileJan 13, 20232 years agoMIT

Improved Implementation for Training GLIGEN: Open-Set Grounded Text-to-Image Generation

467Shell, PythonApr 17, 20242 years ago

Similar Papers

Cite this paper

@article{li2023gligen,
  title  = {GLIGEN: Open-Set Grounded Text-to-Image Generation},
  author = {Yuheng Li and Haotian Liu and Qingyang Wu and Fangzhou Mu and Jianwei Yang and Jianfeng Gao and Chunyuan Li and Yong Jae Lee},
  year   = {2023},
  eprint = {2301.07093},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.07093v2},
  journal = {CVPR 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/2301.07093.svg)](https://codeofpaper.com/paper/2301.07093)

Discussion