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 条
  • [1] Counterexample-guided permissive supervisor synthesis for probabilistic systems through learning
    Wu, Bo
    Lin, Hai
    2015 AMERICAN CONTROL CONFERENCE (ACC), 2015, : 2894 - 2899
  • [2] Counterexample-Guided Inductive Repair of Reactive Contracts
    Hussein, Soha
    Rayadurgam, Sanjai
    McCamant, Stephen
    Sharma, Vaibhav
    Heimdahl, Mats
    Proceedings - IEEE/ACM 10th International Conference on Formal Methods in Software Engineering, FormaliSE 2022, 2022, : 46 - 57
  • [3] Counterexample-Guided Inductive Repair of Reactive Contracts
    Hussein, Soha
    Rayadurgam, Sanjai
    McCamant, Stephen
    Sharma, Vaibhav
    Heimdahl, Mats
    IEEE/ACM 10TH INTERNATIONAL CONFERENCE ON FORMAL METHODS IN SOFTWARE ENGINEERING (FORMALISE 2022), 2022, : 46 - 57
  • [4] OptCE: A Counterexample-Guided Inductive Optimization Solver
    Albuquerque, Higo F.
    Araujo, Rodrigo F.
    Bessa, Iury V.
    Cordeiro, Lucas C.
    de Lima Filho, Eddie B.
    FORMAL METHODS: FOUNDATIONS AND APPLICATIONS, SBMF 2017, 2017, 10623 : 125 - 141
  • [5] A Novel Counterexample-Guided Inductive Synthesis Framework for Barrier Certificate Generation
    Ding, Mi
    Lin, Kaipeng
    Lin, Wang
    Ding, Zuohua
    2022 IEEE 33RD INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2022), 2022, : 263 - 273
  • [6] SAT-Based Counterexample-Guided Inductive Synthesis of Distributed Controllers
    Chukharev, Konstantin
    Suvorov, Dmitrii
    Chivilikhin, Daniil
    Vyatkin, Valeriy
    IEEE ACCESS, 2020, 8 : 207485 - 207498
  • [7] Counterexample-Guided Model Synthesis
    Preiner, Mathias
    Niemetz, Aina
    Biere, Armin
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2017, PT I, 2017, 10205 : 264 - 280
  • [8] Assisted Counterexample-Guided Inductive Optimization for Robot Path Planning
    Li, Mengze
    Cordeiro, Lucas
    2021 XI BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEMS ENGINEERING (SBESC), 2021,
  • [9] Counterexample-guided control
    Henzinger, TA
    Jhala, R
    Majumdar, R
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2003, 2719 : 886 - 902
  • [10] Counterexample-guided Distributed Permissive Supervisor Synthesis for Probabilistic Multi-agent Systems through Learning
    Wu, Bo
    Lin, Hai
    2016 AMERICAN CONTROL CONFERENCE (ACC), 2016, : 5519 - 5524