Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Enhancing Industrial Requirements Processing and Reuse
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems. RISE Research Institutes of Sweden.ORCID iD: 0000-0001-6418-9971
2025 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

We live in a world that depends on software. From the moment we log in to a banking system or when we take the bus to work, we are surrounded by software-intensive systems. These systems are often not built from scratch, but as further iterations of existing systems, adapted for different customers and market segments.

The development of such complex software and variant-intensive systems is centered around customer needs that are usually described in long documents, full of detail, and written in natural language. Companies must read through, interpret, and extract the relevant requirements, decide which teams should develop and test them, and simultaneously identify what can be reused from earlier projects. This process is often manual, carries a risk of mistakes, and demands great experience and precision.

This thesis explores how Artificial Intelligence (AI), and in particular natural language processing (NLP), can help make the process both faster and more reliable. The work is based on six scientific articles, which make four contributions, as follows. First, we study how requirements management and reuse are handled today to identify opportunities for enhancement. Next, we focus on automating the identification and allocation of requirements, so that correct requirements are identified and directed to the right teams from the start. We also develop methods for discovering which parts of previous projects can be reused, to avoid redundant development efforts. Finally, we create a pedagogical resource that enables teachers, students, and professionals to apply the technical solutions in practice.

Through these contributions, the thesis demonstrates how AI can become a powerful support in processing requirements and supporting reuse in complex software development.

Abstract [sv]

Vi lever i en värld som är beroende av programvara. Från det att vi loggar in på banken eller att vi tar bussen till jobbet är vi omgivna av programvaruintensiva system. Ofta byggs dessa system inte från grunden, utan som vidareutvecklingar av redan befintliga lösningar, anpassade för olika kunder och marknader.

Kundernas behov beskrivs vanligen i långa dokument, fulla av detaljer och skrivna på vanligt språk. Företagen måste läsa igenom, tolka och plocka ut de relevanta kraven, bestämma vilka team som ska utveckla och testa dem, och samtidigt se vad som kan återanvändas från tidigare projekt. Det sparar tid och pengar, men är också ett pussel som kräver stor erfarenhet och noggrannhet. I praktiken tar det ofta lång tid, innebär risk för misstag och är beroende av ett fåtal experter.

Den här avhandlingen undersöker hur artificiell intelligens (AI), och i synnerhet naturlig språkbehandling (NLP), kan hjälpa till att göra processen både snabbare och mer tillförlitlig.

Arbetet bygger på sex vetenskapliga artiklar och bidrar inom fyra områden: Först kartlägger vi hur arbetet med kravhantering och återanvändning går till idag, och var det finns störst potential till förbättring. Därefter fokuserar vi på att automatisera själva identifieringen och fördelningen av krav, så att de hamnar hos rätt team från början. Vi utvecklar också metoder för att upptäcka vilka delar av tidigare projekt som kan återanvändas, för att undvika att uppfinna hjulet på nytt. Slutligen skapar vi en pedagogisk resurs som gör det möjligt för lärare, studenter och yrkesverksamma att använda de tekniska lösningarna i praktiken.

Med hjälp av dessa insatser visar avhandlingen hur AI kan bli ett kraftfullt stöd i arbetet med att förstå, organisera och återanvända den kunskap som ryms i komplex programvaruutveckling.

Place, publisher, year, edition, pages
Västerås: Mälardalen University , 2025. , p. 290
Series
Mälardalen University Press Dissertations, ISSN 1651-4238 ; 438
National Category
Software Engineering
Research subject
Computer Science
Identifiers
URN: urn:nbn:se:mdh:diva-72983ISBN: 978-91-7485-715-3 (print)OAI: oai:DiVA.org:mdh-72983DiVA, id: diva2:1990009
Public defence
2025-10-27, Alfa, Mälardalens universitet, Västerås, 13:15 (English)
Opponent
Supervisors
Funder
VinnovaKnowledge FoundationEuropean CommissionAvailable from: 2025-08-20 Created: 2025-08-19 Last updated: 2025-10-10Bibliographically approved
List of papers
1. Product Line Adoption in Industry: An Experience Report from the Railway Domain
Open this publication in new window or tab >>Product Line Adoption in Industry: An Experience Report from the Railway Domain
Show others...
2020 (English)In: ACM International Conference Proceeding Series, Association for Computing Machinery (ACM) , 2020, Vol. F164267-A, p. 130-141Conference paper, Published paper (Refereed)
Abstract [en]

