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 条
  • [31] User-Guided Dynamic Data Race Detection
    Metzger, Markus
    Tian, Xinmin
    Tedeschi, Walfred
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2015, 43 (02) : 159 - 179
  • [32] Towards Effective User-Guided Robot Search
    Kosti, Shahar
    Kaminka, Gal A.
    Sarne, David
    AAMAS'14: PROCEEDINGS OF THE 2014 INTERNATIONAL CONFERENCE ON AUTONOMOUS AGENTS & MULTIAGENT SYSTEMS, 2014, : 1415 - 1416
  • [33] User-Guided Machine Understanding of Legal Documents
    Purnell, Kevin
    Schwitter, Rolf
    NEW FRONTIERS IN ARTIFICIAL INTELLIGENCE, JSAI-ISAI 2021 WORKSHOPS, JURISIN 2021, LENLS18, SCIDOCA 2021, KANSEI-AI 2021, AND AI-BIZ 2021, 2023, 13856 : 16 - 32
  • [34] Surface remeshing with robust user-guided segmentation
    Dawar Khan
    Dong-Ming Yan
    Fan Ding
    Yixin Zhuang
    Xiaopeng Zhang
    Computational Visual Media, 2018, 4 (02) : 113 - 122
  • [35] Query construction for user-guided data mining
    Zhu, Q
    Chen, Z
    4TH WORLD CONGRESS OF EXPERT SYSTEMS, VOL 1 AND 2: APPLICATION OF ADVANCED INFORMATION TECHNOLOGIES, 1998, : 545 - 552
  • [36] Bayesian inference in clinical reasoning
    Canals L., Mauricio
    REVISTA MEDICA DE CHILE, 2019, 147 (02) : 231 - 237
  • [37] User-guided Modulation of Rendering Techniques for Detail Inspection
    Sharma, Ankit
    Kumar, Subodh
    2014 PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON COMPUTER GRAPHICS THEORY AND APPLICATIONS (GRAPP 2014), 2014, : 247 - 254
  • [38] CrossClus: user-guided multi-relational clustering
    Xiaoxin Yin
    Jiawei Han
    Philip S. Yu
    Data Mining and Knowledge Discovery, 2007, 15 : 321 - 348
  • [39] User-Guided Lip Correction for Facial Performance Capture
    Dinev, D.
    Beeler, T.
    Bradley, D.
    Baecher, M.
    Xu, H.
    Kavan, L.
    COMPUTER GRAPHICS FORUM, 2018, 37 (08) : 93 - 101
  • [40] Cantonese Porcelain Image Generation Using User-Guided Generative Adversarial Networks
    Chen, Steven Szu-Chi
    Cui, Hui
    Tan, Peng
    Sun, Xiaohong
    Ji, Yi
    Duh, Henry
    IEEE COMPUTER GRAPHICS AND APPLICATIONS, 2020, 40 (05) : 100 - 107