Skip to main content
QUICK REVIEW

[Paper Review] Composition-aware Graphic Layout GAN for Visual-textual Presentation Designs

Min Zhou, Chenchen Xu|arXiv (Cornell University)|Apr 30, 2022
Generative Adversarial Networks and Image SynthesisComputer Science5 citations
TL;DR

This paper proposes CGL-GAN, a composition-aware GAN for generating high-quality visual-textual poster layouts by modeling spatial and semantic image compositions. It introduces a domain alignment module (DAM) to bridge the gap between masked training data and real test images, enabling effective layout generation without paired image-layout annotations. The method achieves state-of-the-art performance on a new large-scale advertising poster dataset with novel composition-aware metrics.

ABSTRACT

In this paper, we study the graphic layout generation problem of producing high-quality visual-textual presentation designs for given images. We note that image compositions, which contain not only global semantics but also spatial information, would largely affect layout results. Hence, we propose a deep generative model, dubbed as composition-aware graphic layout GAN (CGL-GAN), to synthesize layouts based on the global and spatial visual contents of input images. To obtain training images from images that already contain manually designed graphic layout data, previous work suggests masking design elements (e.g., texts and embellishments) as model inputs, which inevitably leaves hint of the ground truth. We study the misalignment between the training inputs (with hint masks) and test inputs (without masks), and design a novel domain alignment module (DAM) to narrow this gap. For training, we built a large-scale layout dataset which consists of 60,548 advertising posters with annotated layout information. To evaluate the generated layouts, we propose three novel metrics according to aesthetic intuitions. Through both quantitative and qualitative evaluations, we demonstrate that the proposed model can synthesize high-quality graphic layouts according to image compositions.

Motivation & Objective

  • To address the challenge of generating high-quality visual-textual poster layouts that respect image compositions, including spatial and semantic content.
  • To close the domain gap between training data (with masked graphic elements) and test data (without masks), which degrades layout quality.
  • To develop a method that generates layouts without requiring paired image-layout annotations, using only poster-annotation data.
  • To evaluate layout quality using novel metrics focused on composition, not just graphic element relationships.
  • To enable constrained layout generation, where partial user-provided layouts guide the model's output.

Proposed method

  • A domain alignment module (DAM) is designed with an inpainting subnet and a saliency detection subnet to transform masked training posters into more realistic, composition-preserving inputs.
  • The generator combines a multi-scale CNN and a transformer to model long-range dependencies and spatial relationships between image compositions and graphic elements.
  • A structurally symmetric discriminator is used to distinguish real from generated image-layout pairs, enforcing realistic layout synthesis.
  • The model is trained with a reconstruction loss and an adversarial loss to improve layout fidelity and realism.
  • The framework supports constrained layout generation by conditioning on partial user-provided layouts.
  • A large-scale advertising poster dataset of 60,548 annotated posters is constructed for training and evaluation.

Experimental results

Research questions

  • RQ1Can a GAN-based model generate visually pleasing and composition-aware layouts for visual-textual posters without requiring paired image-layout data?
  • RQ2How effectively can a domain alignment module reduce the distribution shift between masked training data and real test images?
  • RQ3To what extent do composition-aware metrics improve the evaluation of layout quality compared to traditional graphic relationship metrics?
  • RQ4Can the model generalize to diverse input images and maintain subject integrity (e.g., avoid occluding faces or products)?
  • RQ5How well does the model perform under user constraints, such as partially specified layouts?

Key findings

  • The proposed CGL-GAN model achieves the highest user study score (0.941) on the undistorted metric and maintains strong performance on composition-relevant metrics.
  • The domain alignment module (DAM) significantly improves layout quality, with the model achieving 99.7% on the occlusion metric when using DAM outputs, compared to 2.5% with masked inputs.
  • The generator with multi-scale CNN and transformer design outperforms ContentGAN with DAM, achieving 34.01 on the composition metric and 0.816 on the subject metric.
  • The model successfully avoids occluding key image regions (e.g., human faces) even when images are scaled or repositioned, demonstrating robust composition understanding.
  • The model generalizes well to constrained layout generation, producing diverse and plausible layouts based on partial user inputs.
  • Ablation studies confirm that both the DAM and the multi-scale generator design are essential, as removing either leads to significant performance drops.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.