Software traceability with topic modeling
The DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
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
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
(2003) · Journal of Machine Learning Research · doi:10.5555/944919.944937 · Cited by 32,337
Blei, D. M., & Lafferty, J. D. (2006) · Proceedings of the 23rd international conference on Machine learning - ICML '06 · doi:10.1145/1143844.1143859 · Cited by 3,173
Unsupervised Learning by Probabilistic Latent Semantic Analysis
Hofmann, T. (2001) · Machine Learning · doi:10.1023/a:1007617005950 · Cited by 2,456
Hierarchical Dirichlet Processes
Teh, Y. W., Jordan, M. I., Beal, M. J., & Blei, D. M. (2006) · Journal of the American Statistical Association · doi:10.1198/016214506000000302 · Cited by 2,120
The author-topic model for authors and documents
Rosen‐Zvi, M., Griffiths, T. L., Steyvers, M., & Smyth, P. (2004) · Uncertainty in Artificial Intelligence · doi:10.5555/1036843.1036902 · Cited by 1,280
LDA-based document models for ad-hoc retrieval
Wei, X., & Croft, W. B. (2006) · Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval · doi:10.1145/1148170.1148204 · Cited by 1,075
Fast collapsed gibbs sampling for latent dirichlet allocation
Porteous, I., Newman, D., Ihler, A., Asuncion, A., Smyth, P., & Welling, M. (2008) · Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining · doi:10.1145/1401890.1401960 · Cited by 560
Self-citationAdvancing candidate link generation for requirements tracing: the study of methods
Hayes, J. H., Dekhtyar, A., & Sundaram, S. K. (2006) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2006.3 · Cited by 481
On Smoothing and Inference for Topic Models
Asuncion, A., Welling, M., Smyth, P., & Teh, Y. W. (2012) · arXiv (Cornell University) · doi:10.48550/arxiv.1205.2662 · Cited by 434
Self-citationUncertainty in Artificial Intelligence
(1990) · Machine Intelligence and Pattern Recognition · doi:10.1016/c2009-0-14501-4 · Cited by 423
Cited by
Latent Dirichlet allocation (LDA) and topic modeling: models, applications, a survey
Jelodar, H., Wang, Y., Yuan, C., Feng, X., Jiang, X., Li, Y., & Zhao, L. (2019) · Multimedia Tools and Applications · doi:10.1007/s11042-018-6894-4 · Cited by 1,961
Campbell, J. C., Hindle, A., & Stroulia, E. (2015) · The Art and Science of Analyzing Software Data · doi:10.1016/b978-0-12-411519-4.00006-9 · Cited by 344
Software traceability: trends and future directions
Cleland-Huang, J., Gotel, O. C. Z., Huffman Hayes, J., Mäder, P., & Zisman, A. (2014) · Future of Software Engineering Proceedings · doi:10.1145/2593882.2593891 · Cited by 309
“Latent Semantic Indexing [19] and Latent Dirichlet Allocation (LDA) [22, 6] were applied in an attempt to understand the semantics context of elements in the artifacts, thus leading to higher quality links.”
BackgroundMethodInfluentialSemantically Enhanced Software Traceability Using Deep Learning Techniques
Guo, J., Cheng, J., & Cleland-Huang, J. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.9 · Cited by 232
“This dataset is considerably larger than those used in most previous studies on requirements traceability [5], [44], [34] and the task of creating links across such a large dataset represents a challenging industrial-strength tracing problem.”
MethodAnalysis of user comments: An approach for software requirements evolution
Carreno, L. V. G., & Winbladh, K. (2013) · 2013 35th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2013.6606604 · Cited by 216
“In software engineering, researchers have applied topic modeling to various aspects of software projects, including traceability to follow the life of requirements [5], source code to help support understanding and find reusable components [6], and documentation to explore the evolving stream of topics over time [7].”
What Security Questions Do Developers Ask? A Large-Scale Study of Stack Overflow Posts
Yang, X.-L., Lo, D., Xia, X., Wan, Z.-Y., & Sun, J.-L. (2016) · Journal of Computer Science and Technology · doi:10.1007/s11390-016-1672-0 · Cited by 209
On the Equivalence of Information Retrieval Methods for Automated Traceability Link Recovery
Oliveto, R., Gethers, M., Poshyvanyk, D., & De Lucia, A. (2010) · 2010 IEEE 18th International Conference on Program Comprehension · doi:10.1109/icpc.2010.20 · Cited by 197
“LDA has been also recently used for traceability link recovery [7].”
MethodBug Localization with Combination of Deep Learning and Information Retrieval
Lam, A. N., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2017) · 2017 IEEE/ACM 25th International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2017.24 · Cited by 194
“Semantic Indexing (LSI) [11], Latent Dirichlet Allocation [7], [12], probabilistic ranking with execution scenarios, relevance feedback mechanism, advanced Vector Space Model [10], etc.”
BackgroundMethodCombining Deep Learning with Information Retrieval to Localize Buggy Files for Bug Reports (N)
Lam, A. N., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2015) · 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2015.73 · Cited by 179
“Latent Dirichlet Allocation [6], [2] was used to extract topic features for comparison.”
MethodA Neural Architecture for Generating Natural Language Descriptions from Source Code Changes
Loyola, P., Marrese-Taylor, E., & Matsuo, Y. (2017) · Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) · doi:10.18653/v1/p17-2045 · Cited by 128
Analyzing and mining a code search engine usage log
Bajracharya, S. K., & Lopes, C. V. (2012) · Empirical Software Engineering · doi:10.1007/s10664-010-9144-6 · Cited by 90
“…such as: statistical debugging (Andrzejewski et al. 2007), mining business topics (Maskeri et al. 2008), mining author-topic models (Linstead et al. 2007b), software traceability (Asuncion et al. 2010), software categorization (Tian et al. 2009), bug localization (Lukins et al. 2008) etc.”
BackgroundMethodDetecting, Tracing, and Monitoring Architectural Tactics in Code
Mirakhorli, M., & Cleland-Huang, J. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2015.2479217 · Cited by 85
Metadata
- Authors
- Asuncion, H. U., Asuncion, A. U., & Taylor, R. N.
- Venue
- Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 1
- Publisher
- ACM
- Published
- 2010-05
- Pages
- 95-104
- OpenAlex
- W2140264852
- Cited by
- 321
- References
- 33
- FWCI
- 18.89
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.