Identifying and Leveraging Structural Sketches in Budgeted Program Synthesis
Online Structural Generalization from Partial Programs
U. Jacimovic (TU Delft - Electrical Engineering, Mathematics and Computer Science)
S. Dumančić – Mentor (TU Delft - Electrical Engineering, Mathematics and Computer Science)
Jesper Cocx – Graduation committee member
More Info
expand_more
Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.
Abstract
Budgeted program synthesis explores the program space through multiple limited search attempts,but typically discards unsuccessful attempts de-spite producing partially successful programs that pass some examples. We present an approach that leverages these partial solutions by integrating anti-unification into the synthesis loop to extract and reuse structural sketches. These sketches capture shared program structure while abstracting over details, and are used to guide subsequent search. Direct anti-unification over heterogeneous partial programs is often ineffective. We therefore study grouping strategies based on behavioral similarity and root syntactic structure prior to generalization.Evaluated on string-processing benchmarks from the SyGuS PBE-SLIA Track, our results show that grouping-based approaches yield more informative sketches and improve solution quality on a subset of problems, with root-based grouping being particularly effective when early structural decisions dominate the search.