Counterexample-guided inductive synthesis for probabilistic systems

被引:5
|
作者
Ceska, Milan [1 ]
Hensel, Christian [2 ]
Junges, Sebastian [3 ]
Katoen, Joost-Pieter [2 ]
机构
[1] Brno Univ Technol, Brno, Czech Republic
[2] Rhein Westfal TH Aachen, Aachen, Germany
[3] Univ Calif Berkeley, Berkeley, CA 94720 USA
关键词
Program Synthesis; Markov Chains; Probabilistic Model Checking; Counterexamples; CEGIS; QUANTITATIVE VERIFICATION; PARAMETER SYNTHESIS; MODELS;
D O I
10.1007/s00165-021-00547-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents counterexample-guided inductive synthesis (CEGIS) to automatically synthesise probabilistic models. The starting point is a family of finite-stateMarkov chains with related but distinct topologies. Such families can succinctly be described by a sketch of a probabilistic program. Program sketches are programs containing holes. Every hole has a finite repertoire of possible program snippets by which it can be filled.We study several synthesis problems-feasibility, optimal synthesis, and complete partitioning-for a given quantitative specification phi. Feasibility amounts to determine a family member satisfying., optimal synthesis amounts to find a family member that maximises the probability to satisfy., and complete partitioning splits the family in satisfying and refuting members. Each of these problems can be considered under the additional constraint of minimising the total cost of instantiations, e.g., what are all possible instantiations for phi that are within a certain budget? The synthesis problems are tackled using a CEGIS approach. The crux is to aggressively prune the search space by using counterexamples provided by a probabilistic model checker. Counterexamples can be viewed as sub-Markov chains that rule out all family members that share this sub-chain. Our CEGIS approach leverages efficient probabilistic model checking, modernSMTsolving, and programsnippets as counterexamples. Experiments on case studies froma diverse nature-controller synthesis, program sketching, and security-show that synthesis among up to a million candidate designs can be done using a few thousand verification queries.
引用
收藏
页码:637 / 667
页数:31
相关论文
共 50 条
  • [21] Verification of hybrid systems based on counterexample-guided abstraction refinement
    Clarke, E
    Fehnker, A
    Han, Z
    Krogh, B
    Stursberg, O
    Theobald, M
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2003, 2619 : 192 - 207
  • [22] Counterexample-guided Abstraction Refinement for Component-based Systems
    Zhang, Lianyi
    Meng, Qingdi
    Luo, Guiming
    2014 IEEE 38TH ANNUAL INTERNATIONAL COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2014, : 201 - 210
  • [23] Counterexample-guided abstraction refinement for the analysis of graph transformation systems
    Koenig, Barbara
    Kozioura, Vitali
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2006, 3920 : 197 - 211
  • [24] Counterexample-Guided Assume-Guarantee Synthesis through Learning
    Lin, Shang-Wei
    Hsiung, Pao-Ann
    IEEE TRANSACTIONS ON COMPUTERS, 2011, 60 (05) : 734 - 750
  • [25] A counterexample-guided approach to parameter synthesis for linear hybrid automata
    Frehse, Goran
    Jha, Sumit Kumar
    Krogh, Bruce H.
    HYBRID SYSTEMS: COMPUTATION AND CONTROL, 2008, 4981 : 187 - +
  • [26] Counterexample-Guided Refinement of Template Polyhedra
    Bogomolov, Sergiy
    Frehse, Goran
    Giacobbe, Mirco
    Henzinger, Thomas A.
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2017, PT I, 2017, 10205 : 589 - 606
  • [27] Counterexample Guided Inductive Synthesis Modulo Theories
    Abate, Alessandro
    David, Cristina
    Kesseli, Pascal
    Kroening, Daniel
    Polgreen, Elizabeth
    COMPUTER AIDED VERIFICATION (CAV 2018), PT I, 2018, 10981 : 270 - 288
  • [28] Counterexample-Guided Simulation Framework for Formal Verification of Flexible Automation Systems
    Patil, Sandeep
    Vyatkin, Valeriy
    Pang, Cheng
    PROCEEDINGS 2015 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2015, : 1192 - 1197
  • [29] Counterexample-Guided Bit-Precision Selection
    He, Shaobo
    Rakamaric, Zvonimir
    PROGRAMMING LANGUAGES AND SYSTEMS (APLAS 2017), 2017, 10695 : 534 - 553
  • [30] Counterexample-Guided Approach to Finding Numerical Invariants
    ThanhVu Nguyen
    Antonopoulos, Timos
    Ruef, Andrew
    Hicks, Michael
    ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 605 - 615