Bug Patterns in Probabilistic Programming Systems

被引:0
作者
Hamada, Shoma [1 ]
Yu, Haibo [2 ]
Vo Dai Trinh [2 ]
Nishimura, Yuri [2 ]
Zhao, Jianjun [1 ]
机构
[1] Kyushu Univ, Fukuoka, Japan
[2] Kyushu Sangyo Univ, Fukuoka, Japan
来源
2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY COMPANION, QRS-C | 2022年
关键词
probabilistic programming systems; bug analysis; bug patterns; empirical study; CLASSIFICATION;
D O I
10.1109/QRS-C57518.2022.00063
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Probabilistic programming systems allow developers to model random phenomena and perform reasoning about the model efficiently. As the number of probabilistic programming systems is growing significantly and are used more and more widely, the reliability of such systems is becoming very important. It is crucial to analyze real bugs of existing similar systems in order to develop efficient bug detection tools for probabilistic programming systems. This paper conducts an empirical study investigating bugs and their features on PyMC3, a real probabilistic programming system. Among 271 closed bugs, we identified 20 bugs that are unique to probabilistic programming languages and extracted eight bug patterns from these bugs. The result showed that many of the bugs were caused by types. We also propose some possible methods for automatically detecting these bug patterns. It is expected that this will contribute to the development of bug detection tools by capturing the characteristics of bugs in actual probabilistic programs in the future.
引用
收藏
页码:384 / 391
页数:8
相关论文
共 19 条
  • [1] [Anonymous], MEAN COVARIANCE FUNC
  • [2] [Anonymous], CONFUSION IMPLEMENTA
  • [3] [Anonymous], KERNEL COOKBOOK
  • [4] Bingham E, 2019, J MACH LEARN RES, V20
  • [5] ORTHOGONAL DEFECT CLASSIFICATION - A CONCEPT FOR IN-PROCESS MEASUREMENTS
    CHILLAREGE, R
    BHANDARI, IS
    CHAAR, JK
    HALLIDAY, MJ
    MOEBUS, DS
    RAY, BK
    WONG, MY
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1992, 18 (11) : 943 - 956
  • [6] Chou A., 2001, Operating Systems Review, V35, P73, DOI 10.1145/502059.502042
  • [7] Testing Probabilistic Programming Systems
    Dutta, Saikat
    Legunsen, Owolabi
    Huang, Zixin
    Misailovic, Sasa
    [J]. ESEC/FSE'18: PROCEEDINGS OF THE 2018 26TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2018, : 574 - 586
  • [8] Gordon A, 2014, P FUT SOFTW ENG, P167, DOI DOI 10.1145/2593882.2593900
  • [9] Kumar Maji Amiya, 2010, Proceedings of the 2010 IEEE 21st International Symposium on Software Reliability Engineering (ISSRE 2010), P249, DOI 10.1109/ISSRE.2010.45
  • [10] Bug Characteristics in Probabilistic Programming Systems: A Comprehensive Study
    Le Manh Duc
    Yu, Haibo
    Zhao, Jianjun
    [J]. 2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 319 - 325