DocumentCode :
3142158
Title :
How to effectively use topic models for software engineering tasks? An approach based on Genetic Algorithms
Author :
Panichella, A. ; Dit, Bogdan ; Oliveto, Rocco ; Di Penta, Massimiliano ; Poshynanyk, Denys ; De Lucia, Andrea
Author_Institution :
Univ. of Salerno, Fisciano, Italy
fYear :
2013
fDate :
18-26 May 2013
Firstpage :
522
Lastpage :
531
Abstract :
Information Retrieval (IR) methods, and in particular topic models, have recently been used to support essential software engineering (SE) tasks, by enabling software textual retrieval and analysis. In all these approaches, topic models have been used on software artifacts in a similar manner as they were used on natural language documents (e.g., using the same settings and parameters) because the underlying assumption was that source code and natural language documents are similar. However, applying topic models on software data using the same settings as for natural language text did not always produce the expected results. Recent research investigated this assumption and showed that source code is much more repetitive and predictable as compared to the natural language text. Our paper builds on this new fundamental finding and proposes a novel solution to adapt, configure and effectively use a topic modeling technique, namely Latent Dirichlet Allocation (LDA), to achieve better (acceptable) performance across various SE tasks. Our paper introduces a novel solution called LDA-GA, which uses Genetic Algorithms (GA) to determine a near-optimal configuration for LDA in the context of three different SE tasks: (1) traceability link recovery, (2) feature location, and (3) software artifact labeling. The results of our empirical studies demonstrate that LDA-GA is able to identify robust LDA configurations, which lead to a higher accuracy on all the datasets for these SE tasks as compared to previously published results, heuristics, and the results of a combinatorial search.
Keywords :
genetic algorithms; information retrieval; natural language processing; software engineering; text analysis; IR methods; LDA configurations; LDA-GA; SE tasks; feature location; genetic algorithms; information retrieval methods; latent Dirichlet allocation; natural language documents; natural language text; near-optimal configuration; software artifact labeling; software data; software engineering tasks; software textual retrieval and analysis; source code; topic modeling technique; traceability link recovery; Accuracy; Context; Genetic algorithms; Labeling; Natural languages; Software; Software engineering; Genetic Algoritms; Latent Dirichlet Allocation; Textual Analysis in Software Engineering;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2013 35th International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4673-3073-2
Type :
conf
DOI :
10.1109/ICSE.2013.6606598
Filename :
6606598
Link To Document :
بازگشت