Latent Attention For If-Then Program Synthesis
Not on the map. Why?
Abstract (arXiv)
Automatic translation from natural language descriptions into programs is a longstanding 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.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Nov 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 3; 2023: 1; 2024: 2.
10 papers.
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2024Reducing hallucination in structured outputs via Retrieval-Augmented Generationcited by 92
- 2021SeaD: End-to-end Text-to-SQL Generation with Schema-aware Denoisingcited by 27
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2021ProTo: Program-Guided Transformer for Program-Guided Taskscited by 19
- 2021Neural Attention Models in Deep Learning: Survey and Taxonomycited by 8
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2022A Survey on Natural Language Processing for Programmingcited by 3
- 2024Proactive Detection of Physical Inter-rule Vulnerabilities in IoT Services Using a Deep Learning Approachcited by 0
- 2024Proactive Detection of Physical Inter-rule Vulnerabilities in IoT Services Using a Deep Learning Approach6 Jun 2024
- 2024Reducing hallucination in structured outputs via Retrieval-Augmented Generation12 Apr 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2022A Survey on Natural Language Processing for Programming12 Dec 2022
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
- 2022Synchromesh: Reliable code generation from pre-trained language models26 Jan 2022
- 2021Neural Attention Models in Deep Learning: Survey and Taxonomy11 Dec 2021
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021ProTo: Program-Guided Transformer for Program-Guided Tasks2 Oct 2021
- 2021SeaD: End-to-end Text-to-SQL Generation with Schema-aware Denoising17 May 2021