Explicitly Representing Syntax Improves Sentence-to-layout Prediction of Unexpected Situations
Not on the map. Why?
Abstract (arXiv)
Recognizing visual entities in a natural language sentence and arranging them in a 2D spatial layout require a compositional understanding of language and space. This task of layout prediction is valuable in text-to-image synthesis as it allows localized and controlled in-painting of the image. In this comparative study it is shown that we can predict layouts from language representations that implicitly or explicitly encode sentence syntax, if the sentences mention similar entity-relationships to the ones seen during training. To test compositional understanding, we collect a test set of grammatically correct sentences and layouts describing compositions of entities and relations that unlikely have been seen during training. Performance on this test set substantially drops, showing that current models rely on correlations in the training data and have difficulties in understanding the structure of the input sentences. We propose a novel structural loss function that better enforces the syntactic structure of the input sentence and show large performance gains in the task of 2D spatial layout prediction conditioned on text. The loss has the potential to be used in other generation tasks where a tree-like structure underlies the conditioning modality. Code, trained models and the USCOCO evaluation set are available via github.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 44 of its 72 references that are in the map. First posted on arXiv 25 Jan 2024.
Builds on
44 of 72 references.
References · 44
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
32 more
- 2018Deep contextualized word representationscited by 2,290
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,368
- 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
- 2022DiffEdit: Diffusion-based semantic image editing with mask guidancecited by 647
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
- 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 529
- 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 438
- 2018Image Generation from Scene Graphscited by 324
- 2023Training-Free Layout Control with Cross-Attention Guidancecited by 313
- 2018Constituency Parsing with a Self-Attentive Encodercited by 199
- 2015End-to-end people detection in crowded scenescited by 140
- 2021VALSE: A Task-Independent Benchmark for Vision and Language Models Centered on Linguistic Phenomenacited by 135
- 2019LayoutGAN: Generating Graphic Layouts with Wireframe Discriminatorscited by 131
- 2018Multilingual Constituency Parsing with Self-Attention and Pre-Trainingcited by 117
- 2019Object-driven Text-to-Image Synthesis via Adversarial Trainingcited by 117
- 2016Recurrent Neural Network Grammarscited by 109
- 2020When Do You Need Billions of Words of Pretraining Data?cited by 104
- 2018Inferring Semantic Layout for Hierarchical Text-to-Image Synthesiscited by 101
- 2020Syntactic Structure from Deep Learningcited by 99
- 2022Benchmarking Spatial Relationships in Text-to-Image Generationcited by 97
- 2023LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generationcited by 92
- 2019Neural Design Network: Graphic Layout Generation with Constraintscited by 83
- 2023Controllable Text-to-Image Generation with GPT-4cited by 59
- 2022DALLE-2 is Seeing Double: Flaws in Word-to-Concept Mapping in Text2Image Modelscited by 51
- 2022Transformer Grammars: Augmenting Transformer Language Models with Syntactic Inductive Biases at Scalecited by 41
- 2023Trained on 100 million words and still in shape: BERT meets British National Corpuscited by 39
- 2021Structural Guidance for Transformer Language Modelscited by 25
- 2021How much pretraining data do language models need to learn syntax?cited by 21
- 2021Schr"odinger's Tree -- On Syntax and Neural Language Modelscited by 6
- 2018Text2Scene: Generating Compositional Scenes from Textual Descriptionscited by 3
- 2019Seq-SG2SL: Inferring Semantic Layout from Scene Graph Through Sequence to Sequence Learningcited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.