about
DLPaper2Code: Auto-Generation of Code from Deep Learning Research Papers (arxiv.org)
25 points by lainon on Nov 14, 2017 | hide | past | pdf | 1 comment on HN

In plain words: It reads a paper's flow diagrams and tables, turns them into a network blueprint, and writes runnable code in two popular libraries, sparing people the hand rewrite. On 216,000 test designs, it pulled out diagram contents correctly more than 93% of the time.

Abstract · DLPaper2Code: Auto-generation of Code from Deep Learning Research Papers

With an abundance of research papers in deep learning, reproducibility or adoption of the existing works becomes a challenge. This is due to the lack of open source implementations provided by the authors. Further, re-implementing research papers in a different library is a daunting task. To address these challenges, we propose a novel extensible approach, DLPaper2Code, to extract and understand deep learning design flow diagrams and tables available in a research paper and convert them to an abstract computational graph. The extracted computational graph is then converted into execution ready source code in both Keras and Caffe, in real-time. An arXiv-like website is created where the automatically generated designs is made publicly available for 5,000 research papers. The generated designs could be rated and edited using an intuitive drag-and-drop UI framework in a crowdsourced manner. To evaluate our approach, we create a simulated dataset with over 216,000 valid design visualizations using a manually defined grammar. Experiments on the simulated dataset show that the proposed framework provide more than $93\%$ accuracy in flow diagram content extraction.

Akshay Sethi, Anush Sankaran, Naveen Panwar, Shreya Khare, Senthil Mani
arXiv:1711.03543 · cs.LG, cs.AI, stat.ML · submitted Nov 9, 2017
abstract · pdf · html · AAAI2018

add comment on HN
Also discussed: Nov 2017 (1 point, 0 comments) · Nov 2017 (3 points, 0 comments)

Wonderful idea, and 20K “labeled” training examples makes it easier to get involved.