计算机科学 > 人工智能
[提交于 2018年6月5日]
标题:Program Synthesis from Visual Specification
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Program synthesis is the process of automatically translating a specification into computer code. Traditional synthesis settings require a formal, precise specification. Motivated by computer education applications where a student learns to code simple turtle-style drawing programs, we study a novel synthesis setting where only a noisy user-intention drawing is specified. This allows students to sketch their intended output, optionally together with their own incomplete program, to automatically produce a completed program. We formulate this synthesis problem as search in the space of programs, with the score of a state being the Hausdorff distance between the program output and the user drawing. We compare several search algorithms on a corpus consisting of real user drawings and the corresponding programs, and demonstrate that our algorithms can synthesize programs optimally satisfying the specification.
提交历史
来自:Ara Vartanian[v1] 2018年6月5日 星期二 00:00:00 UTC