Open Challenges in NLP for NFRs: A Focus on Semantics, Generalization, and Interpretability. Krasniqi, R. In Proceedings of the 8th Workshop on Natural Language Processing for Requirements Engineering (NLP4RE), co-located with REFSQ, volume 3959, pages 1–11, Barcelona, Spain, 2025. ACM.
Open Challenges in NLP for NFRs: A Focus on Semantics, Generalization, and Interpretability [pdf]Paper  abstract   bibtex   1 download  
Leveraging natural language processing (NLP) models within the non-functional requirements (NFR) domain has proven highly effective in addressing various issues, including automated traceability, classification of NFR compliance documents, NFR prioritization, among others. Despite these significant advancements, there remain open challenges associated with the full integration of NLP models in the NFR domain. For example, using NLP models to capture the semantics of complex phrases present in safety-critical NFRs must ensure that they do not lead to misinterpretations and potential safety risks. Therefore, this paper focuses on three key challenges related to semantic soundness, ontology generalizability, and the interpretability of model outcomes. These challenges have been chosen for several reasons. First, the absence of semantic precision can result in the misinterpretation of NFRs. Second, given that NFRs cover diverse domains, NLP models must generalize across these domains. Lastly, many problems within the NFR domain rely on decision-making based on predictions from NLP models. However, frequently adapted traditional NLP models such as ensemble models or kernel models are often regarded as ‘black-boxes,’ with output predictions that are challenging to interpret. Guided by these insights, we present a roadmap agenda through 10 implicit system-based scenarios drawn from the NFR perspective. These scenarios illustrate gaps where these NLP challenges become evident within the NFR domain. Additionally, we suggest solutions, strategies, and alternative approaches to better address these NLP challenges.

Downloads: 1