The software system controlling a train is typically deployed on various hardware architectures and is required to process various signals across those deployments. Increases of such customization scenarios, as well as the needed adherence of the software to various safety standards in different application domains, has led to the adoption of product line engineering within the railway domain. This paper explores the current state-of-practice of software product line development within a team developing industrial embedded software for a train propulsion control system. Evidence is collected by means of a focus group session with several engineers and through inspection of archival data. We report several benefits and challenges experienced during product line adoption and deployment. Furthermore, we identify and discuss research opportunities, focusing in particular on the areas of product line evolution and test automation.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2020
Series
ACM International Conference Proceeding Series, ISSN 2153-1633
Keywords
product-line adoption, overloaded assets, challenges and opportunities
National Category
Engineering and Technology Computer Systems
Identifiers
urn:nbn:se:mdh:diva-49978 (URN)10.1145/3382025.3414953 (DOI)001339376900012 ()2-s2.0-85097810837 (Scopus ID)9781450377881 (ISBN)9781450385855 (ISBN)
Conference
24th ACM International Systems and Software Product Line Conference SPLC 2020, 19 Oct 2020, Montreal, Canada
Projects
ARRAY - Automation Region Research AcademyXIVT - eXcellence in Variant Testing
Available from: 2020-09-29 Created: 2020-09-29 Last updated: 2026-02-10Bibliographically approved
2. Requirement or Not, That is the Question: A Case from the Railway Industry
Open this publication in new window or tab >>Requirement or Not, That is the Question: A Case from the Railway Industry
Show others...
2023 (English)In: Lecture Notes In Computer Science, Springer Science and Business Media Deutschland GmbH , 2023, p. 105-121Conference paper, Published paper (Refereed)
Abstract [en]

[Context and Motivation] Requirements in tender documents are often mixed with other supporting information. Identifying requirements in large tender documents could aid the bidding process and help estimate the risk associated with the project. [Question/problem] Manual identification of requirements in large documents is a resource-intensive activity that is prone to human error and limits scalability. This study compares various state-of-the-art approaches for requirements identification in an industrial context. For generalizability, we also present an evaluation on a real-world public dataset. [Principal ideas/results] We formulate the requirement identification problem as a binary text classification problem. Various state-of-the-art classifiers based on traditional machine learning, deep learning, and few-shot learning are evaluated for requirements identification based on accuracy, precision, recall, and F1 score. Results from the evaluation show that the transformer-based BERT classifier performs the best, with an average F1 score of 0.82 and 0.87 on industrial and public datasets, respectively. Our results also confirm that few-shot classifiers can achieve comparable results with an average F1 score of 0.76 on significantly lower samples, i.e., only 20% of the data. [Contribution] There is little empirical evidence on the use of large language models and few-shots classifiers for requirements identification. This paper fills this gap by presenting an industrial empirical evaluation of the state-of-the-art approaches for requirements identification in large tender documents. We also provide a running tool and a replication package for further experimentation to support future research in this area.

Place, publisher, year, edition, pages
Springer Science and Business Media Deutschland GmbH, 2023
Series
Lecture Notes in Computer Science, ISSN 0302-9743 ; 13975 LNCS
Keywords
NLP, Requirements classification, Requirements identification, tender documents, Deep learning, Information retrieval systems, Natural language processing systems, Requirements engineering, Risk perception, Text processing, Bidding process, F1 scores, Human errors, Manual identification, Public dataset, Railway industry, Requirement identification, Requirements classifications, State-of-the-art approach, Classification (of information)
National Category
Software Engineering
Identifiers
urn:nbn:se:mdh:diva-62331 (URN)10.1007/978-3-031-29786-1_8 (DOI)001210623500008 ()2-s2.0-85152587069 (Scopus ID)9783031297854 (ISBN)
Conference
29th International Working Conference on Requirements Engineering: Foundation for Software Quality, REFSQ 2023, Barcelona, Spain, 17-20 April, 2023
Available from: 2023-04-26 Created: 2023-04-26 Last updated: 2025-10-10Bibliographically approved
3. Requirements Classification for Smart Allocation: A Case Study in the Railway Industry
Open this publication in new window or tab >>Requirements Classification for Smart Allocation: A Case Study in the Railway Industry
Show others...
2023 (English)In: 2023 IEEE 31st International Requirements Engineering Conference (RE), IEEE conference proceedings, 2023, p. 201-211Conference paper, Published paper (Refereed)
Abstract [en]

