Abstract
We posit that swarm intelligence can be applied to effectively address requirements engineering problems. Specifically, this paper demonstrates the applicability of swarm intelligence to the requirements tracing problem using two techniques: a simple swarm algorithm and a pheromone swarm algorithm. The techniques have been validated using two real-world datasets from two problem domains. The simple swarm technique generated requirements traceability matrices between textual requirements artifacts (high-level requirements traced to low-level requirements, for example). When compared with a baseline information retrieval tracing method, the swarm algorithms showed mixed results. The swarms achieved statistically significantly results on one of the secondary measurements for one dataset compared with the baseline method, lending support for continued investigation into swarms for tracing.
Similar content being viewed by others
Notes
Note that F and F2 values reported in this paper differ from the RE 2010 conference paper due to a formula error (\( \beta^{2} \) was not squared in the RE 2010 results but is here).
We used delta ranging from 1 to 5. We present the results for 1, 3, and 5 only. The results corresponding to delta of 2 and 4 followed a linear trend and fit between the selected values.
Note that the RE 2010 paper presented average precision and average recall for the swarm and TF-IDF methods (which was mislabeled as overall precision and recall). The results in this paper use overall precision and recall for all methods.
References
Boehm B (1976) Software engineering. IEEE Trans Comput 25(12):1226–1241
Johnson J (2000) Turning chaos into success. IEEE Softw Mag 19(3):21–27
Top Software Engineering Issues within Department of Defense and Defense Industry (2006) National Defense Industrial Association
Tun TT, Jackson M, Laney R, Nuseibeh B, Yu Y (2009) Are your lights off? Using problem frames to diagnose system failures. In: Proceedings of the IEEE international conference on requirements engineering, vol 0, pp 343–348
Hayes J, Dekhtyar A, Sundaram S, Howard (2004) Helping analysts trace requirements: an objective look. In: Proceedings of the 12th IEEE international conference in requirements engineering, 2004, pp 249–259
Engelbrecht AP (2006) Fundamentals of computational swarm intelligence. Wiley, USA
Antoniol G, Penta MD, Harman M (2005) Search-based techniques applied to optimization of project planning for a massive maintenance project. In: Proceedings of the 21st IEEE international conference on software maintenance, pp 240–249
Lam CP, Xiao J, Li H (2007) Ant colony optimisation for generation of conformance testing sequences using a characterising set. In: Proceedings of the third conference on IASTED international conference: advances in computer science and technology, pp 140–146
Reitz M (2006) Software evolvability by component-orientation. In: Proceedings of the second international IEEE workshop on software evolvability, pp 66–73
Ayari K, Bouktif S, Antoniol G (2007) Automatic mutation test input data generation via ant colony. In: Proceedings of the 9th annual conference on genetic and evolutionary computation, pp 1074–1081
Diaz-Aviles E, Nejdl W, Schmidt-Thieme L (2009) Swarming to rank for information retrieval. In: Proceedings of the 11th annual conference on genetic and evolutionary computation, pp 9–16
Zou X, Settimi R, Cleland-Huang J (2009) Improving automated requirements trace retrieval: a study of term-based enhancement methods. Empir Softw Eng 15(2):119–146
Maarek Y, Berry D, Kaiser G (1991) An information retrieval approach for automatically constructing software libraries. IEEE Trans Softw Eng 17:800–813
Niu N, Easterbrook S (2008) Extracting and modeling product line functional requirements. In: Proceedings of the IEEE international conference on requirements engineering, vol 0, pp 155–164
Sundaram S, Hayes JH, Dekhtyar A, Holbrook A (2010) Assessing traceability of software engineering artifacts. Requir Eng J 15(3):211–220
Sultanov H, Hayes JH (2010) Application of swarm techniques to requirements engineering: requirements tracing. In: Proceedings of the paper presented at the 18th international requirement engineering conference, Sydney, Australia
Deneubourg J-L, Aaron S, Goss S, Pasteels JM (1990) The self-organizing exploratory pattern of the argentine ant. J Insect Behav 3(2):159–168
Engelbrecht AP (2006) Fundamentals of computational swarm intelligence. Wiley, USA
Gotel O, Finkelstein A (1997) Extended requirements traceability: results of an industrial case study, p 169
Manning CD, Raghavan P, Schütze H (2008) Introduction to information retrieval, 1st edn. Cambridge University Press, Cambridge
Cleland-Huang J, Settimi R, Romanova E, Berenbach B, Clark S (2007) Best practices for automated traceability. Computer 40(6):27–35
Antoniol G, Canfora G, Casazza GA, Lucia D, Merlo E (2002) Recovering traceability links between code and documentation. IEEE Trans Softw Eng 28(10):970–983
Marcus A, Maletic JI (2003) Recovering documentation-to-source-code traceability links using latent semantic indexing. In: Proceedings of the 25th international conference on software engineering, pp 125–135
Hayes JH, Dekhtyar A, Osborne J (2003) Improving requirements tracing via information retrieval. In: Proceedings of the 11th IEEE international conference on requirements engineering, p 138
Egyed A, Grünbacher P, Graf F (2010) Effort and quality of recovering requirements-to-code traces: two exploratory experiments. In: Proceedings of the 18th international IEEE requirements engineering conference
Panis M (2010) Successful deployment of requirements traceability in a commercial engineering organization…really. In: Proceedings of the 18th international IEEE requirements engineering conference
Zou X, Settimi R, Cleland-Huang J (2006) Phrasing in dynamic requirements trace retrieva. In: Proceedings of the paper presented at the computer software and applications conference, 2006. COMPSAC ‘06. 30th annual international, pp 265–272
Spanoudakis G, Zisman A, Perez-Minana E, Krause P (2004) Rule-based generation of requirements traceability relations. J Syst Softw 72(2):105–127
Bonabeau E, Dorigo M, Theraulaz G (1999) Swarm intelligence: from natural to artificial systems, 1st edn. Oxford University Press, USA
van der Merwe D, Engelbrecht A (2003) Data clustering using particle swarm optimization. In: Proceedings of the 2003 congress on evolutionary computation. CEC ’03, pp 215–220
Cui X, Potok TE, Palathingal P (2005) Document clustering using particle swarm optimization. IEEE swarm intelligence symposium, The Westin
Aghdam MH, Ghasem-Aghaee N, Basiri ME (2009) Text feature selection using ant colony optimization. Expert Syst Appl 36(3):6843–6853
Porter M (1980) An algorithm for suffix stripping. Program 14(3):130–137
Pine Email System. [Online]. Available: http://www.washington.edu/pine/. Accessed 19 Feb 2010
NASA IV&V facility metrics data program: glossary and definitions. [Online] Available: http://mdp.ivv.nasa.gov/mdp_glossary.html#CM1.%207. Accessed 19 Feb 2010
Hayes J, Dekhtyar A, Sundaram S, Holbrook E, Vadlamudi S, April A (2007) Requirements tracing on target: improving software maintenance through traceability recovery. Innov Syst Softw Eng 3(3):193–202
Hölldobler B, Wilson EO (1998) Journey to the ants: a story of scientific exploration. Belknap Press of Harvard University Press, USA
Acknowledgments
This work is funded in part by the National Science Foundation under NSF grant CCF-0811140.
Author information
Authors and Affiliations
Corresponding author
Appendix: Results for Pine and CM1 datasets
Appendix: Results for Pine and CM1 datasets
This Appendix provides results for the experiments run on the Pine and CM1 datasets. Table 1 lists each Method under each dataset with columns for Threshold, Recall, precision, F, F2, DiffAR, and MAP. Table 2 presents statistical analysis of the secondary measures.
Rights and permissions
About this article
Cite this article
Sultanov, H., Hayes, J.H. & Kong, WK. Application of swarm techniques to requirements tracing. Requirements Eng 16, 209–226 (2011). https://doi.org/10.1007/s00766-011-0121-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00766-011-0121-4