LayoutRAG: Retrieval-Augmented Model for Content-agnostic Conditional Layout Generation
On the map: Retrieval-augmented generation → Multimodal RAG
Abstract (arXiv)
Controllable layout generation aims to create plausible visual arrangements of element bounding boxes within a graphic design according to certain optional constraints, such as the type or position of a specific component. While recent diffusion or flow-matching models have achieved considerable advances in multifarious conditional generation tasks, there remains considerable room for generating optimal arrangements under given conditions. In this work, we propose to carry out layout generation through retrieving by conditions and reference-guided generation. Specifically, we retrieve appropriate layout templates according to given conditions as references. The references are then utilized to guide the denoising or flow-based transport process. By retrieving layouts compatible with the given conditions, we can uncover the potential information not explicitly provided in the given condition. Such an approach offers more effective guidance to the model during the generation process, in contrast to previous models that feed the condition to the model and let the model infer the unprovided layout attributes directly. Meanwhile, we design a condition-modulated attention that selectively absorbs retrieval knowledge, adapting to the difference between retrieved templates and given conditions. Extensive experiment results show that our method successfully produces high-quality layouts that meet the given conditions and outperforms existing state-of-the-art models. Code will be released upon acceptance.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Multimodal RAG, one of 15 directions in Retrieval-augmented generation. Builds on 36 of its 43 references that are in the map. First posted on arXiv 3 Jun 2025.
Builds on
36 of 43 references.
Closest ancestors · 2
Same direction, newest first
- 2023Retrieval-Augmented Layout Transformer for Content-Aware Layout Generation22 Nov
- 2023ReMoDiffuse: Retrieval-Augmented Motion Diffusion Model3 Apr
Other references · 34
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,430
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 774
- 2018Efficient Attention: Attention with Linear Complexitiescited by 368
- 2019PubLayNet: largest dataset ever for document layout analysiscited by 351
22 more
- 2023LayoutDM: Discrete Diffusion Model for Controllable Layout Generationcited by 143
- 2022KNN-Diffusion: Image Generation via Large-Scale Retrievalcited by 137
- 2019LayoutGAN: Generating Graphic Layouts with Wireframe Discriminatorscited by 131
- 2021Instance-Conditioned GANcited by 121
- 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
- 2023LayoutDM: Transformer-based Diffusion Model for Layout Generationcited by 57
- 2022LayoutFormer++: Conditional Graphic Layout Generation via Constraint Serialization and Decoding Space Restrictioncited by 43
- 2023Unifying Layout Generation with a Decoupled Diffusion Modelcited by 41
- 2023LayoutDiffusion: Improving Graphic Layout Generation by Discrete Diffusion Probabilistic Modelscited by 41
- 2024Retrieval-Augmented Diffusion Models for Time Series Forecastingcited by 39
- 2020RetrieveGAN: Image Synthesis via Differentiable Patch Retrievalcited by 35
- 2021RetrievalFuse: Neural 3D Scene Reconstruction with a Databasecited by 28
- 2024Towards Aligned Layout Generation via Diffusion Model with Aesthetic Constraintscited by 26
- 2020Texture Memory-Augmented Deep Patch-Based Image Inpaintingcited by 22
- 2024LayoutFlow: Flow Matching for Layout Generationcited by 21
- 2023DLT: Conditioned layout generation with Joint Discrete-Continuous Diffusion Layout Transformercited by 20
- 2023ReDi: Efficient Learning-Free Diffusion Inference via Trajectory Retrievalcited by 12
- 2022Optimal Correction Cost for Object Detection Evaluationcited by 11
- 2024LTSim: Layout Transportation-based Similarity Measure for Evaluating Layout Generationcited by 10
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2024CoLay: Controllable Layout Generation through Multi-conditional Latent Diffusion
- 2026Learning Interaction between Image and Layout Priors for Joint Image-Layout Generation in Design Templates
- 2024LayoutDiT: Exploring Content-Graphic Balance in Layout Generation with Diffusion Transformer
- 2023PLay: Parametrically Conditioned Layout Generation using Latent Diffusion
- 2025UniLayDiff: A Unified Diffusion Transformer for Content-Aware Layout Generation
- 2025LayoutCoT: Unleashing the Deep Reasoning Potential of Large Language Models for Layout Generation
- 2024PosterLLaVa: Constructing a Unified Multi-modal Layout Generator with LLM
- 2025CAL-RAG: Retrieval-Augmented Multi-Agent Generation for Content-Aware Layout Design