Proceedings

Learn and Sample Together: Collaborative Generation for Graphic Design Layout

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. AI and Arts. Pages 5851-5859.

https://doi.org/10.24963/ijcai.2023/649

Abstract

In the process of graphic layout generation, user specifications including element attributes and their relationships are commonly used to constrain the layouts (e.g.,"put the image above the button''). It is natural to encode spatial constraints between elements using a graph. This paper presents a two-stage generation framework: a spatial graph generator and a subsequent layout decoder which is conditioned on the previous output graph. Training the two highly dependent networks separately as in previous work, we observe that the graph generator generates out-of-distribution graphs with a high frequency, which are unseen to the layout decoder during training and thus leads to huge performance drop in inference. To coordinate the two networks more effectively, we propose a novel collaborative generation strategy to perform round-way knowledge transfer between the networks in both training and inference. Experiment results on three public datasets show that our model greatly benefits from the collaborative generation and has achieved the state-of-the-art performance. Furthermore, we conduct an in-depth analysis to better understand the effectiveness of graph condition modeling.

  1. [Arroyo et al., 2021] Diego Martin Arroyo, Janis Postels, and Federico Tombari. Variational Transformer Networks for Layout Generation. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 13637-13647. IEEE, June 2021.
  2. [Cao et al., 2022] Yunning Cao, Ye Ma, Min Zhou, Chuan- bin Liu, Hongtao Xie, Tiezheng Ge, and Yuning Jiang. Geometry Aligned Variational Transformer for Image- conditioned Layout Generation. In Proceedings of the 30th ACM International Conference on Multimedia, pages 1561-1571, Lisboa Portugal, October 2022. ACM.
  3. [Deka et al., 2017] Biplab Deka, Zifeng Huang, Chad Franzen, Joshua Hibschman, Daniel Afergan, Yang Li, Jeffrey Nichols, and Ranjitha Kumar. Rico: A mobile app dataset for building data-driven design applications. In Proceedings of the 30th Annual ACM Symposium on User Interface Software and Technology, pages 845-854, 2017.
  4. [Goodfellow et al., 2014] Ian Goodfellow, Jean Pouget- Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Gen- erative adversarial nets. Advances in neural information processing systems, 27, 2014.
  5. [Gupta et al., 2021] Kamal Gupta, Justin Lazarow, Alessan- dro Achille, Larry Davis, Vijay Mahadevan, and Abhinav Shrivastava. LayoutTransformer: Layout Generation and Completion with Self-attention. In 2021 IEEE/CVF Inter- national Conference on Computer Vision (ICCV), pages 984-994, 2021.
  6. [Hasanzadeh et al., 2019] Arman Hasanzadeh, Ehsan Haji- ramezanali, Krishna Narayanan, Nick Duffield, Mingyuan Zhou, and Xiaoning Qian. Semi-implicit graph variational auto-encoders. Advances in neural information processing systems, 32, 2019.
  7. [He et al., 2022] Feixiang He, Yanlong Huang, and He Wang. iPLAN: Interactive and Procedural Lay- out Planning. arXiv:2203.14412 [cs], March 2022. arXiv: 2203.14412.
  8. [Heusel et al., 2017] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochre- iter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30, 2017.
  9. [Hu et al., 2020] Ruizhen Hu, Zeyu Huang, Yuhan Tang, Oliver Van Kaick, Hao Zhang, and Hui Huang. Graph2Plan: learning floorplan generation from layout graphs. ACM Transactions on Graphics, 39(4), August 2020.
  10. [Hurst et al., 2009] Nathan Hurst, Wilmot Li, and Kim Mar- riott. Review of automatic document formatting. In Pro- ceedings of the 9th ACM symposium on Document engi- neering, pages 99-108, 2009.
  11. [Jiang et al., 2022] Zhaoyun Jiang, Shizhao Sun, Jihua Zhu, Jian-Guang Lou, and Dongmei Zhang. Coarse-to-fine gen- erative modeling for graphic layouts. Proceedings of the AAAI Conference on Artificial Intelligence, 36(1):1096- 1103, Jun. 2022.
  12. [Jyothi et al., 2019] Akash Abdu Jyothi, Thibaut Durand, Ji- awei He, Leonid Sigal, and Greg Mori. LayoutVAE: Stochastic Scene Layout Generation From a Label Set. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 9894-9903, 2019.
  13. [Kikuchi et al., 2021] Kotaro Kikuchi, Edgar Simo-Serra, Mayu Otani, and Kota Yamaguchi. Constrained Graphic Layout Generation via Latent Optimization. In Proceed- ings of the 29th ACM International Conference on Multi- media, pages 88-96, October 2021. arXiv: 2108.00871.
  14. [Kingma and Ba, 2014] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
  15. [Kingma and Welling, 2013] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
  16. [Kipf and Welling, 2016] Thomas N Kipf and Max Welling. Variational graph auto-encoders. arXiv preprint arXiv:1611.07308, 2016.
  17. [Kong et al., 2021] Xiang Kong, Lu Jiang, Huiwen Chang, Han Zhang, Yuan Hao, Haifeng Gong, and Irfan Essa. BLT: Bidirectional Layout Transformer for Controllable Layout Generation, December 2021. arXiv: 2112.05112.
  18. [Kumar et al., 2011] Ranjitha Kumar, Jerry O Talton, Salman Ahmad, and Scott R Klemmer. Bricolage: example-based retargeting for web design. In Proceed- ings of the SIGCHI Conference on Human Factors in Computing Systems, pages 2197-2206, 2011.
  19. [Lee et al., 2020] Hsin-Ying Lee, Lu Jiang, Irfan Essa, Phuong B. Le, Haifeng Gong, Ming-Hsuan Yang, and Weilong Yang. Neural Design Network: Graphic Lay- out Generation with Constraints. In Computer Vision - ECCV 2020: 16th European Conference, 2020, Proceed- ings, Part III, pages 491-506. Springer-Verlag, 2020.
  20. [Li et al., 2019] Jianan Li, Jimei Yang, Aaron Hertzmann, Jianming Zhang, and Tingfa Xu. LayoutGAN: Generat- ing Graphic Layouts with Wireframe Discriminators. In ICLR, January 2019. arXiv: 1901.06767.
  21. [Li et al., 2020a] Jia Li, Jianwei Yu, Jiajin Li, Honglei Zhang, Kangfei Zhao, Yu Rong, Hong Cheng, and Jun- zhou Huang. Dirichlet graph variational autoencoder. Advances in Neural Information Processing Systems, 33:5274-5283, 2020.
  22. [Li et al., 2020b] Jianan Li, Jimei Yang, Jianming Zhang, Chang Liu, Christina Wang, and Tingfa Xu. Attribute- conditioned layout gan for automatic graphic design. IEEE Transactions on Visualization and Computer Graphics, 27(10):4039-4048, 2020.
  23. [Li et al., 2022] Chenhui Li, Peiying Zhang, and Changbo Wang. Harmonious Textual Layout Generation Over Nat- ural Images via Deep Aesthetics Learning. IEEE Trans- actions on Multimedia, 24:3416-3428, 2022. Conference Name: IEEE Transactions on Multimedia.
  24. [Nauata et al., 2020] Nelson Nauata, Kai-Hung Chang, Chin-Yi Cheng, Greg Mori, and Yasutaka Furukawa. House-GAN: Relational Generative Adversarial Networks for Graph-Constrained House Layout Generation. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan- Michael Frahm, editors, Computer Vision -ECCV 2020, volume 12346, pages 162-177. Springer International Publishing, 2020. Series Title: Lecture Notes in Computer Science.
  25. [Nauata et al., 2021] Nelson Nauata, Sepidehsadat Hosseini, Kai-Hung Chang, Hang Chu, Chin-Yi Cheng, and Yasu- taka Furukawa. House-GAN++: Generative Adversar- ial Layout Refinement Network towards Intelligent Com- putational Agent for Professional Architects. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 13627-13636. IEEE, June 2021.
  26. [O'Donovan et al., 2014] Peter O'Donovan, Aseem Agar- wala, and Aaron Hertzmann. Learning layouts for single- pagegraphic designs. IEEE transactions on visualization and computer graphics, 20(8):1200-1213, 2014.
  27. [Para et al., 2021] Wamiq Para, Paul Guerrero, Tom Kelly, Leonidas Guibas, and Peter Wonka. Generative Layout Modeling using Constraint Graphs. In 2021 IEEE/CVF In- ternational Conference on Computer Vision (ICCV), pages 6670-6680. IEEE, October 2021.
  28. [Patil et al., 2020] Akshay Gadi Patil, Omri Ben-Eliezer, Or Perel, and Hadar Averbuch-Elor. READ: Recursive Autoencoders for Document Layout Generation. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pages 2316-2325, June 2020.
  29. [Shi et al., 2022] Danqing Shi, Weiwei Cui, Danqing Huang, Haidong Zhang, and Nan Cao. Reverse-engineering in- formation presentations: Recovering hierarchical group- ing from layouts of visual elements. arXiv preprint arXiv:2201.05194, 2022.
  30. [Tabata et al., 2019] Sou Tabata, Hiroki Yoshihara, Haruka Maeda, and Kei Yokoyama. Automatic layout generation for graphical design magazines. SIGGRAPH '19. Associ- ation for Computing Machinery, 2019.
  31. [Vaddamanu et al., 2022] Praneetha Vaddamanu, Vinay Ag- garwal, Bhanu Prakash Reddy Guda, Balaji Vasan Srini- vasan, and Niyati Chhaya. Harmonized Banner Creation from Multimodal Design Assets. In CHI Conference on Human Factors in Computing Systems Extended Ab- stracts, pages 1-7, New Orleans LA USA, April 2022. ACM.
  32. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
  33. [Wang et al., 2019] Kai Wang, Yu-An Lin, Ben Weissmann, Manolis Savva, Angel X. Chang, and Daniel Ritchie. PlanIT: planning and instantiating indoor scenes with rela- tion graph and spatial prior networks. ACM Transactions on Graphics, 38(4):1-15, August 2019.
  34. [Wang et al., 2022] Yizhi Wang, Guo Pu, Wenhan Luo, Yexin Wang, Pengfei Xiong, Hongwen Kang, and Zhouhui Lian. Aesthetic Text Logo Synthesis via Content-aware Layout Inferring. arXiv:2204.02701 [cs], April 2022. arXiv: 2204.02701.
  35. [Zhang et al., 2019] Muhan Zhang, Shali Jiang, Zhicheng Cui, Roman Garnett, and Yixin Chen. D-vae: A varia- tional autoencoder for directed acyclic graphs. Advances in Neural Information Processing Systems, 32, 2019.
  36. [Zheng et al., 2019] Xinru Zheng, Xiaotian Qiao, Ying Cao, and Rynson W. H. Lau. Content-aware generative mod- eling of graphic design layouts. ACM Transactions on Graphics, 38(4):1-15, August 2019.
  37. [Zhong et al., 2019] Xu Zhong, Jianbin Tang, and Anto- nio Jimeno Yepes. Publaynet: largest dataset ever for doc- ument layout analysis. In 2019 International Conference on Document Analysis and Recognition (ICDAR), pages 1015-1022. IEEE, 2019.
  38. [Zhou et al., 2022] Min Zhou, Chenchen Xu, Ye Ma, Tiezheng Ge, Yuning Jiang, and Weiwei Xu. Composition- aware Graphic Layout GAN for Visual-Textual Presenta- tion Designs. In Proceedings of the Thirty-First Interna- tional Joint Conference on Artificial Intelligence, pages 4995-5001, Vienna, Austria, July 2022. International Joint Conferences on Artificial Intelligence Organization.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards