DLPaper2Code: Auto-Generation of Code from Deep Learning Research Papers

Abstract

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. Even if the source code is available, then 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 crowd sourced manner. To evaluate our approach, we create a simulated dataset with over 216,000 valid deep learning design flow diagrams 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.

Cite

Text

Sethi et al. "DLPaper2Code: Auto-Generation of Code from Deep Learning Research Papers." AAAI Conference on Artificial Intelligence, 2018. doi:10.1609/AAAI.V32I1.12326

Markdown

[Sethi et al. "DLPaper2Code: Auto-Generation of Code from Deep Learning Research Papers." AAAI Conference on Artificial Intelligence, 2018.](https://mlanthology.org/aaai/2018/sethi2018aaai-dlpaper/) doi:10.1609/AAAI.V32I1.12326

BibTeX

@inproceedings{sethi2018aaai-dlpaper,
  title     = {{DLPaper2Code: Auto-Generation of Code from Deep Learning Research Papers}},
  author    = {Sethi, Akshay and Sankaran, Anush and Panwar, Naveen and Khare, Shreya and Mani, Senthil},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2018},
  pages     = {7339-7346},
  doi       = {10.1609/AAAI.V32I1.12326},
  url       = {https://mlanthology.org/aaai/2018/sethi2018aaai-dlpaper/}
}