paper-with-me

Papers

Instruction and Solution Probabilities as Heuristics for Inductive Programming

2025-06-13 · Edward McDaid, Sarah McDaid

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 has been evaluated using a large sample of human code. We tested two formulations of instruction probability: one based on instruction occurrence across the entire code sample and another that measured the distribution separately for each IS. Our results show that both variants produce substantial further reductions in the IP search space size of up to tens of orders of magnitude, depending on solution size. In combination with IS, reductions of over 100 orders of magnitude can be achieved. We also carried out cross-validation testing to show that the heuristics should work effectively with unseen code. The approach is described and the results and some ideas for future work are discussed.

📄 PDF Abstract BibTeX arXiv:2506.13804

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Test Case Features as Hyper-heuristics for Inductive Programming

2024-06-29 · Edward McDaid, Sarah McDaid

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 t…

Shrinking the Inductive Programming Search Space with Instruction Subsets

2023-02-10 · Edward McDaid, Sarah McDaid

Inductive programming frequently relies on some form of search in order to identify candidate solutions. However, the size of the search space limits the use of inductive programming to the production of relatively small…

Inductive Learning of Declarative Domain-Specific Heuristics for ASP

2023-08-30 · Richard Comploi-Taupe

Domain-specific heuristics are a crucial technique for the efficient solving of problems that are large or computationally hard. Answer Set Programming (ASP) systems support declarative specifications of domain-specific …

Inductive LearningInductive logic programming

Further Decimating the Inductive Programming Search Space with Instruction Digrams

2023-05-22 · Edward McDaid, Sarah McDaid

Overlapping instruction subsets derived from human originated code have previously been shown to dramatically shrink the inductive programming search space, often by many orders of magnitude. Here we extend the instructi…

PrASP Report

2016-12-30 · Matthias Nickles

This technical report describes the usage, syntax, semantics and core algorithms of the probabilistic inductive logic programming framework PrASP. PrASP is a research software which integrates non-monotonic reasoning bas…

Inductive logic programming