Learning Invariants using Decision Trees and Implication Counterexamples

被引:137
作者
Garg, Pranav [1 ]
Neider, Daniel [1 ]
Madhusudan, P. [1 ]
Roth, Dan [1 ]
机构
[1] Univ Illinois, Urbana, IL 61801 USA
基金
美国国家科学基金会;
关键词
Invariant synthesis; machine learning; decision trees; ICE learning; MODEL;
D O I
10.1145/2914770.2837664
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Inductive invariants can be robustly synthesized using a learning model where the teacher is a program verifier who instructs the learner through concrete program configurations, classified as positive, negative, and implications. We propose the first learning algorithms in this model with implication counter-examples that are based on machine learning techniques. In particular, we extend classical decision-tree learning algorithms in machine learning to handle implication samples, building new scalable ways to construct small decision trees using statistical measures. We also develop a decision-tree learning algorithm in this model that is guaranteed to converge to the right concept (invariant) if one exists. We implement the learners and an appropriate teacher, and show that the resulting invariant synthesis is efficient and convergent for a large suite of programs.
引用
收藏
页码:499 / 512
页数:14
相关论文
共 54 条
[1]  
Alur R, 2005, LECT NOTES COMPUT SC, V3576, P548
[2]   Synthesis of interface specifications for Java']Java classes [J].
Alur, R ;
Cerny, P ;
Madhusudan, P ;
Nam, W .
ACM SIGPLAN NOTICES, 2005, 40 (01) :98-109
[3]   Syntax-Guided Synthesis [J].
Alur, Rajeev ;
Bodik, Rastislav ;
Dallal, Eric ;
Fisman, Dana ;
Garg, Pranav ;
Juniwal, Garvit ;
Kress-Gazit, Hadas ;
Madhusudan, P. ;
Martin, Milo M. K. ;
Raghothaman, Mukund ;
Saha, Shamwaditya ;
Seshia, Sanjit A. ;
Singh, Rishabh ;
Solar-Lezama, Armando ;
Torlak, Emina ;
Udupa, Abhishek .
DEPENDABLE SOFTWARE SYSTEMS ENGINEERING, 2015, 40 :1-25
[4]  
Angluin D., 1988, Machine Learning, V2, P319, DOI 10.1007/BF00116828
[5]   LEARNING REGULAR SETS FROM QUERIES AND COUNTEREXAMPLES [J].
ANGLUIN, D .
INFORMATION AND COMPUTATION, 1987, 75 (02) :87-106
[6]  
[Anonymous], 2015, Artificial Intelligence - foundations of computational agents -- 7.6 Case-Based Reasoning
[7]  
[Anonymous], 2013, Proceedings of the 25th International Conference on Computer Aided Verification, CAV'13, DOI 10.1007/978-3-642-39799-8_22
[8]  
Baklr G, 2007, PREDICTING STRUCTURE
[9]  
BARNETT M, 2005, LNCS, V4111, P364, DOI [10.1007/11804192_17, DOI 10.1007/11804192_17]
[10]   GPUVerify: A Verifier for GPU Kernels [J].
Betts, Adam ;
Chong, Nathan ;
Donaldson, Alastair F. ;
Qadeer, Shaz ;
Thomson, Paul .
ACM SIGPLAN NOTICES, 2012, 47 (10) :113-131