Instruction and Solution Probabilities as Heuristics for Inductive Programming
Edward McDaid, Sarah McDaid

TL;DR
This paper introduces instruction and solution probability heuristics to significantly reduce the search space in inductive programming, enabling more efficient solution discovery by pruning unlikely instruction combinations based on code sample statistics.
Contribution
It extends the instruction subset approach by incorporating probabilistic heuristics derived from code samples, achieving massive reductions in search space size and improving inductive programming efficiency.
Findings
Search space reductions up to tens of orders of magnitude
Effective pruning using instruction and solution probabilities
Heuristics generalize well to unseen code samples
Abstract
Instruction subsets (ISs) are heuristics that can shrink the size of the inductive programming (IP) search space by tens of orders of magnitude. Here, we extend the IS approach by introducing instruction and solution probabilities as additional heuristics. Instruction probability reflects the expectation of an instruction occurring in a solution, based on the frequency of instruction occurrence in a large code sample. The solution probability for a partial or complete program is simply the product of all constituent instruction probabilities, including duplicates. We treat the minimum solution probabilities observed in code sample program units of different sizes as solution probability thresholds. These thresholds are used to prune the search space as partial solutions are constructed, thereby eliminating any branches containing unlikely combinations of instructions. The new approach…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEvolutionary Algorithms and Applications · AI-based Problem Solving and Planning
