TokenCompose: Text-to-Image Diffusion with Token-Level Supervision

Zirui Wang, Zhizhou Sha, Zheng Ding, Yilin Wang, Zhuowen Tu
2/14/2026

No official code found. Best implementation: mlpc-ucsd/TokenCompose (137 stars, Apache-2.0, last commit 2024-12-21). 1 more below.

Abstract

We present TokenCompose, a Latent Diffusion Model for text-to-image generation that achieves enhanced consistency between user-specified text prompts and model-generated images. Despite its tremendous success, the standard denoising process in the Latent Diffusion Model takes text prompts as conditions only, absent explicit constraint for the consistency between the text prompts and the image contents, leading to unsatisfactory results for composing multiple object categories. Our proposed TokenCompose aims to improve multi-category instance composition by introducing the token-wise consistency terms between the image content and object segmentation maps in the finetuning stage. TokenCompose can be applied directly to the existing training pipeline of text-conditioned diffusion models without extra human labeling information. By finetuning Stable Diffusion with our approach, the model exhibits significant improvements in multi-category instance composition and enhanced photorealism for its generated images. 11Project done while Zirui WangZhizhou Sha and Yilin Wang interned at UC San Diego.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

(CVPR 2024) 🧩 TokenCompose: Text-to-Image Diffusion with Token-level Supervision

1376Shell, PythonDec 3, 20231 years agoApache-2.0
artificial-intelligencecomputer-visiondiffusion-modelsgenerative-aiimage-generation+5 more
Apache-2.0

A notebook to test on COLAB the code from "TOKENCOMPOSE: Text-to-Image Diffusion with Token-level Supervision" by Zirui Wang , Zhizhou Sha , Zheng Ding Yilin Wang and Zhuowen Tu (https://github.com/mlpc-ucsd/TokenCompose/)

00Shell, PythonJan 4, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2026tokencompose,
  title  = {TokenCompose: Text-to-Image Diffusion with Token-Level Supervision},
  author = {Zirui Wang and Zhizhou Sha and Zheng Ding and Yilin Wang and Zhuowen Tu},
  year   = {2026},
  eprint = {2312.03626},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2312.03626},
  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/2312.03626.svg)](https://codeofpaper.com/paper/2312.03626)

Discussion