TY - JOUR
T1 - Learning the Language of Software Errors
AU - Chockler, Hana
AU - Kesseli, Pascal
AU - Kroening, Daniel
AU - Strichman, Ofer
N1 - Publisher Copyright: ©2020 AI Access Foundation. All rights reserved.
PY - 2020/4/23
Y1 - 2020/4/23
N2 - We propose to use algorithms for learning deterministic finite automata (DFA), such as Angluin’s L∗ algorithm, for learning a DFA that describes the possible scenarios under which a given program error occurs. The alphabet of this automaton is given by the user (for instance, a subset of the function call sites or branches), and hence the automaton describes a user-defined abstraction of those scenarios. More generally, the same technique can be used for visualising the behavior of a program or parts thereof. It can also be used for visually comparing different versions of a program (by presenting an automaton for the behavior in the symmetric difference between them), and for assisting in merging several development branches. We present experiments that demonstrate the power of an abstract visual representation of errors and of program segments, accessible via the project’s web page. In addition, our experiments in this paper demonstrate that such automata can be learned efficiently over real-world programs. We also present lazy learning, which is a method for reducing the number of membership queries while using L∗, and demonstrate its effectiveness on standard benchmarks.
AB - We propose to use algorithms for learning deterministic finite automata (DFA), such as Angluin’s L∗ algorithm, for learning a DFA that describes the possible scenarios under which a given program error occurs. The alphabet of this automaton is given by the user (for instance, a subset of the function call sites or branches), and hence the automaton describes a user-defined abstraction of those scenarios. More generally, the same technique can be used for visualising the behavior of a program or parts thereof. It can also be used for visually comparing different versions of a program (by presenting an automaton for the behavior in the symmetric difference between them), and for assisting in merging several development branches. We present experiments that demonstrate the power of an abstract visual representation of errors and of program segments, accessible via the project’s web page. In addition, our experiments in this paper demonstrate that such automata can be learned efficiently over real-world programs. We also present lazy learning, which is a method for reducing the number of membership queries while using L∗, and demonstrate its effectiveness on standard benchmarks.
UR - http://www.scopus.com/inward/record.url?scp=85089808089&partnerID=8YFLogxK
U2 - 10.1613/JAIR.1.11798
DO - 10.1613/JAIR.1.11798
M3 - مقالة
SN - 1076-9757
VL - 67
SP - 881
EP - 903
JO - Journal Of Artificial Intelligence Research
JF - Journal Of Artificial Intelligence Research
ER -