IJCAI 2023poster5 citations

Relation-enhanced DETR for Component Detection in Graphic Design Reverse Engineering

Xixuan Hao, Danqing Huang, Jieru Lin, Chin-Yew Lin

Abstract

It is a common practice for designers to create digital prototypes from a mock-up/screenshot. Reverse engineering graphic design by detecting its components (e.g., text, icon, button) helps expedite this process. This paper first conducts a statistical analysis to emphasize the importance of relations in graphic layouts, which further motivates us to incorporate relation modeling into component detection. Built on the current state-of-the-art DETR (DEtection TRansformer), we introduce a learnable relation matrix to model class correlations. Specifically, the matrix will be added in the DETR decoder to update the query-to-query self-attention. Experiment results on three public datasets show that our approach achieves better performance than several strong baselines. We further visualize the learnt relation matrix and observe some reasonable patterns. Moreover, we show an application of component detection where we leverage the detection outputs as augmented training data for layout generation, which achieves promising results.

Multidisciplinary Topics and Applications: MDA: Arts and creativityComputer Vision: CV: ApplicationsComputer Vision: CV: Recognition (object detection, categorization)
BibTeX
@inproceedings{ijcai2023p532,
  title     = {Relation-enhanced DETR for Component Detection in Graphic Design Reverse Engineering},
  author    = {Hao, Xixuan and Huang, Danqing and Lin, Jieru and Lin, Chin-Yew},
  booktitle = {Proceedings of the Thirty-Second International Joint Conference on
               Artificial Intelligence, {IJCAI-23}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Edith Elkind},
  pages     = {4785--4793},
  year      = {2023},
  month     = {8},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2023/532},
  url       = {https://doi.org/10.24963/ijcai.2023/532},
}
Relation-enhanced DETR for Component Detection in Graphic Design Reverse Engineering · IJCAI 2023