LayoutNUWA: Revealing the Hidden Layout Expertise of Large Language Models
Not on the map. Why?
Abstract (arXiv)
Graphic layout generation, a growing research field, plays a significant role in user engagement and information perception. Existing methods primarily treat layout generation as a numerical optimization task, focusing on quantitative aspects while overlooking the semantic information of layout, such as the relationship between each layout element. In this paper, we propose LayoutNUWA, the first model that treats layout generation as a code generation task to enhance semantic information and harness the hidden layout expertise of large language models~(LLMs). More concretely, we develop a Code Instruct Tuning (CIT) approach comprising three interconnected modules: 1) the Code Initialization (CI) module quantifies the numerical conditions and initializes them as HTML code with strategically placed masks; 2) the Code Completion (CC) module employs the formatting knowledge of LLMs to fill in the masked portions within the HTML code; 3) the Code Rendering (CR) module transforms the completed code into the final layout output, ensuring a highly interpretable and transparent layout generation procedure that directly maps code to a visualized layout. We attain significant state-of-the-art performance (even over 50% improvements) on multiple datasets, showcasing the strong capabilities of LayoutNUWA. Our code is available at https://github.com/ProjectNUWA/LayoutNUWA.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 43 of its 53 references that are in the map. First posted on arXiv 18 Sep 2023.
Builds on
43 of 53 references.
References · 43
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2022MaskGIT: Masked Generative Image Transformercited by 1,082
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
31 more
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
- 2019PubLayNet: largest dataset ever for document layout analysiscited by 349
- 2023LayoutGPT: Compositional Visual Planning and Generation with Large Language Modelscited by 337
- 2022OPT-IML: Scaling Language Model Instruction Meta Learning through the Lens of Generalizationcited by 235
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2023LayoutDM: Discrete Diffusion Model for Controllable Layout Generationcited by 141
- 2019LayoutGAN: Generating Graphic Layouts with Wireframe Discriminatorscited by 130
- 2019LayoutVAE: Stochastic Scene Layout Generation From a Label Setcited by 119
- 2021CanvasVAE: Learning to Generate Vector Graphic Documentscited by 93
- 2021Variational Transformer Networks for Layout Generationcited by 88
- 2019Neural Design Network: Graphic Layout Generation with Constraintscited by 83
- 2021Constrained Graphic Layout Generation via Latent Optimizationcited by 83
- 2021BLT: Bidirectional Layout Transformer for Controllable Layout Generationcited by 69
- 2021DOC2PPT: Automatic Presentation Slides Generation from Scientific Documentscited by 68
- 2023Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasonerscited by 63
- 2023LayoutDM: Transformer-based Diffusion Model for Layout Generationcited by 57
- 2022ZeroPrompt: Scaling Prompt-Based Pretraining to 1,000 Tasks Improves Zero-Shot Generalizationcited by 54
- 2019READ: Recursive Autoencoders for Document Layout Generationcited by 51
- 2023Unifying Layout Generation with a Decoupled Diffusion Modelcited by 41
- 2023LayoutDiffusion: Improving Graphic Layout Generation by Discrete Diffusion Probabilistic Modelscited by 40
- 2023Relation-Aware Diffusion Model for Controllable Poster Layout Generationcited by 36
- 2023PLay: Parametrically Conditioned Layout Generation using Latent Diffusioncited by 24
- 2018Beyond Error Propagation in Neural Machine Translation: Characteristics of Language Also Mattercited by 18
- 2022Learning Instructions with Unlabeled Data for Zero-Shot Cross-Task Generalizationcited by 15
- 2023Generation-driven Contrastive Self-training for Zero-shot Text Classification with Instruction-following LLMcited by 11
- 2023Improving Cross-Task Generalization with Step-by-Step Instructionscited by 7
- 2021Multi-Agent Reinforcement Learning of 3D Furniture Layout Simulation in Indoor Graphics Scenescited by 5
Built on by
Citing papers per year: 2024: 4; 2025: 11; 2026: 2.
17 papers.
Sort:
By area:
- 2024Graphic Design with Large Multimodal Modelcited by 38
- 2024PosterLlama: Bridging Design Ability of Langauge Model to Contents-Aware Layout Generationcited by 34
- 2024LayoutFlow: Flow Matching for Layout Generationcited by 21
- 2024Layout-Corrector: Alleviating Layout Sticking Phenomenon in Discrete Diffusion Modelcited by 7
- 2025LayoutCoT: Unleashing the Deep Reasoning Potential of Large Language Models for Layout Generationcited by 6
- 2025UTDesign: A Unified Framework for Stylized Text Editing and Generation in Graphic Design Imagescited by 6
- 2025Smaller But Better: Unifying Layout Generation with Smaller Large Language Modelscited by 5
- 2025From Fragment to One Piece: A Survey on AI-Driven Graphic Designcited by 2
- 2025Relation-Rich Visual Document Generator for Visual Information Extractioncited by 2
- 2025LLMs as Layout Designers: Enhanced Spatial Reasoning for Content-Aware Layout Generationcited by 1
- 2025DocReward: A Document Reward Model for Structuring and Stylizingcited by 1
- 2025A Two-Stage System for Layout-Controlled Image Generation using Large Language Models and Diffusion Modelscited by 1
5 more
- 2026From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Designcited by 1
- 2025StructLayoutFormer:Conditional Structured Layout Generation via Structure Serialization and Disentanglementcited by 0
- 2025Sketch-to-Layout: Sketch-Guided Multimodal Layout Generationcited by 0
- 2025Content-Aware Ad Banner Layout Generation with Two-Stage Chain-of-Thought in Vision Language Modelscited by 0
- 2026DesignSense: A Human Preference Dataset and Reward Modeling Framework for Graphic Layout Generationcited by 0
- 2026DesignSense: A Human Preference Dataset and Reward Modeling Framework for Graphic Layout Generation26 Feb 2026
- 2026From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Design14 Feb 2026
- 2025UTDesign: A Unified Framework for Stylized Text Editing and Generation in Graphic Design Images23 Dec 2025
- 2025Content-Aware Ad Banner Layout Generation with Two-Stage Chain-of-Thought in Vision Language Models14 Dec 2025
- 2025A Two-Stage System for Layout-Controlled Image Generation using Large Language Models and Diffusion Models10 Nov 2025
- 2025Sketch-to-Layout: Sketch-Guided Multimodal Layout Generation31 Oct 2025
- 2025StructLayoutFormer:Conditional Structured Layout Generation via Structure Serialization and Disentanglement30 Oct 2025
- 2025DocReward: A Document Reward Model for Structuring and Stylizing13 Oct 2025
- 2025LLMs as Layout Designers: Enhanced Spatial Reasoning for Content-Aware Layout Generation21 Sep 2025
- 2025LayoutCoT: Unleashing the Deep Reasoning Potential of Large Language Models for Layout Generation15 Apr 2025
- 2025Relation-Rich Visual Document Generator for Visual Information Extraction14 Apr 2025
- 2025From Fragment to One Piece: A Survey on AI-Driven Graphic Design24 Mar 2025
5 more
- 2025Smaller But Better: Unifying Layout Generation with Smaller Large Language Models19 Feb 2025
- 2024Layout-Corrector: Alleviating Layout Sticking Phenomenon in Discrete Diffusion Model25 Sep 2024
- 2024Graphic Design with Large Multimodal Model22 Apr 2024
- 2024PosterLlama: Bridging Design Ability of Langauge Model to Contents-Aware Layout Generation1 Apr 2024
- 2024LayoutFlow: Flow Matching for Layout Generation27 Mar 2024
- 2025LayoutCoT: Unleashing the Deep Reasoning Potential of Large Language Models for Layout Generationcited by 6
- 2025LLMs as Layout Designers: Enhanced Spatial Reasoning for Content-Aware Layout Generationcited by 1
- 2026From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Designcited by 1
- 2026From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Design14 Feb 2026
- 2025LLMs as Layout Designers: Enhanced Spatial Reasoning for Content-Aware Layout Generation21 Sep 2025
- 2025LayoutCoT: Unleashing the Deep Reasoning Potential of Large Language Models for Layout Generation15 Apr 2025
- 2024Graphic Design with Large Multimodal Modelcited by 38
- 2024PosterLlama: Bridging Design Ability of Langauge Model to Contents-Aware Layout Generationcited by 34
- 2025UTDesign: A Unified Framework for Stylized Text Editing and Generation in Graphic Design Imagescited by 6
- 2025Smaller But Better: Unifying Layout Generation with Smaller Large Language Modelscited by 5
- 2025From Fragment to One Piece: A Survey on AI-Driven Graphic Designcited by 2
- 2025StructLayoutFormer:Conditional Structured Layout Generation via Structure Serialization and Disentanglementcited by 0
- 2025Sketch-to-Layout: Sketch-Guided Multimodal Layout Generationcited by 0
- 2025UTDesign: A Unified Framework for Stylized Text Editing and Generation in Graphic Design Images23 Dec 2025
- 2025Sketch-to-Layout: Sketch-Guided Multimodal Layout Generation31 Oct 2025
- 2025StructLayoutFormer:Conditional Structured Layout Generation via Structure Serialization and Disentanglement30 Oct 2025
- 2025From Fragment to One Piece: A Survey on AI-Driven Graphic Design24 Mar 2025
- 2025Smaller But Better: Unifying Layout Generation with Smaller Large Language Models19 Feb 2025
- 2024Graphic Design with Large Multimodal Model22 Apr 2024
- 2024PosterLlama: Bridging Design Ability of Langauge Model to Contents-Aware Layout Generation1 Apr 2024