Adaptive Concretization for Parallel Program Synthesis
Adaptive Concretization for Parallel Program Synthesis
复制标题
并行程序综合的自适应具体化
DOI:
10.1007/978-3-319-21668-3_22
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
J. Foster
中科院分区:
文献类型:
--
作者:
Jinseong Jeon;Xiaokang Qiu;Armando Solar;J. Foster
Program synthesis tools work by searching for an implementation that satisfies a given specification. Two popular search strategies are symbolic search, which reduces synthesis to a formula passed to a SAT solver, and explicit search, which uses brute force or random search to find a solution. In this paper, we propose adaptive concretization, a novel synthesis algorithm that combines the best of symbolic and explicit search. Our algorithm works by partially concretizing a randomly chosen, but likely highly influential, subset of the unknowns to be synthesized. Adaptive concretization uses an online search process to find the optimal size of the concretized subset using a combination of exponential hill climbing and binary search, employing a statistical test to determine when one degree of concretization is sufficiently better than another. Moreover, our algorithm lends itself to a highly parallel implementation, further speeding up search. We implemented adaptive concretization for Sketch and evaluated it on a range of benchmarks. We found adaptive concretization is very effective, outperforming Sketch in many cases, sometimes significantly, and has good parallel scalability.
Open image in new window