about
Teaching Machines to Code: Neural Markup Generation with Visual Attention (arxiv.org)
1 point by jxub on Feb 26, 2018 | hide | past | pdf | discuss on HN

In plain words: A model reads a photo of a math formula and writes matching LaTeX code, focusing on one symbol at a time. It scored 89% on the code-matching test, beating the previous best, and its attention maps point to symbols without being told where they are.

Abstract

We present a neural transducer model with visual attention that learns to generate LaTeX markup of a real-world math formula given its image. Applying sequence modeling and transduction techniques that have been very successful across modalities such as natural language, image, handwriting, speech and audio; we construct an image-to-markup model that learns to produce syntactically and semantically correct LaTeX markup code over 150 words long and achieves a BLEU score of 89%; improving upon the previous state-of-art for the Im2Latex problem. We also demonstrate with heat-map visualization how attention helps in interpreting the model and can pinpoint (detect and localize) symbols on the image accurately despite having been trained without any bounding box data.

Sumeet S. Singh
arXiv:1802.05415 · cs.LG, cs.CL, cs.CV, cs.NE · submitted Feb 15, 2018 · updated Jun 15, 2018
abstract · pdf · html · For datasets, visualizations and ancillary material see: https://untrix.github.io/i2l . For source code go to: https://github.com/untrix/im2latex

add comment on HN