Litcius/Paper detail

Inconsistency Detection in Natural Language Requirements using ChatGPT: a Preliminary Evaluation

Alessandro Fantechi, Stefania Gnesi, Lucia Passaro, Laura Semini

202336 citationsDOI

Abstract

With the rapid advancement of tools based on Artificial Intelligence, it is interesting to assess their usefulness in requirements engineering. In early experiments, we have seen that ChatGPT can detect inconsistency defects in natural language (NL) requirements, that traditional NLP tools cannot identify or can identify with difficulties even after domain-focused training. This study is devoted to specifically measuring the performance of ChatGPT in finding inconsistency in requirements. Positive results in this respect could lead to the use of ChatGPT to complement existing requirements analysis tools to automatically detect this important quality criterion. For this purpose, we consider GPT-3.5, the Generative Pretrained Transformer language model developed by OpenAI. We evaluate its ability to detect inconsistency by comparing its predictions with those obtained from expert judgments by students with a proven knowledge of RE issues on a few example requirements documents.

Topics & Concepts

Computer scienceNatural languageTransformerArtificial intelligenceComplement (music)Requirements engineeringGenerative grammarNatural language processingRequirements analysisDomain (mathematical analysis)Machine learningSoftware engineeringProgramming languageEngineeringSoftwareElectrical engineeringMathematicsComplementationChemistryMathematical analysisPhenotypeVoltageBiochemistryGeneSoftware Engineering ResearchSoftware Engineering Techniques and PracticesSoftware Reliability and Analysis Research
Inconsistency Detection in Natural Language Requirements using ChatGPT: a Preliminary Evaluation | Litcius