Sibyl: Improving Software Engineering Tools with SMT Selection

被引:2
|
作者
Leeson, Will [1 ]
Dwyer, Matthew B. [1 ]
Filieri, Antonio [2 ]
机构
[1] Univ Virginia, Dept Comp Sci, Charlottesville, VA 22904 USA
[2] Imperial Coll London, Dept Comp, London, England
基金
美国国家科学基金会;
关键词
graph neural networks; satisfiable modulo theories; algorithm selection; NEURAL-NETWORK; MODEL CHECKING;
D O I
10.1109/ICSE48619.2023.00184
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
SMT solvers are often used in the back end of different software engineering tools-e.g., program verifiers, test generators, or program synthesizers. There are a plethora of algorithmic techniques for solving SMT queries. Among the available SMT solvers, each employs its own combination of algorithmic techniques that are optimized for different fragments of logics and problem types. The most efficient solver can change with small changes in the SMT query, which makes it nontrivial to decide which solver to use. Consequently, designers of software engineering tools often select a single solver, based on familiarity or convenience, and tailor their tool towards it. Choosing an SMT solver at design time misses the opportunity to optimize query solve times and, for tools where SMT solving is a bottleneck, the performance loss can be significant. In this work, we present Sibyl, an automated SMT selector based on graph neural networks (GNNs). Sibyl creates a graph representation of a given SMT query and uses GNNs to predict how each solver in a suite of SMT solvers would perform on said query. Sibyl learns to predict based on features of SMT queries that are specific to the population on which it is trained - avoiding the need for manual feature engineering. Once trained, Sibyl makes fast and accurate predictions which can substantially reduce the time needed to solve a set of SMT queries. We evaluate Sibyl in four scenarios in which SMT solvers are used: in competition, in a symbolic execution engine, in a bounded model checker, and in a program synthesis tool. We find that Sibyl improves upon the state of the art in nearly every case and provide evidence that it generalizes better than existing techniques. Further, we evaluate Sibyl's overhead and demonstrate that it has the potential to speedup a variety of different software engineering tools.
引用
收藏
页码:2185 / 2197
页数:13
相关论文
共 50 条
  • [31] Improving dispatching software in railway engineering
    Schuetz, Isabel
    Stelzer, Anselmo
    6TH INTERNATIONAL CONFERENCE ON APPLIED HUMAN FACTORS AND ERGONOMICS (AHFE 2015) AND THE AFFILIATED CONFERENCES, AHFE 2015, 2015, 3 : 2929 - 2936
  • [32] Improving software quality with static analysis tools
    Lambert, John
    Twenty-Third Annual Pacific Northwest Software Quality Conference, Proceedings, 2005, : 399 - 417
  • [33] ENGINEERING SOFTWARE - TOOLS TO SPEED FPGA DEVELOPMENT
    FAWCETT, BK
    IEEE SPECTRUM, 1994, 31 (11) : 88 - 94
  • [34] Developing graphical (software engineering) tools with PROGRES
    Schurr, A
    PROCEEDINGS OF THE 1997 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 1997, : 618 - 619
  • [35] Tools and Behavioral Abstraction: A Direction for Software Engineering
    Leino, K. Rustan M.
    FUTURE OF SOFTWARE ENGINEERING, 2011, : 115 - 124
  • [36] Some issues in the software engineering of verification tools
    Stevens, P
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, 1999, 1579 : 435 - 438
  • [37] Towards Global Deployment of Software Engineering Tools
    Dubey, Alpana
    Hudepohl, John
    2013 IEEE 8TH INTERNATIONAL CONFERENCE ON GLOBAL SOFTWARE ENGINEERING (ICGSE 2013), 2013, : 129 - 133
  • [38] Engineering software tools, evolution through revolution
    Conrad, DA
    IEEE SPECTRUM, 1997, 34 (01) : 62 - 63
  • [39] A guide to manage new software engineering tools
    Mathiassen, L
    Sorensen, C
    FACILITATING TECHNOLOGY TRANSFER THROUGH PARTNERSHIP: LEARNING FROM PRACTICE AND RESEARCH, 1997, : 257 - 272
  • [40] EMERGING TRENDS IN SOFTWARE ENGINEERING TOOLS.
    Parkinson, Roger
    1600, (08):