CSSSketch2Code: An automatic method to generate web pages with CSS style

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

11 Scopus citations

Abstract

With the constantly increasing scale of the Internet and the users, the Internet applications have higher demands on the front-end web pages. Some web pages have single lattice structure and a relatively fixed HTML code template, which can be automatically generated. There have been research abroad using the deep learning on the task of automatically generating the web pages. However due to the basic encoder-decoder model adopted, the generalization ability of the model is not very robust. In this paper, we propose a novel method based on object detection and attention mechanism to automatically generate a web page with CSS style information. We use object detection to extend the original problem, which makes the model possible to detect the CSS style contents in the web page. Meanwhile we use attention mechanism to strengthen the model. Finally we propose our own dataset, based on which the experiment results show that method we proposed outperforms other existing methods.

Original languageEnglish
Title of host publicationICAAI 2018 - 2018 the 2nd International Conference on Advances in Artificial Intelligence
PublisherAssociation for Computing Machinery
Pages29-35
Number of pages7
ISBN (Electronic)9781450365833
DOIs
StatePublished - 6 Oct 2018
Event2nd International Conference on Advances in Artificial Intelligence, ICAAI 2018 - Barcelona, Spain
Duration: 6 Oct 20188 Oct 2018

Publication series

NameACM International Conference Proceeding Series

Conference

Conference2nd International Conference on Advances in Artificial Intelligence, ICAAI 2018
Country/TerritorySpain
CityBarcelona
Period6/10/188/10/18

Keywords

  • Attention mechanism
  • Bidirectional long short term memory
  • CSS
  • Convolutional neural network
  • Front-end pages automatic generation
  • Object detection

Fingerprint

Dive into the research topics of 'CSSSketch2Code: An automatic method to generate web pages with CSS style'. Together they form a unique fingerprint.

Cite this