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 条
  • [31] RELATIONAL LEARNING IN PIGEON
    MARSH, G
    JOURNAL OF COMPARATIVE AND PHYSIOLOGICAL PSYCHOLOGY, 1967, 64 (03): : 519 - &
  • [32] Causal Relational Learning
    Salimi, Babak
    Parikh, Harsh
    Kayali, Moe
    Getoor, Lise
    Roy, Sudeepa
    Suciu, Dan
    SIGMOD'20: PROCEEDINGS OF THE 2020 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2020, : 241 - 256
  • [33] Learning Relational Patterns
    Geilke, Michael
    Zilles, Sandra
    ALGORITHMIC LEARNING THEORY, 2011, 6925 : 84 - +
  • [34] Relational Learning by Imitation
    Bombini, Grazia
    Di Mauro, Nicola
    Basile, Teresa M. A.
    Ferilli, Stefano
    Esposito, Floriana
    AGENT AND MULTI-AGENT SYSTEMS: TECHNOLOGIES AND APPLICATIONS, PROCEEDINGS, 2009, 5559 : 273 - 282
  • [35] Synthesize Inductive Invariants by K-means plus plus and Support Vector Machine
    Ren, Shengbing
    Zhang, Xiang
    2019 IEEE 2ND INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION ENGINEERING TECHNOLOGY (CCET), 2019, : 50 - 54
  • [36] Illuminant invariants at receptoral and postreceptoral levels as a basis for relational colour constancy
    Nascimento, S. M. C.
    Foster, D. H.
    PERCEPTION, 1994, 23 : 8 - 9
  • [37] Learning to Synthesize Programs as Interpretable and Generalizable Policies
    Trivedi, Dweep
    Zhang, Jesse
    Sun, Shao-Hua
    Lim, Joseph J.
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 34 (NEURIPS 2021), 2021, 34
  • [38] COALESCE: Component Assembly by Learning to Synthesize Connections
    Yin, Kangxue
    Chen, Zhiqin
    Chaudhuri, Siddhartha
    Fisher, Matthew
    Kim, Vladimir G.
    Zhang, Hao
    2020 INTERNATIONAL CONFERENCE ON 3D VISION (3DV 2020), 2020, : 61 - 70
  • [39] Discovering invariants via machine learning
    Ha, Seungwoong
    Jeong, Hawoong
    PHYSICAL REVIEW RESEARCH, 2021, 3 (.4):
  • [40] Learning Loop Invariants for Program Verification
    Si, Xujie
    Dai, Hanjun
    Raghothaman, Mukund
    Naik, Mayur
    Song, Le
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 31 (NIPS 2018), 2018, 31