你能更好地解释吗?适用于SE应用程序的可理解文本分析
Can You Explain That, Better? Comprehensible Text Analytics for SE Applications
摘要:
文本挖掘方法被广泛用于软件工程(SE)任务。文本挖掘的最大挑战是高维数据,即,文档的语料库可以包含$10^4$到$10^6$唯一词。为了解决这种复杂性,已经应用了一些非常复杂的文本挖掘方法。这种复杂性是必要的吗?是否有更简单的方法来快速生成模型,这些模型的性能与更复杂的方法一样好,并且也是人类可读的?为了回答这些问题,我们探索LDA(潜在狄利克雷分配)和FFT(快速和节俭树)的组合,从六个不同的项目分类美国宇航局的软件错误报告。FFT使用心理科学原理设计,返回人类可理解的非常小的模型。当与常用的文本挖掘方法和最近的最先进的系统(基于搜索的SE方法,自动调整LDA的控制参数)相比,这些FFT模型非常小(深度为$d = 4$的二叉树,仅引用4个主题),因此易于理解。它们也更快地生成并产生类似或更好的严重性预测。因此,我们可以得出结论,至少对于这里探索的数据集,可以反对复杂的文本挖掘模型,而支持更简单的方法,如LDA+ FFT。至少,我们推荐LDA+ FFT(a)当人类需要阅读,理解和审计模型时,或者(b)作为SE研究人员探索软件项目中文本工件的初始基线方法。
英文摘要:
Text mining methods are used for a wide range of Software Engineering (SE) tasks. The biggest challenge of text mining is high dimensional data, i.e., a corpus of documents can contain $10^4$ to $10^6$ unique words. To address this complexity, some very convoluted text mining methods have been applied. Is that complexity necessary? Are there simpler ways to quickly generate models that perform as well as the more convoluted methods and also be human-readable? To answer these questions, we explore a combination of LDA (Latent Dirichlet Allocation) and FFTs (Fast and Frugal Trees) to classify NASA software bug reports from six different projects. Designed using principles from psychological science, FFTs return very small models that are human-comprehensible. When compared to the commonly used text mining method and a recent state-of-the-art-system (search-based SE method that automatically tune the control parameters of LDA), these FFT models are very small (a binary tree of depth $d = 4$ that references only 4 topics) and hence easy to understand. They were also faster to generate and produced similar or better severity predictions. Hence we can conclude that, at least for datasets explored here, convoluted text mining models can be deprecated in favor of simpler method such as LDA+FFTs. At the very least, we recommend LDA+FFTs (a) when humans need to read, understand, and audit a model or (b) as an initial baseline method for the SE researchers exploring text artifacts from software projects.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。