HOTGP- Higher-Order Typed Genetic Programming

被引:0
|
作者
Fernandes, Matheus Campos [1 ]
de Franca, Fabricio Olivetti [1 ]
Francesquini, Emilio [1 ]
机构
[1] Fed Univ ABC UFABC, Santo Andre, SP, Brazil
基金
巴西圣保罗研究基金会;
关键词
Inductive Program Synthesis; Genetic Programming; Functional Programming;
D O I
10.1145/3583131.3590464
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 stateof-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.
引用
收藏
页码:1091 / 1099
页数:9
相关论文
共 50 条
  • [1] Typed higher-order narrowing without higher-order strategies
    Antoy, S
    Tolmach, A
    [J]. FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 1999, 1722 : 335 - 352
  • [2] Resolving Inductive Definitions with Binders in Higher-Order Typed Functional Programming
    Lakin, Matthew R.
    Pitts, Andrew M.
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2009, 5502 : 47 - 61
  • [3] A typed semantics of higher-order store and subtyping
    Schwinghammer, J
    [J]. THEORETICAL COMPUTER SCIENCE, PROCEEDINGS, 2005, 3701 : 390 - 405
  • [4] Pirouette: Higher-Order Typed Functional Choreographies
    Hirsch, Andrew K.
    Garg, Deepak
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (POPL):
  • [5] Typed operational semantics for higher-order subtyping
    Compagnoni, A
    Goguen, H
    [J]. INFORMATION AND COMPUTATION, 2003, 184 (02) : 242 - 297
  • [6] HIGHER-ORDER LOGIC PROGRAMMING
    MILLER, DA
    NADATHUR, G
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1986, 225 : 448 - 462
  • [7] HIGHER-ORDER LOGIC PROGRAMMING
    MILLER, DA
    NADATHUR, G
    [J]. JOURNAL OF SYMBOLIC LOGIC, 1986, 51 (03) : 851 - 851
  • [8] EVL: A Typed Higher-order Functional Language for Events
    Alves, Sandra
    Fernandez, Maribel
    Ramos, Miguel
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2020, 351 : 3 - 23
  • [9] Initial Semantics for higher-order typed syntax in Coq
    Ahrens, Benedikt
    Zsido, Julianna
    [J]. JOURNAL OF FORMALIZED REASONING, 2011, 4 (01): : 25 - 69
  • [10] Behavioural equivalence and indistinguishability in higher-order typed languages
    Katsumata, S
    [J]. RECENT TRENDS IN ALGEBRAIC DEVELOPMENT TECHNIQUES, 2003, 2755 : 284 - 298