TraceSim:一种计算栈迹相似度的方法
TraceSim: A Method for Calculating Stack Trace Similarity
摘要:
许多现代软件产品都有自动崩溃报告的子系统。然而,众所周知,同一个bug可能会产生略有不同的报告。为了解决这个问题,报告通常是分组的,通常是由开发人员手动进行的。然而,对于具有大用户群的产品来说,手动分类变得不可行,这就是许多不同方法来自动化此任务的原因。此外,由于需要适当处理大量报告,因此提高分类质量非常重要。因此,即使是相对较小的改进也可以在报告分桶的整体准确性方面发挥重要作用。现有的大多数研究使用某种堆栈跟踪相似性度量,或者基于信息检索技术,或者基于字符串匹配方法。但需要强调的是,分流质量仍有不足。在本文中,我们描述了TraceSim -一种新的方法来解决这个问题,它结合了TF-IDF,Levenshtein距离,和机器学习来构建一个相似性度量。我们的指标已经在工业级报告分类系统中实现。对手动标记数据集的评估显示,与基线方法相比,结果明显更好。
英文摘要:
Many contemporary software products have subsystems for automatic crash reporting. However, it is well-known that the same bug can produce slightly different reports. To manage this problem, reports are usually grouped, often manually by developers. Manual triaging, however, becomes infeasible for products that have large userbases, which is the reason for many different approaches to automating this task. Moreover, it is important to improve quality of triaging due to the big volume of reports that needs to be processed properly. Therefore, even a relatively small improvement could play a significant role in overall accuracy of report bucketing. The majority of existing studies use some kind of a stack trace similarity metric, either based on information retrieval techniques or string matching methods. However, it should be stressed that the quality of triaging is still insufficient. In this paper, we describe TraceSim -- a novel approach to address this problem which combines TF-IDF, Levenshtein distance, and machine learning to construct a similarity metric. Our metric has been implemented inside an industrial-grade report triaging system. The evaluation on a manually labeled dataset shows significantly better results compared to baseline approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。