Software traceability with topic modeling
Hazeline U. Asuncion, Arthur Asuncion, Richard N. Taylor · 2010
Software traceability is a fundamentally important task in software engineering. The need for automated traceability increases as projects become more complex and as the number of artifacts increases. We propose an automated technique that combines traceability with a machine learning technique known as topic modeling. Our approach automatically records traceability links during the software development process and learns a probabilistic topic model over artifacts. The learned model allows for the semantic categorization of artifacts and the topical visualization of the software system. To test our approach, we have implemented several tools: an artifact search tool combining keyword-based search and topic modeling, a recording tool that performs prospective traceability, and a visualization tool that allows one to navigate the software architecture and view semantic topics associated with relevant artifacts and architectural components. We apply our approach to several data sets and discuss how topic modeling enhances software traceability, and vice versa. Categories and Subject Descriptors
Cited by 321 works. doi:10.1145/1806799.1806817
Authors
References
- Latent dirichlet allocation
- Unsupervised Learning by Probabilistic Latent Semantic Analysis
- Hierarchical Dirichlet Processes
- The author-topic model for authors and documents
- Dynamic topic models
- LDA-based document models for ad-hoc retrieval
- On Smoothing and Inference for Topic Models
- Uncertainty in Artificial Intelligence
- Fast collapsed gibbs sampling for latent dirichlet allocation
- Distributed Inference for Latent Dirichlet Allocation