NeurIPS 2016poster108 citations

Latent Attention For If-Then Program Synthesis

Chang Liu, Xinyun Chen, Eui Chul Shin, Mingcheng Chen, Dawn Song

Abstract

Automatic translation from natural language descriptions into programs is a long-standing challenging problem. In this work, we consider a simple yet important sub-problem: translation from textual descriptions to If-Then programs. We devise a novel neural network architecture for this task which we train end-to-end. Specifically, we introduce Latent Attention, which computes multiplicative weights for the words in the description in a two-stage process with the goal of better leveraging the natural language structures that indicate the relevant parts for predicting program elements. Our architecture reduces the error rate by 28.57% compared to prior art. We also propose a one-shot learning scenario of If-Then program synthesis and simulate it with our existing dataset. We demonstrate a variation on the training procedure for this scenario that outperforms the original procedure, significantly closing the gap to the model trained with all data.

BibTeX
@inproceedings{NIPS2016_716e1b8c,
 author = {Liu, Chang and Chen, Xinyun and Shin, Eui Chul and Chen, Mingcheng and Song, Dawn},
 booktitle = {Advances in Neural Information Processing Systems},
 editor = {D. Lee and M. Sugiyama and U. Luxburg and I. Guyon and R. Garnett},
 pages = {},
 publisher = {Curran Associates, Inc.},
 title = {Latent Attention For If-Then Program Synthesis},
 url = {https://proceedings.neurips.cc/paper_files/paper/2016/file/716e1b8c6cd17b771da77391355749f3-Paper.pdf},
 volume = {29},
 year = {2016}
}
Latent Attention For If-Then Program Synthesis · NeurIPS 2016