mlsanityData to 14 Oct 2026

LayoutBERT: Masked Language Layout Model for Object Insertion

arXiv 2205.00347 ↗First posted 30 Apr 2022cs.CV cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Image compositing is one of the most fundamental steps in creative workflows. It involves taking objects/parts of several images to create a new image, called a composite. Currently, this process is done manually by creating accurate masks of objects to be inserted and carefully blending them with the target scene or images, usually with the help of tools such as Photoshop or GIMP. While there have been several works on automatic selection of objects for creating masks, the problem of object placement within an image with the correct position, scale, and harmony remains a difficult problem with limited exploration. Automatic object insertion in images or designs is a difficult problem as it requires understanding of the scene geometry and the color harmony between objects. We propose LayoutBERT for the object insertion task. It uses a novel self-supervised masked language model objective and bidirectional multi-head self-attention. It outperforms previous layout-based likelihood models and shows favorable properties in terms of model capacity. We demonstrate the effectiveness of our approach for object insertion in the image compositing setting and other settings like documents and design templates. We further demonstrate the usefulness of the learned representations for layout-based retrieval tasks. We provide both qualitative and quantitative evaluations on datasets from diverse domains like COCO, PublayNet, and two new datasets which we call Image Layouts and Template Layouts. Image Layouts which consists of 5.8 million images with layout annotations is the largest image layout dataset to our knowledge. We also share ablation study results on the effect of dataset size, model size and class sample size for this task.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 22 of its 26 references that are in the map. First posted on arXiv 30 Apr 2022.

Builds on

22 of 26 references.

References · 22

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
  6. 2020Longformer: The Long-Document Transformercited by 3,413
  7. 2015Fast R-CNNcited by 2,933
  8. 2020Reformer: The Efficient Transformercited by 1,668
  9. 2020Rethinking Attention with Performerscited by 1,601
  10. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  11. 2015Spatial Transformer Networkscited by 1,429
  12. 2018Panoptic Segmentationcited by 802
10 more
  1. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
  2. 2019PubLayNet: largest dataset ever for document layout analysiscited by 351
  3. 2018Image Generation from Scene Graphscited by 324
  4. 2020LayoutTransformer: Layout Generation and Completion with Self-attentioncited by 123
  5. 2019LayoutVAE: Stochastic Scene Layout Generation From a Label Setcited by 119
  6. 2019Object-driven Text-to-Image Synthesis via Adversarial Trainingcited by 117
  7. 2018ST-GAN: Spatial Transformer Generative Adversarial Networks for Image Compositingcited by 90
  8. 2021Variational Transformer Networks for Layout Generationcited by 88
  9. 2021Region-aware Adaptive Instance Normalization for Image Harmonizationcited by 71
  10. 2018Context-Aware Synthesis and Placement of Object Instancescited by 41

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1; 2025: 1.

3 papers.