Learning to Synthesize Relational Invariants

被引:3
|
作者
Wang, Jingbo [1 ]
Wang, Chao [1 ]
机构
[1] Univ Southern Calif, Los Angeles, CA 90089 USA
关键词
PROGRAM SYNTHESIS; TRANSFORMATIONS; INFERENCE; CHECKING;
D O I
10.1145/3551349.3556942
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We propose a method for synthesizing invariants that can help verify relational properties over two programs or two different executions of a program. Applications of such invariants include verifying functional equivalence, non-interference security, and continuity properties. Our method generates invariant candidates using syntax guided synthesis (SyGuS) and then filters them using an SMT-solver based verifier, to ensure they are both inductive invariants and sufficient for verifying the property at hand. To improve performance, we propose two learning based techniques: a logical reasoning (LR) technique to determine which part of the search space can be pruned away, and a reinforcement learning (RL) technique to determine which part of the search space to prioritize. Our experiments on a diverse set of relational verification benchmarks showthat our learning based techniques can drastically reduce the search space and, as a result, they allow our method to generate invariants of a higher quality in much shorter time than state-of-the-art invariant synthesis techniques.
引用
收藏
页数:12
相关论文
共 50 条
  • [41] Learning Invariants through Soft Unification
    Cingillioglu, Nuri
    Russo, Alessandra
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [42] LEARNING THE INVARIANTS OF A PERCEPTUAL MOTOR SKILL
    FRANKS, IM
    STANLEY, ML
    CANADIAN JOURNAL OF PSYCHOLOGY-REVUE CANADIENNE DE PSYCHOLOGIE, 1991, 45 (03): : 303 - 320
  • [43] Learning to Synthesize Arm Motion to Music By Example
    Oore, Sageev
    Akiyama, Yasushi
    WSCG 2006: FULL PAPERS PROCEEDINGS: 14TH INTERNATIONAL CONFERENCE IN CENTRAL EUROPE ON COMPUTER GRAPHICS, VISUALIZATION AND COMPUTER VISION 2006, 2006, : 201 - 208
  • [44] Learning Relational Causal Models with Cycles through Relational Acyclification
    Ahsan, Ragib
    Arbour, David
    Zheleva, Elena
    THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 10, 2023, : 12164 - 12171
  • [45] Rough sets and relational learning
    Milton, RS
    Maheswari, VU
    Siromoney, A
    TRANSACTIONS ON ROUGH SETS I, 2004, 3100 : 321 - 337
  • [46] Fast learning of relational kernels
    Landwehr, Niels
    Passerini, Andrea
    De Raedt, Luc
    Frasconi, Paolo
    MACHINE LEARNING, 2010, 78 (03) : 305 - 342
  • [47] Statistical relational learning of trust
    Achim Rettinger
    Matthias Nickles
    Volker Tresp
    Machine Learning, 2011, 82 : 191 - 209
  • [48] Learning 5000 Relational Extractors
    Hoffmann, Raphael
    Zhang, Congle
    Weld, Daniel S.
    ACL 2010: 48TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, 2010, : 286 - 295
  • [49] Learning Relational Kalman Filtering
    Choi, Jaesik
    Amir, Eyal
    Xu, Tianfang
    Valocchi, Albert J.
    PROCEEDINGS OF THE TWENTY-NINTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2015, : 2539 - 2546
  • [50] Modeling perceptual learning of abstract invariants
    Kellman, PJ
    Burke, T
    Hummel, JE
    PROCEEDINGS OF THE TWENTY FIRST ANNUAL CONFERENCE OF THE COGNITIVE SCIENCE SOCIETY, 1999, : 264 - 269