PosterLLaVa: Constructing a Unified Multi-modal Layout Generator with LLM

Tao Yang, Yingmin Luo, Zhongang Qi, Yang Wu, Ying Shan, Chang Wen ChenarXiv 2024 · DOI

Abstract

PosterLLaVa is a unified multi-modal layout generator that leverages Large Language Models (LLMs) to arrange design elements based on both visual backgrounds and natural language instructions. By treating layout as a structured JSON generation task, it achieves state-of-the-art performance across multiple benchmarks and introduces new, high-complexity datasets that better reflect real-world graphic design challenges.

Introduction

Graphic design is a complex task that requires a delicate balance: arranging text, logos, and decorations so they are visually pleasing, readable, and contextually relevant to the background image. Traditionally, this process was performed manually or via rigid, rule-based systems that lacked the flexibility to adapt to diverse creative needs.

Recent deep learning approaches have moved toward "content-aware" generation, yet they frequently encounter two significant hurdles. First, architectural rigidity often limits these models; they use highly customized networks that cannot easily process natural language "user constraints" (e.g., "place the title at the top without obscuring the subject's face"). Second, dataset simplification in existing benchmarks often results in models trained on simple layouts with fewer than five elements, whereas real-world posters involve intricate geometric relationships and a wider variety of element types.

Methodology

The authors introduce PosterLLaVa, a framework built on the LLaVA architecture. The core innovation lies in treating layout generation as a translation task: converting visual and textual inputs into a structured JSON string.

The overall framework of PosterLLaVa. It uses a Vision Head to process the background and an LLM to generate a JSON-formatted layout based on task descriptions and user requirements.

Key Components

  • Multi-modal Tokenization: The model utilizes a pre-trained vision head (ViT) to encode the background image. Layout coordinates are normalized and converted into text tokens within a JSON structure, enabling the LLM to "read" and "write" design geometry directly.
  • Instruction Tuning: The model is fine-tuned using a specific prompt template that incorporates the background image, the required number of elements, and optional natural language constraints.
  • PosterGen Pipeline: Beyond layout generation, the authors developed an end-to-end system called PosterGen. This pipeline employs GPT-4 for intention analysis, a Text-to-Image (T2I) model for background generation, PosterLLaVa for layout, and a final module to select harmonious fonts and colors.

New Benchmarks for Complex Design

Recognizing that public datasets like CGL and PosterLayout are often too simplistic, the researchers introduced two new datasets to push the boundaries of the field:

  • QB-Poster: A complex real-world dataset comprising 5,188 samples with 10 element categories and an average of 15.17 boxes per image—triple the density of previous benchmarks.
  • UC-Poster: The largest poster layout dataset to date (64,520 samples), specifically designed for User-Constrained generation, featuring natural language requirements for every layout.

Experimental Results

PosterLLaVa achieved State-of-the-Art (SOTA) results across all tested benchmarks, demonstrating significant improvements in both geometric precision and constraint following.

Qualitative comparison on the QB-Poster dataset. PosterLLaVa (bottom row) demonstrates superior handling of complex, multi-element layouts compared to other methods.

Key Findings

  • Geometric Precision: On the PosterLayout dataset, the model achieved a perfect 1.000 score in validity and alignment, significantly outperforming GAN and VAE-based predecessors.
  • Constraint Following: In qualitative tests on the UC-Poster dataset, PosterLLaVa successfully followed complex natural language instructions that proved difficult for previous models like LayoutPrompter.
  • User Preference: In human-annotated studies, the PosterGen system's "Information Conveyance" was rated higher than top-tier T2I models like FLUX, suggesting that structured layout generation is superior to pure pixel-diffusion for communicative design.

Conclusion and Future Work

PosterLLaVa demonstrates that representing spatial coordinates as text tokens in JSON allows models to inherit the powerful reasoning and instruction-following capabilities of LLMs. While the model excels at functional layout, the authors note that it still lags behind human designers in "Innovation"—the ability to create truly unique, avant-garde artistic arrangements. Future work will involve collecting higher-quality design data and exploring more differentiable, end-to-end pipelines to further bridge the gap between AI and human creativity.

Summary updated

BibTeX
@misc{yang2024posterllava,
  author = {Tao Yang and Yingmin Luo and Zhongang Qi and Yang Wu and Ying Shan and Chang Wen Chen},
  title = {{PosterLLaVa: Constructing a Unified Multi-modal Layout Generator with LLM}},
  year = {2024},
  eprint = {2406.02884},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.02884},
}
Figure