Oct 2026· Software, Practice & Experience· 0 citations· 6 references
TL;DR
A framework that leverages fine‐tuned large language models (LLMs) to systematically detect and resolve ambiguities in software requirements and improves the clarity and usability of requirements and can support more effective communication among software development stakeholders is introduced.
Abstract
Ambiguities in software requirement documents, such as software requirement specifications (SRS) and user stories, pose significant challenges to the success of software development projects. These ambiguities often result in misinterpretations, inconsistent system designs, and increased costs and delays. Despite advancements in requirements engineering and natural language processing, existing methods frequently address only limited types of ambiguities or fail to integrate detection and resolution processes effectively.
This research introduces a framework that leverages fine‐tuned large language models (LLMs) to systematically detect and resolve ambiguities in software requirements. The framework targets seven key categories of ambiguities: semantic, syntactic, functional, operational, scope, temporal, and quality.
The framework uses fine‐tuned LLaMA 3 and LLaMA 3.1 models with parameter‐efficient LoRA adapters. A diverse dataset of annotated SRS documents and user stories was developed to evaluate the framework. Ambiguity classification was evaluated using accuracy, precision, recall, and F1 scores, while ambiguity resolution was assessed using BLEU, ROUGE, and BERTScore metrics, complemented by manual evaluation.
The fine‐tuned models demonstrated substantial improvements in ambiguity classification and generated clear, unambiguous alternatives for ambiguous requirements. The evaluation results demonstrated the effectiveness of the proposed approach in identifying and resolving ambiguities across the targeted categories.
The findings demonstrate that fine‐tuned LLMs can support comprehensive ambiguity detection and resolution across multiple software requirement formats. The framework improves the clarity and usability of requirements and can support more effective communication among software development stakeholders.
The proposed framework provides a practical solution for improving the quality of requirements documentation and addressing ambiguities across diverse formats. It can help minimize errors and enhance stakeholder communication in both agile and traditional development environments. Future research will focus on extending the framework's scalability and adaptability to diverse contexts and domain‐specific requirements.
Ambiguity in software requirements is a major cause of misinterpretation, design defects, rework, and project delays in software engineering. This study proposes a hybrid semantic–lexical ambiguity detection framework that integrates lexical, structural, and contextual representations for identifying ambiguous software...
F. Khalid, Muhammad Yaseen, M. A. Sattar et al.· Frontiers in Artificial Inte...· 0 citations
In modern software development, accurately assessing the impact scope of requirement changes is crucial for software quality, yet this task faces two major challenges. First, highly simplified requirement descriptions (one-sentence requirements) tend to conceal complex business logic and extensive system dependencies....
Hui Ma, Jia-Jun Yang, Yan Chen et al.· Proceedings of the 41st IEEE...· 0 citations
Requirements engineering faces significant bottlenecks in maintaining explicit traceability between high-level organizational goals and technical system specifications. This study presents an automated requirement generation framework that bridges Organization Goal-Oriented Requirements Engineering and Data-Driven Requ...
Fransiskus Adikara, Sandfreni Sandfreni, Devi Yurisca et al.· International Conference on...· 0 citations
Software projects often maintain large requirement and test repositories, yet explicit trace links between them are incomplete or inconsistently maintained. This paper presents a requirements-to-test traceability pipeline that ranks candidate links for natural-language requirements using hybrid retrieval and optional L...
Arda Barış Özten, Eren Tarak, H. Kilinc· 2026 11th International Conf...· 0 citations
Findings show that detailed contextualization significantly improves the quality of LLM-generated suggestions and that more complex smells may benefit from an agentic approach.
Software requirements are written in natural language, so they are inherently ambiguous. This ambiguity results in the misinterpretation of the requirements and leads to an incorrect implementation of the system that does not meet the user’s needs. So, it is important for all the stakeholders to comprehend the requirem...
Sabin Amjad, Arooj Saleem, Ahmad Salman Khan et al.· PLoS ONE· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.