Authors
Kia Rahmani, Mohammad Raza, Sumit Gulwani, Vu Le, Daniel Morris, Arjun Radhakrishna, Gustavo Soares, Ashish Tiwari
Publication date
2021/10/15
Journal
Proceedings of the ACM on Programming Languages
Volume
5
Issue
OOPSLA
Pages
1-29
Publisher
ACM
Description
Multi-modal program synthesis refers to the task of synthesizing programs (code) from their specification given in different forms, such as a combination of natural language and examples. Examples provide a precise but incomplete specification, and natural language provides an ambiguous but more "complete" task description. Machine-learned pre-trained models (PTMs) are adept at handling ambiguous natural language, but struggle with generating syntactically and semantically precise code. Program synthesis techniques can generate correct code, often even from incomplete but precise specifications, such as examples, but they are unable to work with the ambiguity of natural languages. We present an approach that combines PTMs with component-based synthesis (CBS): PTMs are used to generate candidates programs from the natural language description of the task, which are then used to guide the …
Total citations
20212022202320247162123
Scholar articles
K Rahmani, M Raza, S Gulwani, V Le, D Morris… - Proceedings of the ACM on Programming Languages, 2021