HOTGP -- Higher-Order Typed Genetic Programming
Fernandes, Matheus Campos, de França, Fabrício Olivetti, Francesquini, Emilio
–arXiv.org Artificial Intelligence
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, $\lambda$-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.
arXiv.org Artificial Intelligence
Apr-6-2023
- Country:
- Asia > Japan
- Honshū > Kansai > Kyoto Prefecture > Kyoto (0.04)
- Europe
- North America
- Mexico > Quintana Roo
- Cancún (0.04)
- United States
- California > San Francisco County
- San Francisco (0.14)
- Massachusetts
- Middlesex County > Cambridge (0.04)
- Suffolk County > Boston (0.14)
- Montana (0.04)
- New York > New York County
- New York City (0.05)
- Wisconsin > Dane County
- Madison (0.14)
- California > San Francisco County
- Mexico > Quintana Roo
- South America > Brazil
- São Paulo (0.04)
- Asia > Japan
- Genre:
- Research Report > New Finding (0.34)
- Technology: