首页> 外文会议>2018 IEEE/ACM 40th International Conference on Software Engineering >Debugging with Intelligence via Probabilistic Inference
【24h】

Debugging with Intelligence via Probabilistic Inference

机译:通过概率推理进行智能调试

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

We aim to debug a single failing execution without the assistance from other passing/failing runs. In our context, debugging is a process with substantial uncertainty – lots of decisions have to be made such as what variables shall be inspected first. To deal with such uncertainty, we propose to equip machines with human-like intelligence. Specifically, we develop a highly automated debugging technique that aims to couple human-like reasoning (e.g., dealing with uncertainty and fusing knowledge) with program semantics based analysis, to achieve benefits from the two and mitigate their limitations. We model debugging as a probabilistic inference problem, in which the likelihood of each executed statement instance and variable being correct/faulty is modeled by a random variable. Human knowledge, human-like reasoning rules and program semantics are modeled as conditional probability distributions, also called probabilistic constraints. Solving these constraints identifies the most likely faulty statements. Our results show that the technique is highly effective. It can precisely identify root causes for a set of real-world bugs in a very small number of interactions with developers, much smaller than a recent proposal that does not encode human intelligence. Our user study also confirms that it substantially improves human productivity.
机译:我们旨在调试单个失败的执行,而无需其他通过/失败运行的帮助。在我们的上下文中,调试是一个具有很大不确定性的过程-必须做出许多决定,例如应首先检查哪些变量。为了应对这种不确定性,我们建议为机器配备类人智能。具体来说,我们开发了一种高度自动化的调试技术,旨在将类似于人的推理(例如,处理不确定性和融合知识)与基于程序语义的分析结合在一起,从而从两者中受益并减轻其局限性。我们将调试建模为一个概率推断问题,其中,每个执行的语句实例和变量正确/有故障的可能性由随机变量建模。人类知识,类似于人类的推理规则和程序语义被建模为条件概率分布,也称为概率约束。解决这些约束可以确定最可能的错误陈述。我们的结果表明,该技术非常有效。通过与开发人员的极少数互动,它可以准确地识别出一系列实际错误的根本原因,这比最近的未编码人类智能的提议要小得多。我们的用户研究还证实,它可以大大提高人类的生产率。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号