LayoutGPT: Compositional Visual Planning and Generation with Large Language Models

Weixi Feng, Wanrong Zhu, Tsu-Jui Fu, Varun Jampani, Arjun Reddy Akula +4 more
2/12/2026

No official code found. Best implementation: weixi-feng/LayoutGPT (408 stars, MIT, last commit 2024-04-10).

Abstract

Attaining a high degree of user controllability in visual generation often requires intricate, fine-grained inputs like layouts. However, such inputs impose a substantial burden on users when compared to simple text inputs. To address the issue, we study how Large Language Models (LLMs) can serve as visual planners by generating layouts from text conditions, and thus collaborate with visual generative models. We propose LayoutGPT, a method to compose in-context visual demonstrations in style sheet language to enhance the visual planning skills of LLMs. LayoutGPT can generate plausible layouts in multiple domains, ranging from 2D images to 3D indoor scenes. LayoutGPT also shows superior performance in converting challenging language concepts like numerical and spatial relations to layout arrangements for faithful text-to-image generation. When combined with a downstream image generation model, LayoutGPT outperforms text-to-image models/systems by 20-40% and achieves comparable performance as human users in designing visual layouts for numerical and spatial correctness. Lastly, LayoutGPT achieves comparable performance to supervised methods in 3D indoor scene synthesis, demonstrating its effectiveness and potential in multiple visual domains.

View on arXivView PDF

Code Implementations(1)

MIT

Official repo for LayoutGPT

40830C, C++May 24, 20232 years agoMIT

Similar Papers

Cite this paper

@article{feng2026layoutgpt,
  title  = {LayoutGPT: Compositional Visual Planning and Generation with Large Language Models},
  author = {Weixi Feng and Wanrong Zhu and Tsu-Jui Fu and Varun Jampani and Arjun Reddy Akula and Xuehai He and Sugato Basu and X. Wang and William Yang Wang},
  year   = {2026},
  eprint = {2305.15393},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.15393},
  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.15393.svg)](https://codeofpaper.com/paper/2305.15393)

Discussion