Self-Correcting LLM-Controlled Diffusion Models

Tsung-Han Wu, Long Lian, Joseph Gonzalez, Boyi Li, Trevor Darrell
2/14/2026

No official code found. Best implementation: tsunghan-wu/SLD (187 stars, MIT, last commit 2024-04-09).

Abstract

Text-to-image generation has witnessed significant progress with the advent of diffusion models. Despite the ability to generate photorealistic images, current text-to-image diffusion models still often struggle to accurately interpret and follow complex input text prompts. In contrast to existing models that aim to generate images only with their best effort, we introduce Self-correcting LLM-controlled Diffusion (SLD). SLD is a framework that generates an image from the input prompt, assesses its alignment with the prompt, and performs self-corrections on the inaccuracies in the generated image. Steered by an LLM controller, SLD turns text-to-image generation into an iterative closed-loop process, ensuring correctness in the resulting image. SLD is not only training-free but can also be seamlessly integrated with diffusion models behind API access, such as DALL-E 3, to further boost the performance of state-of-the-art diffusion models. Experimental results show that our approach can rectify a majority of incorrect generations, particularly in generative numeracy, attribute binding, and spatial relationships. Furthermore, by simply adjusting the instructions to the LLM, SLD can perform image editing tasks, bridging the gap between text-to-image generation and image editing pipelines. Our code is available at: https://self-correcting-llm-diffusion.github.io.

View on arXivView PDF

Code Implementations(1)

tsunghan-wu/SLDCommunity100%
MIT

🔥 [CVPR2024] Official implementation of "Self-correcting LLM-controlled Diffusion Models (SLD)

18710PythonDec 3, 20232 years agoMIT
dalle-3diffusion-modelsimage-editingself-correctionstable-diffusion+1 more

Similar Papers

Cite this paper

@article{wu2026selfcorrecting,
  title  = {Self-Correcting LLM-Controlled Diffusion Models},
  author = {Tsung-Han Wu and Long Lian and Joseph Gonzalez and Boyi Li and Trevor Darrell},
  year   = {2026},
  eprint = {2311.16090},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2311.16090},
  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/2311.16090.svg)](https://codeofpaper.com/paper/2311.16090)

Discussion