LayoutRAG: Retrieval-Augmented Model for Content-agnostic Conditional Layout Generation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wu, Yuxuan, Wang, Le, Zhou, Sanping, Liu, Mengnan, Hua, Gang, Li, Haoxiang
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915321133137920
author Wu, Yuxuan
Wang, Le
Zhou, Sanping
Liu, Mengnan
Hua, Gang
Li, Haoxiang
author_facet Wu, Yuxuan
Wang, Le
Zhou, Sanping
Liu, Mengnan
Hua, Gang
Li, Haoxiang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_02697
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LayoutRAG: Retrieval-Augmented Model for Content-agnostic Conditional Layout Generation
Wu, Yuxuan
Wang, Le
Zhou, Sanping
Liu, Mengnan
Hua, Gang
Li, Haoxiang
Computer Vision and Pattern Recognition
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.
title LayoutRAG: Retrieval-Augmented Model for Content-agnostic Conditional Layout Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2506.02697