arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2001.09245cs.LOcs.LG
收藏

CounterExample Guided Neural Synthesis

University of California, Berkeley(加州大学伯克利分校);University of Oxford(牛津大学)

Elizabeth Polgreen, Ralph Abboud, Daniel Kroening

英文摘要:

Program synthesis is the generation of a program from a specification. Correct synthesis is difficult, and methods that provide formal guarantees suffer from scalability issues. On the other hand, neural networks are able to generate programs from examples quickly but are unable to guarantee that the program they output actually meets the logical specification. In this work we combine neural networks with formal reasoning: using the latter to convert a logical specification into a sequence of examples that guides the neural network towards a correct solution, and to guarantee that any solution returned satisfies the formal specification. We apply our technique to synthesising loop invariants and compare the performance to existing solvers that use SMT and existing techniques that use neural networks. Our results show that the formal reasoning based guidance improves the performance of the neural network substantially, nearly doubling the number of benchmarks it can solve.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