1. Test Case Features as Hyper-heuristics for Inductive Programming
- Author
-
McDaid, Edward and McDaid, Sarah
- Subjects
Computer Science - Artificial Intelligence ,D.1.2 ,D.3.3 ,F.1.1 ,F.3.1 ,F.3.3 ,I.2.1 ,I.2.2 ,I.2.4 ,I.2.5 ,I.2.8 ,I.5.3 - Abstract
Instruction subsets are heuristics that can reduce the size of the inductive programming search space by tens of orders of magnitude. Comprising many overlapping subsets of different sizes, they serve as predictions of the instructions required to code a solution for any problem. Currently, this approach employs a single, large family of subsets meaning that some problems can search thousands of subsets before a solution is found. In this paper we introduce the use of test case type signatures as hyper-heuristics to select one of many, smaller families of instruction subsets. The type signature for any set of test cases maps directly to a single family and smaller families mean that fewer subsets need to be considered for most problems. Having many families also permits subsets to be reordered to better reflect their relative occurrence in human code - again reducing the search space size for many problems. Overall the new approach can further reduce the size of the inductive programming search space by between 1 and 3 orders of magnitude, depending on the type signature. Larger and more consistent reductions are possible through the use of more sophisticated type systems. The potential use of additional test case features as hyper-heuristics and some other possible future work is also briefly discussed., Comment: 14 pages, 3 figures. Accepted for 20th IFIP WG 12.5 International Conference, AIAI 2024 Corfu, Greece, June 27-30, 2024
- Published
- 2024
- Full Text
- View/download PDF