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

进化算法在程序合成中的应用

Recent Developments in Program Synthesis with Evolutionary Algorithms

Dominik Sobania, Dirk Schweim, Franz Rothlauf

摘要:

计算机程序的自动生成是演化计算领域中具有实际意义的主要应用之一。利用程序合成技术,不仅可以支持软件开发人员的日常工作,而且即使没有任何编程知识的用户也可以自动执行重复的任务并实现自己的新功能。近年来,基于进化算法的程序合成方法被提出,并在常见的基准测试问题上得到了评价。因此,我们在这项工作中确定相关的进化程序合成的方法,并提供了深入的分析其性能。我们确定的最有影响力的方法是基于堆栈的,语法指导,以及线性遗传编程。此外,我们发现,如果有一个简单的映射从给定的输入到正确的输出,这些方法在基准问题上表现良好。在这种映射很复杂的问题上,例如,如果问题由几个子问题组成,或者需要迭代/递归来获得正确的解决方案,则结果往往更糟。因此,对于未来的工作,我们鼓励研究人员不仅使用程序的输出来评估解决方案的质量,而且还使用解决方案的方式(例如,正确解决子问题)。

英文摘要:

The automatic generation of computer programs is one of the main applications with practical relevance in the field of evolutionary computation. With program synthesis techniques not only software developers could be supported in their everyday work but even users without any programming knowledge could be empowered to automate repetitive tasks and implement their own new functionality. In recent years, many novel program synthesis approaches based on evolutionary algorithms have been proposed and evaluated on common benchmark problems. Therefore, we identify in this work the relevant evolutionary program synthesis approaches and provide an in-depth analysis of their performance. The most influential approaches we identify are stack-based, grammar-guided, as well as linear genetic programming. Further, we find that these approaches perform well on benchmark problems if there is a simple mapping from the given input to the correct output. On problems where this mapping is complex, e.g., if the problem consists of several sub-problems or requires iteration/recursion for a correct solution, results tend to be worse. Consequently, for future work, we encourage researchers not only to use a program's output for assessing the quality of a solution but also the way towards a solution (e.g., correctly solved sub-problems).

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

↑