Configuring topic models for software engineering tasks in TraceLab
Bogdan Dit, Annibale Panichella, Evan Moritz et al. · 2013
A number of approaches in traceability link recovery and other software engineering tasks incorporate topic models, such as Latent Dirichlet Allocation (LDA). Although in theory these topic models can produce very good results if they are configured properly, in reality their potential may be undermined by improper calibration of their parameters (e.g., number of topics, hyper-parameters), which could potentially lead to sub-optimal results. In our previous work we addressed this issue and proposed LDA-GA, an approach that uses Genetic Algorithms (GA) to find a near-optimal configuration of parameters for LDA, which was shown to produce superior results for traceability link recovery and other tasks than reported ad-hoc configurations. LDA-GA works by optimizing the coherence of topics produced by LDA for a given dataset. In this paper, we instantiate LDA-GA as a TraceLab experiment, making publicly available all the implemented components, the datasets and the results from our previous work. In addition, we provide guidelines on how to extend our LDA-GA approach to other IR techniques and other software engineering tasks using existing TraceLab components.
Cited by 16 works. doi:10.1109/tefse.2013.6620164
Authors
- Bogdan Dit
- Annibale Panichella
- Evan Moritz
- Rocco Oliveto
- Massimiliano Di Penta
- Denys Poshyvanyk
- Andrea De Lucia
References
- Genetic algorithms in search, optimization, and machine learning
- Latent dirichlet allocation
- Genetic Algorithms in Search
- Genetic Algorithms
- Finding scientific topics
- 10.1162/jmlr.2003.3.4-5.993
- On the naturalness of software
- Fast collapsed gibbs sampling for latent dirichlet allocation
- On the naturalness of software
- Feature location in source code: a taxonomy and survey