Allocation of requirements to different teams is a typical preliminary task in large-scale system development projects. This critical activity is often performed manually and can benefit from automated requirements classification techniques. To date, limited evidence is available about the effectiveness of existing machine learning (ML) approaches for requirements classification in industrial cases. This paper aims to fill this gap by evaluating state-of-the-art language models and ML algorithms for classification in the railway industry. Since the interpretation of the results of ML systems is particularly relevant in the studied context, we also provide an information augmentation approach to complement the output of the ML-based classification. Our results show that the BERT uncased language model with the softmax classifier can allocate the requirements to different teams with a 76% F1 score when considering requirements allocation to the most frequent teams. Information augmentation provides potentially useful indications in 76% of the cases. The results confirm that currently available techniques can be applied to real-world cases, thus enabling the first step for technology transfer of automated requirements classification. The study can be useful to practitioners operating in requirements-centered contexts such as railways, where accurate requirements classification becomes crucial for better allocation of requirements to various teams.

Place, publisher, year, edition, pages
IEEE conference proceedings, 2023
Series
Proceedings of the IEEE International Symposium on Requirements Engineering, ISSN 2332-6441
National Category
Software Engineering
Identifiers
urn:nbn:se:mdh:diva-72870 (URN)10.1109/RE57278.2023.00028 (DOI)2-s2.0-85174399339 (Scopus ID)979-8-3503-2689-5 (ISBN)
Conference
31st IEEE International Requirements Engineering Conference, Hannover, Germany: IEEE , 2023
Available from: 2025-07-21 Created: 2025-07-21 Last updated: 2026-02-16Bibliographically approved
4. On the relationship between similar requirements and similar software: A case study in the railway domain
Open this publication in new window or tab >>On the relationship between similar requirements and similar software: A case study in the railway domain
Show others...
2023 (English)In: Requirements Engineering, ISSN 0947-3602, E-ISSN 1432-010X, Vol. 28, p. 23-47Article in journal (Refereed) Published
Abstract [en]

Recommender systems for requirements are typically built on the assumption that similar requirements can be used as proxies to retrieve similar software. When a stakeholder proposes a new requirement, natural language processing (NLP)-based similarity metrics can be exploited to retrieve existing requirements, and in turn, identify previously developed code. Several NLP approaches for similarity computation between requirements are available. However, there is little empirical evidence on their effectiveness for code retrieval. This study compares different NLP approaches, from lexical ones to semantic, deep-learning techniques, and correlates the similarity among requirements with the similarity of their associated software. The evaluation is conducted on real-world requirements from two industrial projects from a railway company. Specifically, the most similar pairs of requirements across two industrial projects are automatically identified using six language models. Then, the trace links between requirements and software are used to identify the software pairs associated with each requirements pair. The software similarity between pairs is then automatically computed with JPLag. Finally, the correlation between requirements similarity and software similarity is evaluated to see which language model shows the highest correlation and is thus more appropriate for code retrieval. In addition, we perform a focus group with members of the company to collect qualitative data. Results show a moderately positive correlation between requirements similarity and software similarity, with the pre-trained deep learning-based BERT language model with preprocessing outperforming the other models. Practitioners confirm that requirements similarity is generally regarded as a proxy for software similarity. However, they also highlight that additional aspect comes into play when deciding software reuse, e.g., domain/project knowledge, information coming from test cases, and trace links. Our work is among the first ones to explore the relationship between requirements and software similarity from a quantitative and qualitative standpoint. This can be useful not only in recommender systems but also in other requirements engineering tasks in which similarity computation is relevant, such as tracing and change impact analysis.

Place, publisher, year, edition, pages
SPRINGER, 2023
Keywords
Requirements similarity, Software similarity, Correlation, Perception of similarity, Language models
National Category
Computer Systems
Identifiers
urn:nbn:se:mdh:diva-57193 (URN)10.1007/s00766-021-00370-4 (DOI)000744367400001 ()2-s2.0-85123067513 (Scopus ID)
Available from: 2022-02-02 Created: 2022-02-02 Last updated: 2025-10-10Bibliographically approved
5. Automated Reuse Recommendation of Product Line Assets based on Natural Language Requirements
Open this publication in new window or tab >>Automated Reuse Recommendation of Product Line Assets based on Natural Language Requirements
Show others...
2020 (English)In: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), Springer Nature , 2020, Vol. 12541, p. 173-189Conference paper, Published paper (Refereed)
Abstract [en]

