Retrieval-Augmented Layout Transformer for Content-Aware Layout Generation

Daichi Horita, Naoto Inoue, Kotaro Kikuchi, Kota Yamaguchi, Kiyoharu Aizawa
2/14/2026

No official code found. Best implementation: CyberAgentAILab/RALF (143 stars, Apache-2.0, last commit 2024-07-06).

Abstract

Content-aware graphic layout generation aims to automatically arrange visual elements along with a given content, such as an e-commerce product image. In this paper, we argue that the current layout generation approaches suffer from the limited training data for the high-dimensional layout structure. We show that a simple retrieval augmentation can significantly improve the generation quality. Our model, which is named Retrieval-Augmented Layout Transformer (RALF),retrieves nearest neighbor layout examples based on an input image and feeds these results into an autoregressive generator. Our model can apply retrieval augmentation to various controllable generation tasks and yield high-quality layouts within a unified architecture. Our extensive experiments show that RALF successfully generates content-aware layouts in both constrained and unconstrained settings and significantly outperforms the baselines. 1

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[CVPR 2024 Oral] Official repository for RALF: Retrieval-Augmented Layout Transformer for Content-Aware Layout Generation

14310Shell, PythonMar 22, 20242 years agoApache-2.0
cvpr2024generative-ailayoutretrieval-augmented-generation

Similar Papers

Cite this paper

@article{horita2026retrievalaugmented,
  title  = {Retrieval-Augmented Layout Transformer for Content-Aware Layout Generation},
  author = {Daichi Horita and Naoto Inoue and Kotaro Kikuchi and Kota Yamaguchi and Kiyoharu Aizawa},
  year   = {2026},
  eprint = {2311.13602},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2311.13602},
  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.13602.svg)](https://codeofpaper.com/paper/2311.13602)

Discussion