arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.07072cs.SE
收藏

基于交互数据的层次化软件使用上下文建模

Modeling Hierarchical Usage Context for Software Exceptions based on Interaction Data

Hui Chen, Kostadin Damevski, David Shepherd, Nicholas A. Kraft

摘要:

在生产中捕获的用户与软件系统交互的痕迹通常用作用户体验测试的输入源。在本文中,我们提出了一种替代用途,引入了一种新的方法来建模用户交互痕迹丰富的另一种类型的数据收集在生产-软件故障报告组成的软件异常和堆栈跟踪。本文描述的模型旨在提高开发人员对特定软件异常周围环境的理解,并可以突出导致软件故障频率高的特定用户行为。由于组合数据源的复杂性和变化性,对交互跟踪和软件崩溃报告的组合进行建模以形成可解释的和有用的模型是具有挑战性的。因此,我们提出了一种概率无监督学习方法,适应嵌套层次狄利克雷过程,这是一种贝叶斯非参数主题模型,通常适用于自然语言数据。这个模型推断出一个主题树,每个主题描述一组通常同时出现的命令和异常。可以按层次结构解释主题树,以帮助对多种类型的异常和交互进行分类。我们将所提出的方法应用于从ABB RobotStudio软件应用程序收集的大规模数据集,并对其进行数值评估和RobotStudio开发人员的小调查。

英文摘要:

Traces of user interactions with a software system, captured in production, are commonly used as an input source for user experience testing. In this paper, we present an alternative use, introducing a novel approach of modeling user interaction traces enriched with another type of data gathered in production - software fault reports consisting of software exceptions and stack traces. The model described in this paper aims to improve developers' comprehension of the circumstances surrounding a specific software exception and can highlight specific user behaviors that lead to a high frequency of software faults. Modeling the combination of interaction traces and software crash reports to form an interpretable and useful model is challenging due to the complexity and variance in the combined data source. Therefore, we propose a probabilistic unsupervised learning approach, adapting the Nested Hierarchical Dirichlet Process, which is a Bayesian non-parametric topic model commonly applied to natural language data. This model infers a tree of topics, each of whom describes a set of commonly co-occurring commands and exceptions. The topic tree can be interpreted hierarchically to aid in categorizing the numerous types of exceptions and interactions. We apply the proposed approach to large scale datasets collected from the ABB RobotStudio software application, and evaluate it both numerically and with a small survey of the RobotStudio developers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