User-guided program reasoning using Bayesian inference

被引:0
作者
Raghothaman M. [1 ]
Kulkarni S. [1 ]
Heo K. [1 ]
Naik M. [1 ]
机构
[1] University of Pennsylvania, United States
来源
ACM SIGPLAN Notices | 2018年 / 53卷 / 04期
基金
美国国家科学基金会;
关键词
alarm ranking; Bayesian inference; belief networks; Static analysis;
D O I
10.1145/3192366.3192417
中图分类号
学科分类号
摘要
Program analyses necessarily make approximations that often lead them to report true alarms interspersed with many false alarms. We propose a new approach to leverage user feedback to guide program analyses towards true alarms and away from false alarms. Our approach associates each alarm with a confidence value by performing Bayesian inference on a probabilistic model derived from the analysis rules. In each iteration, the user inspects the alarm with the highest confidence and labels its ground truth, and the approach recomputes the confidences of the remaining alarms given this feedback. It thereby maximizes the return on the effort by the user in inspecting each alarm. We have implemented our approach in a tool named Bingo for program analyses expressed in Datalog. Experiments with real users and two sophisticated analyses - -a static datarace analysis for Java programs and a static taint analysis for Android apps - -show significant improvements on a range of metrics, including false alarm rates and number of bugs found. © 2018 ACM.
引用
收藏
页码:722 / 735
页数:13
相关论文
共 50 条
  • [41] Simulation-based bayesian inference using BUGS
    Ching-fan Sheu
    Suzanne L. O’Curry
    Behavior Research Methods, Instruments, & Computers, 1998, 30 : 232 - 237
  • [42] A tutorial introduction to Bayesian inference for stochastic epidemic models using Approximate Bayesian Computation
    Kypraios, Theodore
    Neal, Peter
    Prangle, Dennis
    MATHEMATICAL BIOSCIENCES, 2017, 287 : 42 - 53
  • [44] Using Alien Coins to Test Whether Simple Inference Is Bayesian
    Cassey, Peter
    Hawkins, Guy E.
    Donkin, Chris
    Brown, Scott D.
    JOURNAL OF EXPERIMENTAL PSYCHOLOGY-LEARNING MEMORY AND COGNITION, 2016, 42 (03) : 497 - 503
  • [45] Bayesian inference in the triangular cointegration model using a Jeffreys prior
    Martin, GM
    Martin, VL
    COMMUNICATIONS IN STATISTICS-THEORY AND METHODS, 2000, 29 (08) : 1759 - 1785
  • [46] Parameters identification of cable stayed footbridges using Bayesian inference
    Pepi, Chiara
    Gioffre', Massimiliano
    Grigoriu, Mircea D.
    MECCANICA, 2019, 54 (09) : 1403 - 1419
  • [47] Structural Damage Identification Using Piezoelectric Impedance and Bayesian Inference
    Shuai, Q.
    Zhou, K.
    Tang, J.
    SENSORS AND SMART STRUCTURES TECHNOLOGIES FOR CIVIL, MECHANICAL, AND AEROSPACE SYSTEMS 2015, 2015, 9435
  • [48] Fast Bayesian inference for gene regulatory networks using ScanBMA
    Young, William Chad
    Raftery, Adrian E.
    Yeung, Ka Yee
    BMC SYSTEMS BIOLOGY, 2014, 8
  • [49] Active recursive Bayesian inference using Renyi information measures
    Marghi, Yeganeh M.
    Kocanaogullari, Aziz
    Akcakaya, Murat
    Erdogmus, Deniz
    PATTERN RECOGNITION LETTERS, 2022, 154 : 90 - 98
  • [50] Aircraft initial mass estimation using Bayesian inference method
    Sun, Junzi
    Ellerbroek, Joost
    Hoekstra, Jacco M.
    TRANSPORTATION RESEARCH PART C-EMERGING TECHNOLOGIES, 2018, 90 : 59 - 73