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

HOTGP——高阶类型化遗传规划

HOTGP -- Higher-Order Typed Genetic Programming

Federal University of ABC (UFABC)(ABC联邦大学)

Matheus Campos Fernandes, Fabrício Olivetti de França, Emilio Francesquini

AI总结:

本文提出HOTGP遗传规划算法,利用丰富数据类型与内置文法约束搜索空间,合成纯类型化函数式程序,在标准基准上比6种先进算法更频繁地合成正确程序。

摘要:

程序合成是根据一组规范生成计算机程序的过程,这些规范可以是问题的高层描述和/或一组输入输出示例。该合成可以建模为一个搜索问题,其搜索空间是在某一文法下所有有效程序的集合。由于搜索空间巨大,暴力搜索通常不可行,而诸如遗传规划等搜索启发式方法在没有指导的情况下也难以在其中导航。本文提出了HOTGP,一种新的遗传规划算法,用于合成纯的、类型化的函数式程序。HOTGP利用与规范相关联的丰富数据类型以及内置文法所提供的知识,来约束搜索空间并提升合成性能。该文法基于Haskell的标准基础库(合成的代码可以使用任何标准Haskell编译器直接编译),并支持高阶函数、$λ$-函数和参数化多态。实验结果表明,与使用一组标准基准测试的$6$种最先进算法相比,HOTGP具有竞争力,并且比任何其他被评估算法都能更频繁地合成出正确程序。

英文摘要:

Program synthesis is the process of generating a computer program following a set of specifications, which can be a high-level description of the problem and/or a set of input-output examples. The synthesis can be modeled as a search problem in which the search space is the set of all the programs valid under a grammar. As the search space is vast, brute force is usually not viable and search heuristics, such as genetic programming, also have difficulty navigating it without any guidance. In this paper we present HOTGP, a new genetic programming algorithm that synthesizes pure, typed, and functional programs. HOTGP leverages the knowledge provided by the rich data-types associated with the specification and the built-in grammar to constrain the search space and improve the performance of the synthesis. The grammar is based on Haskell's standard base library (the synthesized code can be directly compiled using any standard Haskell compiler) and includes support for higher-order functions, $λ$-functions, and parametric polymorphism. Experimental results show that, when compared to $6$ state-of-the-art algorithms using a standard set of benchmarks, HOTGP is competitive and capable of synthesizing the correct programs more frequently than any other of the evaluated algorithms.

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

↑