Counterexample-Driven Genetic Programming: Heuristic Program Synthesis from Formal Specifications

Author:

Błądek Iwo1,Krawiec Krzysztof1,Swan Jerry2

Affiliation:

1. Institute of Computing Science, Poznan University of Technology, Poznań, 60-965, Poland

2. Department of Computer Science, University of York, York, YO10 5GH, UK

Abstract

Conventional genetic programming (GP) can guarantee only that synthesized programs pass tests given by the provided input-output examples. The alternative to such a test-based approach is synthesizing programs by formal specification, typically realized with exact, nonheuristic algorithms. In this article, we build on our earlier study on Counterexample-Based Genetic Programming (CDGP), an evolutionary heuristic that synthesizes programs from formal specifications. The candidate programs in CDGP undergo formal verification with a Satisfiability Modulo Theory (SMT) solver, which results in counterexamples that are subsequently turned into tests and used to calculate fitness. The original CDGP is extended here with a fitness threshold parameter that decides which programs should be verified, a more rigorous mechanism for turning counterexamples into tests, and other conceptual and technical improvements. We apply it to 24 benchmarks representing two domains: the linear integer arithmetic (LIA) and the string manipulation (SLIA) problems, showing that CDGP can reliably synthesize provably correct programs in both domains. We also confront it with two state-of-the art exact program synthesis methods and demonstrate that CDGP effectively trades longer synthesis time for smaller program size.

Publisher

MIT Press - Journals

Subject

Computational Mathematics

Cited by 12 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Generational Computation Reduction in Informal Counterexample-Driven Genetic Programming;Lecture Notes in Computer Science;2024

2. Human-Driven Genetic Programming for Program Synthesis: A Prototype;Proceedings of the Companion Conference on Genetic and Evolutionary Computation;2023-07-15

3. MTGP: Combining Metamorphic Testing and Genetic Programming;Lecture Notes in Computer Science;2023

4. Counterexample-Driven Genetic Programming for Symbolic Regression with Formal Constraints;IEEE Transactions on Evolutionary Computation;2022

5. Security Control Technology and Simulation of Network News Communication under the Environment of Internet of Things;Wireless Communications and Mobile Computing;2021-07-17

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3