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] A User-Guided Approach to Program Analysis
    Mangal, Ravi
    Zhang, Xin
    Nori, Aditya V.
    Naik, Mayur
    2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, : 462 - 473
  • [4] An Empirical Application of User-Guided Program Analysis
    Wang, Jigang
    Cheng, Shengyu
    Cao, Jicheng
    He, Meihua
    CHINA COMMUNICATIONS, 2024, 21 (07) : 325 - 333
  • [5] An Empirical Application of User-Guided Program Analysis
    Wang Jigang
    Cheng Shengyu
    Cao Jicheng
    He Meihua
    China Communications, 2024, 21 (07) : 325 - 333
  • [6] A User-guided locking API for the OpenMP* application program interface
    Bae, Hansang
    Cownie, James
    Klemm, Michael
    Terboven, Christian
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8766 : 173 - 186
  • [7] A User-Guided Locking API for the OpenMP* Application Program Interface
    Bae, Hansang
    Cownie, James
    Klemm, Michael
    Terboven, Christian
    USING AND IMPROVING OPENMP FOR DEVICES, TASKS, AND MORE, 2014, 8766 : 173 - 186
  • [8] On the Theory of User-guided Planning
    Denny, Jory
    Colbert, Jonathan
    Qin, Hongsen
    Amato, Nancy M.
    2016 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS 2016), 2016, : 4794 - 4801
  • [9] User-Guided Image Inpatinting with Transformer
    Qiu, Jingjun
    Gao, Yan
    2021 IEEE 33RD INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2021), 2021, : 1099 - 1104
  • [10] User-guided framework for scene generation using diffusion models
    Mendez, Alberto
    Prados, Adrian
    Fernandez, Noelia
    Espinoza, Gonzalo
    Barber, Ramon
    2024 IEEE INTERNATIONAL CONFERENCE ON AUTONOMOUS ROBOT SYSTEMS AND COMPETITIONS, ICARSC, 2024, : 22 - 27