Publicação
Evaluating the quality of requirements using Generative AI techniques
| Resumo: | High-quality requirements are critical to the success of software projects, yet ambiguity, inconsistency, and incompleteness of software specifications continue to challenge requirements engineering. Manual reviews are often costly and subjective, motivating the search for automated approaches that can complement expert analysis. Recent advances in Generative Artificial Intelligence (GAI) and Large Language Models (LLMs) offer promising capabilities to evaluate natural language requirements and propose refinements. This thesis investigates how LLMs can be systematically applied to assess the quality of requirements specifications and user stories, namely Consistency, Unambiguosness, Correctness, Feasability, and Completness. A multi-phase framework was developed that combines structured prompts, ensemble reasoning, and advanced prompting techniques, such as Retrieval-Augmented Generation (RAG) and Rephrase-and-Respond (RAR). The framework integrates established quality criteria from the literature, linguistic patterns indicative of poor requirements, and context-sensitive evaluation strategies. Its performance was tested across several real-world datasets, including crisis management and automotive crash systems, and validated through experiments with multiple LLMs (GPT, Gemini, and Grok). To further validate the framework, a survey was conducted with 18 professionals and graduate students in computer science and related fields. Participants assessed the same requirements and provided feedback on the clarity, accuracy, and trustworthiness of the framework. Quantitative analysis revealed that LLMs tended to assign slightly higher ratings than humans. The overall evaluation was strong, with a Mean Absolute Error of 0.82. Participants rated the framework positively in terms of clarity and relevance, though they expressed more caution regarding its direct use in critical real-world decision-making. |
|---|---|
| Autores principais: | Fonseca, Vasco Fernandes |
| Assunto: | requirements engineering requirements quality generative artificial intelligence large language models prompt engineering |
| Ano: | 2025 |
| País: | Portugal |
| Tipo de documento: | dissertação de mestrado |
| Tipo de acesso: | acesso aberto |
| Instituição associada: | Universidade Nova de Lisboa |
| Idioma: | inglês |
| Origem: | Repositório Institucional da UNL |
Registos relacionados
school A Requirements Engineering approach for Ethical Requirements using Generative AI
por: Graça, Rafael Pinheiro
Publicado em: (2025)
por: Graça, Rafael Pinheiro
Publicado em: (2025)
school An AI-Powered Framework for Requirements Engineering: The Case of Use Cases and User Stories
por: Simonet, Carolina Vieira
Publicado em: (2025)
por: Simonet, Carolina Vieira
Publicado em: (2025)
school An approach in software requirements specification with generative AI and RSL framework
por: Rêgo, Paulo Alexandre Fonseca de Campos
Publicado em: (2025)
por: Rêgo, Paulo Alexandre Fonseca de Campos
Publicado em: (2025)
school Leveraging AI-Powered chatbots for enhanced requirements elicitation and documentation in software engineering
por: Zatic, Nicolae
Publicado em: (2026)
por: Zatic, Nicolae
Publicado em: (2026)
school AI-driven information retrieval system for candidate screening
por: Silva, Vasco Reid Ferreira da
Publicado em: (2024)
por: Silva, Vasco Reid Ferreira da
Publicado em: (2024)
school Employing retrieval augmented generation to optimize LIMS for the legal domain: evaluating methods to improve chatbot performance
por: Schumann, Lorenzo Oliver
Publicado em: (2024)
por: Schumann, Lorenzo Oliver
Publicado em: (2024)
school Financial reporting with GenAI
por: CHEN, MIGUEL HUANG
Publicado em: (2025)
por: CHEN, MIGUEL HUANG
Publicado em: (2025)
article AI Assistants: between usefulness and risk
por: Donato, João
Publicado em: (2025)
por: Donato, João
Publicado em: (2025)
school A CMMI-compliant requirements management and development process
por: Ramos, Vanessa Sofia Simões de Ataíde
Publicado em: (2014)
por: Ramos, Vanessa Sofia Simões de Ataíde
Publicado em: (2014)
book Applying large language models to software development: enhancing requirements, design and code
por: Santos, Gonçalo
Publicado em: (2025)
por: Santos, Gonçalo
Publicado em: (2025)
school LARGE LANGUAGE MODELS FOR REQUIREMENTS QUALITY
por: Filipe, Pedro Rafael Paixão
Publicado em: (2025)
por: Filipe, Pedro Rafael Paixão
Publicado em: (2025)
groups Applying large language models to software develop-ment: enhancing requirements, design and code
por: Santos, Gonçalo
Publicado em: (2025)
por: Santos, Gonçalo
Publicado em: (2025)
school Otimização de prompts em Modelos de Linguagem de Grande Escala
por: CUNHA, ANDRÉ MACHADO LEÃO DA SILVA
Publicado em: (2025)
por: CUNHA, ANDRÉ MACHADO LEÃO DA SILVA
Publicado em: (2025)
groups Trends and needs in requirements engineering research in Ibero-America: Insights from a panel
por: De La Vara, Jose Luis
Publicado em: (2016)
por: De La Vara, Jose Luis
Publicado em: (2016)
school Requirements engineering and data visualization
por: Chen, Bowen
Publicado em: (2022)
por: Chen, Bowen
Publicado em: (2022)
school Assessing the effectiveness of Large Language Models in automated threat modeling
por: BATISTA, ANA ISABEL MOURA
Publicado em: (2025)
por: BATISTA, ANA ISABEL MOURA
Publicado em: (2025)
article On requirements engineering for reactive systems: a formal methodology
por: Madeira, A.
Publicado em: (2011)
por: Madeira, A.
Publicado em: (2011)
groups A Conceptual Model For Web Accessibility Requirements In Agile Development
por: Miranda, Darliane
Publicado em: (2024)
por: Miranda, Darliane
Publicado em: (2024)
school Applying Machine Learning Methods to Requirements Classification
por: Azevedo, João Pedro Gonçalves
Publicado em: (2023)
por: Azevedo, João Pedro Gonçalves
Publicado em: (2023)
science AI-powered prompt engineering for education 4.0: Transforming digital resources into engaging learning experiences
por: Serra, Paulo
Publicado em: (2025)
por: Serra, Paulo
Publicado em: (2025)
school Ai-driven decision support in the automotive industry: designing a user-centric ai chatbot using large language models and the double diamond approach
por: Preiss, Florian Fritz
Publicado em: (2024)
por: Preiss, Florian Fritz
Publicado em: (2024)
school An Approach for Human Values Requirements: The Case of Universalism
por: Lélé, Alexandra Serra
Publicado em: (2024)
por: Lélé, Alexandra Serra
Publicado em: (2024)
school A SUSTAINABILITY REQUIREMENTS CATALOGUE FOR THE ECONOMIC, ENVIRONMENTAL AND INDIVIDUAL DIMENSIONS
por: Oliveira, Tiago Alexandre Liberato Matos
Publicado em: (2024)
por: Oliveira, Tiago Alexandre Liberato Matos
Publicado em: (2024)
article Formal requirements modeling with executable use cases and Coloured Petri Nets
por: Jorgensen, Jens B.
Publicado em: (2009)
por: Jorgensen, Jens B.
Publicado em: (2009)
school Abordagem à especificação e verificação de requisitos: Caso de estudo em Updates via Over the Air
por: CARVALHO, ANAISA CRISTINA PEREIRA
Publicado em: (2025)
por: CARVALHO, ANAISA CRISTINA PEREIRA
Publicado em: (2025)
article Requirements for a project evaluation and selection methodology
por: Santos, Claudio
Publicado em: (2016)
por: Santos, Claudio
Publicado em: (2016)
school Quality Evaluation of Requirements Models: The Case of Goal Models and Scenarios
por: Almeida, Ana Catarina Gralha de
Publicado em: (2019)
por: Almeida, Ana Catarina Gralha de
Publicado em: (2019)
groups Prompting for socially intelligent agents with chatGPT
por: Antunes, Ana
Publicado em: (2023)
por: Antunes, Ana
Publicado em: (2023)
school Benchmarking LLM Robustness Against Prompt-based Adversarial Attacks
por: Donato, João Maria Campos
Publicado em: (2025)
por: Donato, João Maria Campos
Publicado em: (2025)
article Assistentes de IA: entre a utilidade e o risco
por: Donato, João
Publicado em: (2025)
por: Donato, João
Publicado em: (2025)
groups Adding Quality in the User Requirements Specification A first approach
por: Guerra-García, César
Publicado em: (2016)
por: Guerra-García, César
Publicado em: (2016)
school Developing End-to-End, Deep Learning-Based Chatbots for Healthcare Support in Portuguese
por: Santos, Miguel Ângelo Azeitona dos
Publicado em: (2024)
por: Santos, Miguel Ângelo Azeitona dos
Publicado em: (2024)
article Methodology for introducing creativity in requirements engineering
por: Santos, Vitor
Publicado em: (2022)
por: Santos, Vitor
Publicado em: (2022)
groups Industry needs in requirements engineering: XXI century challenges for an IT curricula
por: Brito, I. S.
Publicado em: (2018)
por: Brito, I. S.
Publicado em: (2018)
article A social and technical sustainability requirements catalogue
por: Moreira, Ana
Publicado em: (2023)
por: Moreira, Ana
Publicado em: (2023)
school Viewpoints and goals: towards an integrated approach
por: Pimenta, Manuel Filipe
Publicado em: (2009)
por: Pimenta, Manuel Filipe
Publicado em: (2009)
article Business modeling and requirements in RUP: a dependency analysis of activities, tasks and work products
por: Campos, Carina
Publicado em: (2016)
por: Campos, Carina
Publicado em: (2016)
school A Conceptual Model for Gender-Inclusive Requirements
por: Nunes, Inês Raquel de Almeida Lopes
Publicado em: (2021)
por: Nunes, Inês Raquel de Almeida Lopes
Publicado em: (2021)
article Innovation and knowledge transfer for monitoring, predicting and preventing ulcers: the Sensomatt Approach
por: Silva, Arlindo F.
Publicado em: (2022)
por: Silva, Arlindo F.
Publicado em: (2022)
article Goals and Requirements for Supporting Controlled Flexibility in Software Processes
por: Martinho, Ricardo
Publicado em: (2010)
por: Martinho, Ricardo
Publicado em: (2010)
Registos relacionados
-
school A Requirements Engineering approach for Ethical Requirements using Generative AI
por: Graça, Rafael Pinheiro
Publicado em: (2025) -
school An AI-Powered Framework for Requirements Engineering: The Case of Use Cases and User Stories
por: Simonet, Carolina Vieira
Publicado em: (2025) -
school An approach in software requirements specification with generative AI and RSL framework
por: Rêgo, Paulo Alexandre Fonseca de Campos
Publicado em: (2025) -
school Leveraging AI-Powered chatbots for enhanced requirements elicitation and documentation in software engineering
por: Zatic, Nicolae
Publicado em: (2026) -
school AI-driven information retrieval system for candidate screening
por: Silva, Vasco Reid Ferreira da
Publicado em: (2024)