Software product lines (SPLs) are based on reuse rationale to aid quick and quality delivery of complex products at scale. Deriving a new product from a product line requires reuse analysis to avoid redundancy and support a high degree of assets reuse. In this paper, we propose and evaluate automated support for recommending SPL assets that can be reused to realize new customer requirements. Using the existing customer requirements as input, the approach applies natural language processing and clustering to generate reuse recommendations for unseen customer requirements in new projects. The approach is evaluated both quantitatively and qualitatively in the railway industry. Results show that our approach can recommend reuse with 74% accuracy and 57.4% exact match. The evaluation further indicates that the recommendations are relevant to engineers and can support the product derivation and feasibility analysis phase of the projects. The results encourage further study on automated reuse analysis on other levels of abstractions.

Place, publisher, year, edition, pages
Springer Nature, 2020
Series
Lecture Notes in Computer Science, ISSN 0302-9743
Keywords
software product line, reuse recommender, natural language processing, word embedding
National Category
Engineering and Technology Computer Systems
Identifiers
urn:nbn:se:mdh:diva-51700 (URN)10.1007/978-3-030-64694-3_11 (DOI)000884369800011 ()2-s2.0-85097807409 (Scopus ID)9789819698936 (ISBN)9789819698042 (ISBN)
Conference
International Conference on Software and Systems Reuse ICSR2020, 02 Dec 2020, Virtual, Tunisia
Projects
ARRAY - Automation Region Research AcademyXIVT - eXcellence in Variant Testing
Available from: 2020-10-20 Created: 2020-10-20 Last updated: 2026-02-12Bibliographically approved
6. Requirements Similarity and Retrieval
Open this publication in new window or tab >>Requirements Similarity and Retrieval
Show others...
2025 (English)In: Handbook on Natural Language Processing for Requirements Engineering, Springer Nature , 2025, p. 61-88Chapter in book (Other academic)
Abstract [en]

Requirement Engineering (RE) is crucial for identifying, analysing and documenting stakeholders' needs and constraints for developing software systems. In most safety-critical domains, maintaining requirements and their links to other artifacts is also often required by regulatory bodies. Furthermore, in such contexts, requirements for new products often share similarities with previous existing projects performed by the company. Therefore, similar requirements can be retrieved to facilitate the feasibility analysis of new projects. In addition, when a new customer requests a new product, retrieval of similar requirements can enable requirements-driven software reuse and avoid redundant development efforts. Manually retrieving similar requirements for reuse is typically dependent on the engineer's experience and is not scalable, as the set could be quite large. In this regard, applying natural language processing (NLP) techniques for automated similarity computation and retrieval ensures the independence of the process from the human experience and makes the process scalable. This chapter introduces linguistic similarity and several NLP-based similarity computation techniques that leverage linguistic features for similarity computation. Specifically, we cover techniques for computing similarity ranging from lexical to state-of-the-art deep neural network-based methods. We demonstrate their application in two example cases: (a) requirements reuse and (b) requirements-driven software retrieval. The practical guidance and example cases presented in the chapter can help practitioners apply the concepts to improve their processes where similarity computation is relevant. 

Place, publisher, year, edition, pages
Springer Nature, 2025
Keywords
NLP, Requirements retrieval, Requirements reuse, Requirements similarity, Software reuse
National Category
Computer Sciences
Identifiers
urn:nbn:se:mdh:diva-71458 (URN)10.1007/978-3-031-73143-3_3 (DOI)2-s2.0-105004625813 (Scopus ID)9783031731433 (ISBN)9783031731426 (ISBN)
Available from: 2025-05-23 Created: 2025-05-23 Last updated: 2025-10-10Bibliographically approved

Open Access in DiVA

fulltext(2709 kB)151 downloads
File information
File name FULLTEXT02.pdfFile size 2709 kBChecksum SHA-512
8b64a2bf2e724ca44298eb3fc6d0154f69a26aa4b6fda8bc96b1eb25a114e1cbb95f0112222332bac0b5ba9b3aec6969fc0444a1ab16e7284e018368749b77fe
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Khan, Muhammad Abbas
By organisation
Embedded Systems
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 153 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

isbn
urn-nbn

Altmetric score

isbn
urn-nbn
Total: 3609 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf