arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.03736cs.NEcs.AI
收藏

基于自适应替换变异和自动构造子程序库的知识驱动程序合成

Knowledge-Driven Program Synthesis via Adaptive Replacement Mutation and Auto-constructed Subprogram Archives

University of Tsukuba(筑波大学)

Yifan He, Claus Aranha, Tetsuya Sakurai

摘要:

我们引入知识驱动的程序合成(KDPS)作为一个变种的程序合成任务,需要代理解决一系列的程序合成问题。在KDPS中,智能体应该使用来自早期问题的知识来解决后期问题。提出了一种基于PushGP的KDPS问题求解方法,该方法将子程序作为知识。所提出的方法提取子程序从以前解决的问题的解决方案,甚至分区(EP)的方法,并使用这些子程序来解决即将到来的编程任务,使用自适应替换变异(ARM)。我们称之为PushGP+EP+ ARM,使用PushGP+EP+ARM,在知识提取和利用过程中不需要人工努力。我们比较所提出的方法与PushGP,以及使用子程序手动提取的人的方法。我们的PushGP+EP+ARM实现了比PushGP更好的训练错误、成功计数和更快的收敛。此外,我们证明了PushGP+EP+ARM的优越性时,连续解决一系列的六个程序合成问题。

英文摘要:

We introduce Knowledge-Driven Program Synthesis (KDPS) as a variant of the program synthesis task that requires the agent to solve a sequence of program synthesis problems. In KDPS, the agent should use knowledge from the earlier problems to solve the later ones. We propose a novel method based on PushGP to solve the KDPS problem, which takes subprograms as knowledge. The proposed method extracts subprograms from the solution of previously solved problems by the Even Partitioning (EP) method and uses these subprograms to solve the upcoming programming task using Adaptive Replacement Mutation (ARM). We call this method PushGP+EP+ARM. With PushGP+EP+ARM, no human effort is required in the knowledge extraction and utilization processes. We compare the proposed method with PushGP, as well as a method using subprograms manually extracted by a human. Our PushGP+EP+ARM achieves better train error, success count, and faster convergence than PushGP. Additionally, we demonstrate the superiority of PushGP+EP+ARM when consecutively solving a sequence of six program synthesis problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