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 条
  • [1] User-Guided Program Reasoning using Bayesian Inference
    Raghothaman, Mukund
    Kulkarni, Sulekha
    Heo, Kihong
    Naik, Mayur
    ACM SIGPLAN NOTICES, 2018, 53 (04) : 722 - 735
  • [2] User-Guided Program Reasoning using Bayesian Inference
    Raghothaman, Mukund
    Kulkarni, Sulekha
    Heo, Kihong
    Naik, Mayur
    PROCEEDINGS OF THE 39TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, PLDI 2018, 2018, : 722 - 735
  • [3] Continuously Reasoning about Programs using Differential Bayesian Inference
    Heo, Kihong
    Raghothaman, Mukund
    Si, Xujie
    Naik, Mayur
    PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, : 561 - 575
  • [4] siMBa—a simple graphical user interface for the Bayesian phylogenetic inference program MrBayes
    Bagdevi Mishra
    Marco Thines
    Mycological Progress, 2014, 13
  • [5] A Study on Generalising Bayesian Inference to Evidential Reasoning
    Yang, Jian-Bo
    Xu, Dong-Ling
    BELIEF FUNCTIONS: THEORY AND APPLICATIONS (BELIEF 2014), 2014, 8764 : 180 - 189
  • [6] siMBa-a simple graphical user interface for the Bayesian phylogenetic inference program MrBayes
    Mishra, Bagdevi
    Thines, Marco
    MYCOLOGICAL PROGRESS, 2014, 13 (04) : 1255 - 1258
  • [7] Guided Tree Topology Proposals for Bayesian Phylogenetic Inference
    Hohna, Sebastian
    Drummond, Alexei J.
    SYSTEMATIC BIOLOGY, 2012, 61 (01) : 1 - 11
  • [8] User Preference Learning and Response Optimization Based on Bayesian Inference
    Sun W.
    Liu X.
    Xiang W.
    Li H.
    Dianli Xitong Zidonghua/Automation of Electric Power Systems, 2020, 44 (19): : 92 - 100
  • [9] Performing Bayesian Inference using Apache Hadoop MapReduce
    Jongsawat, Nipat
    Premchaiswadi, Wichian
    INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND SOFTWARE ENGINEERING (AISE 2014), 2014, : 420 - 424
  • [10] Associative learning or Bayesian inference? Revisiting backwards blocking reasoning in adults
    Benton, Deon T.
    Rakison, David H.
    COGNITION, 2023, 241