arrow
返回

Program synthesis algorithm based on context consistency heuristic

delete2023-08-01
delete0
PRE
AI
Q
Quansheng Dou *
H
Hao Pan
唐
唐焕玲 (Huanling Tang)
P
Ping Jiang
H
Huixian Wang
DOI:10.1007/s13042-023-01925-3delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Programming-by-example (PBE) is a program synthesis technique that automatically synthesizes computer programs from input-output (I/O) examples. There are many approaches to program synthesis, and one of the most commonly used solutions is to perform a search over the space of programs. In this paper, we present a novel program synthesis algorithm based on context consistency heuristic (PSACC) that differs from previous heuristic methods. We consider the input-output example as a state and develop a deep neural network-based predictor called DHFnet. DHFnet has the ability to map the current state to the first two instructions of the program which achieves the current state. By considering the current state and its subsequent state obtained by executing the corresponding instruction, we design a context consistency-based search algorithm. Our search algorithm enables a more reasonable and efficient selection of instructions in the program, by judging whether the instructions maintain the context consistency between the current state and its subsequent state. Furthermore, under the same experimental and testing environments, PSACC successfully enhances the success rate of program synthesis by 2-5%, and reduces the synthesis time compared to the baseline method. PSACC also exhibits better synthesis efficiency in terms of comprehensive performance compared to existing program synthesis methods.
Keyword:
Program synthesis
Search algorithm
Programming by example
Context consistency heuristic

期刊

International Journal of Machine Learning and Cybernetics 封面图
International Journal of Machine Learning and Cybernetics
IF:
2.7
论文数:
3.3K
被引数:
7.0K

机构

暂无机构信息
引用论文

引用论文

A review of caregiver costs included in cost-of-illness studies
err2022-06-02
err0
errOAAI
errT. Joseph Mattingly; Valeria Diaz Fernandez; Dominique Seo; Andrea I. Melgar Castillo
err分享
err收藏
Visual neuroscience research in China
err2010-04-29
err0
PREAI
errHaiShan Yao; HaiDong Lu; Wei Wang
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err分享
err收藏
err分享
err收藏
Diagnosis of Spinal Disease with Ultrafine Flexible Fiberscopes in Patients with Chronic Pain使用超细柔性纤维内镜对慢性疼痛患者的脊柱疾病进行诊断
err2003-09-01
err0
PREAI
errToshiyuki Tobita; Manabu Okamoto; Misao Tomita; Tomohiro Yamakura; Hideyoshi Fujihara; Hiroshi Baba; Seiji Uchiyama; Wolfgang Hamann; Koki Shimoji
err分享
err收藏
TOWARD AUTOMATIC PROGRAM SYNTHESIS
err1971-03-01
err129
errOAAI
errMANNA, Z; WALDINGER, RJ
err分享
err收藏
没有更多内容