journal article·2021-12-01Open access

Genetic Algorithms: A Practical Approach to Generate Textual Patterns for Requirements Authoring

Jesús Poza, Valentín Moreno, Anabel Fraga, José María Álvarez-Rodríguez

Applied Sciences· Volume 11· Issue 23

Abstract

The writing of accurate requirements is a critical factor in assuring the success of a project. Text patterns are knowledge artifacts that are used as templates to guide engineers in the requirements authoring process. However, generating a text pattern set for a particular domain is a time-consuming and costly activity that must be carried out by specialists. This research proposes a method of automatically generating text patterns from an initial corpus of high-quality requirements, using genetic algorithms and a separate-and-conquer strategy to create a complete set of patterns. Our results show this method can generate a valid pattern set suitable for requirements authoring, outperforming existing methods by 233%, with requirements ratio values of 2.87 matched per pattern found; as opposed to 1.23 using alternative methods.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Software Engineering Techniques and Practices · Software Engineering Research · Business Process Modeling and Analysis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Knowledge Reuse Group, University Carlos III, 28911 Madrid, Spain

Funding

ESTART project: “Continuous Reverse Engineering for Software Product Lines” (ref. RTI2018-099915-B-I00). Convocatoria de Proyectos de I + D + i Retos Investigación del Programa Estatal de I+D+i orientada a los Retos de la Sociedad 2018 · ECSEL18: Project New Control (Project 6221/31/2018) and National PCI

References (30)

Show source-provided references
1. AI4SE and SE4AI: A Research Roadmap10.1002/inst.12278 ↗
2. Micouin, P. (2014). Model-Based Systems Engineering: Fundamentals and Methods, Wiley.10.1002/9781118579435 ↗
3. Semantic recovery of traceability links between system artifacts
4. Dick, J., Hull, E., and Jackson, K. (2017). Requirements Engineering, Springer International Publishing. Available online: http://link.springer.com/10.1007/978-3-319-61073-3.10.1007/978-3-319-61073-3 ↗
5. A framework to measure and improve the quality of textual requirements
6. (2020, October 10). Reuse Company, “Systems Engineering Suite”. Available online: https://www.reusecompany.com/systems-engineering-suite.
7. Mitchell, M. (1996). An Introduction to Genetic Algorithms, MIT Press.10.7551/mitpress/3927.001.0001 ↗
8. Separate-and-Conquer Rule Learning10.1023/A:1006524209794 ↗
9. Parra, E. (2016). Metodología Orientada a la Optimización Automática de la Calidad de los Requisitos. [Ph.D. Thesis, Universidad Carlos III de Madrid]. Available online: https://e-archivo.uc3m.es/handle/10016/23936.
10. 50 Years of Software Engineering: Progress and Perils10.1109/MS.2018.3571228 ↗
11. Kotonya, G. (1998). Requirements Engineering: Processes and Techniques, J. Wiley.
12. Hogan, A., Blomqvist, E., Cochez, M., d’Amato, C., de Melo, G., Gutierrez, C., Gayo, J.E.L., Kirrane, S., Neumaier, S., and Polleres, A. (2021, November 09). Knowledge Graphs. Available online: https://www.morganclaypool.com/doi/10.2200/S01125ED1V01Y202109DSK022.10.1007/978-3-031-01918-0 ↗
13. INCOSE (2021, November 23). Systems Engineering Vision 2020. Available online: https://www.incose.org/incose-member-resources/chapters-groups/ChapterSites/blues/chapter-news/2009/02/23/se-vision-2020.
14. Mavin, A., Wilkinson, P., Harwood, A., and Novak, M. (September, January 31). EARS (Easy Approach to Requirements Syntax). Proceedings of the IEEE International Conference on Requirements Engineering, Atlanta, GA, USA.
15. Formal Specification of a Meta Hierarchical Logical Data Model Using Object Role Modeling
16. Towards a Stepwise Method for Unifying and Reconciling Corporate Names in Public Contracts Metadata: The CORFU Technique10.1007/978-3-319-03437-9_31 ↗
17. Bommasani, R., Hudson, D.A., Adeli, E., Altman, R., Arora, S., von Arx, S., Bernstein, M.S., Bohg, J., Bosselut, A., and Brunskill, E. (2021). On the Opportunities and Risks of Foundation Models. arXiv.
18. Rothman, D. (2021). Transformers for Natural Language Processing: Build Innovative Deep Neural Network Architectures for NLP with Python, PyTorch, TensorFlow, BERT, RoBERTa, and More, Packt Publishing.
19. Halpin, T., and Curland, M. (November, January 29). Automated verbalization for ORM 2. Proceedings of the OTM Confederated International Conferences on the Move to Meaningful Internet Systems, Montpellier, France.
20. Application of machine learning techniques to the flexible assessment and improvement of requirements quality10.1007/s11219-020-09511-4 ↗
21. Mallawaarachi, V. (2017). Introduction to Genetic Algorithms—Including Example Code. Toward Data Sci. Medium, Available online: https://towardsdatascience.com/introduction-to-genetic-algorithms-including-example-code-e396e98d8bf3.
22. Optimizing layout of wind farm turbines using genetic algorithms in Tehran province, Iran10.1007/s40095-018-0280-x ↗
23. Interactive requirements prioritization using a genetic algorithm10.1016/j.infsof.2012.07.003 ↗
24. Bartoli, A., and de Lorenzo, A. (2015, January 8–10). Learning text patterns using separate-and-conquer genetic programming. Proceedings of the European Conference on Genetic Programming, Copenhagen, Denmark.10.1007/978-3-319-16501-1_2 ↗
25. Karova, M.N., Petkova, J., and Penev, S.P. (2007, January 24–27). Web Application of Traveling Salesman Problem using Genetic Algorithms. Proceedings of the Papers, Volume 2, XLII International Scientific Conference on Information, Communication and Energy Systems and Technologies ICEST, Ohrid, Macedonia. Available online: http://rcvt.tu-sofia.bg/ICEST2007_2_99.pdf.
26. Stoltz, E. (2018). Evolution of a salesman: A complete genetic algorithm tutorial for Python. Toward Data Sci. Medium, Available online: https://towardsdatascience.com/evolution-of-a-salesman-a-complete-genetic-algorithm-tutorial-for-python-6fe5d2b3ca35.
27. Jurafsky, D., and Martin, J.H. (2009). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition, Pearson Prentice Hall. [2nd ed.].
28. Harsu, M. (2020, September 12). A Survey on Domain Engineering. Available online: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.197.7897&rep=rep1&type=pdf.
29. Chen, M.X., Lee, B.N., Bansal, G., Cao, Y., Zhang, S., Lu, J., Tsay, J., Wang, Y., Dai, A.M., and Chen, Z. (2019, January 4–8). Gmail Smart Compose: Real-Time Assisted Writing. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA.10.1145/3292500.3330723 ↗
30. A methodology for the classification of quality of requirements using machine learning techniques10.1016/j.infsof.2015.07.006 ↗