Statistical Debugging Using Latent Topic Models
David Andrzejewski, Anne Mulhern, Ben Liblit et al. · Lecture notes in computer science · 2007
Statistical debugging uses machine learning to model program failures and help identify root causes of bugs. We approach this task using a novel Delta-Latent-Dirichlet-Allocation model. We model execution traces attributed to failed runs of a program as being generated by two types of latent topics: normal usage topics and bug topics. Execution traces attributed to successful runs of the same program, however, are modeled by usage topics only. Joint modeling of both kinds of traces allows us to identify weak bug topics that would otherwise remain undetected. We perform model inference with collapsed Gibbs sampling. In quantitative evaluations on four real programs, our model produces bug topics highly correlated to the true bugs, as measured by the Rand index. Qualitative evaluation by domain experts suggests that our model outperforms existing statistical methods for bug cause identification, and may help support other software tasks not addressed by earlier models. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Cited by 83 works. doi:10.1007/978-3-540-74958-5_5 Open-access PDF
Authors
References
- Lecture Notes in Computer Science 1205
- Latent dirichlet allocation
- A Bayesian Hierarchical Model for Learning Natural Scene Categories
- Finding scientific topics
- A sentimental education
- Objective Criteria for the Evaluation of Clustering Methods
- Probabilistic Latent Semantic Analysis
- Probabilistic latent semantic indexing
- 10.1162/jmlr.2003.3.4-5.993
- 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)