跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2107.06657 (cs)
[提交于 2021年7月14日]

标题:DeepMutants: Training neural bug detectors with contextual mutations

作者:Cedric Richter, Heike Wehrheim
查看论文《DeepMutants: Training neural bug detectors with contextual mutations》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Learning-based bug detectors promise to find bugs in large code bases by exploiting natural hints such as names of variables and functions or comments. Still, existing techniques tend to underperform when presented with realistic bugs. We believe bug detector learning to currently suffer from a lack of realistic defective training examples. In fact, real world bugs are scarce which has driven existing methods to train on artificially created and mostly unrealistic mutants. In this work, we propose a novel contextual mutation operator which incorporates knowledge about the mutation context to dynamically inject natural and more realistic faults into code. Our approach employs a masked language model to produce a context-dependent distribution over feasible token replacements. The evaluation shows that sampling from a language model does not only produce mutants which more accurately represent real bugs but also lead to better performing bug detectors, both on artificial benchmarks and on real world source code.
评论: 12 pages, 10 figures
主题: 软件工程 (cs.SE); 机器学习 (cs.LG)
引用方式: arXiv:2107.06657 [cs.SE]
  (或者 arXiv:2107.06657v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2107.06657

提交历史

来自:Cedric Richter
[v1] 2021年7月14日 星期三 12:45:48 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-07
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站