AI-based Question Answering Assistance for Analyzing Natural-language Requirements

By virtue of being prevalently written in natural language (NL), requirements are prone to various defects, e.g., inconsistency and incompleteness. As such, requirements are frequently subject to quality assurance processes. These processes, when carried out entirely manually, are tedious and may fu...

Full description

Saved in:
Bibliographic Details
Published inProceedings / International Conference on Software Engineering pp. 1277 - 1289
Main Authors Ezzini, Saad, Abualhaija, Sallam, Arora, Chetan, Sabetzadeh, Mehrdad
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.05.2023
Subjects
Online AccessGet full text
ISSN1558-1225
DOI10.1109/ICSE48619.2023.00113

Cover

Loading…
Abstract By virtue of being prevalently written in natural language (NL), requirements are prone to various defects, e.g., inconsistency and incompleteness. As such, requirements are frequently subject to quality assurance processes. These processes, when carried out entirely manually, are tedious and may further overlook important quality issues due to time and budget pressures. In this paper, we propose QAssist - a question-answering (QA) approach that provides automated assistance to stakeholders, including requirements engineers, during the analysis of NL requirements. Posing a question and getting an instant answer is beneficial in various quality-assurance scenarios, e.g., incompleteness detection. Answering requirements-related questions automatically is challenging since the scope of the search for answers can go beyond the given requirements specification. To that end, QAssist provides support for mining external domain-knowledge resources. Our work is one of the first initiatives to bring together QA and external domain knowledge for addressing requirements engineering challenges. We evaluate QAssist on a dataset covering three application domains and containing a total of 387 question-answer pairs. We experiment with state-of-the-art QA methods, based primarily on recent large-scale language models. In our empirical study, QAssist localizes the answer to a question to three passages within the requirements specification and within the external domain-knowledge resource with an average recall of 90.1% and 96.5%, respectively. QAssist extracts the actual answer to the posed question with an average accuracy of 84.2%.
AbstractList By virtue of being prevalently written in natural language (NL), requirements are prone to various defects, e.g., inconsistency and incompleteness. As such, requirements are frequently subject to quality assurance processes. These processes, when carried out entirely manually, are tedious and may further overlook important quality issues due to time and budget pressures. In this paper, we propose QAssist - a question-answering (QA) approach that provides automated assistance to stakeholders, including requirements engineers, during the analysis of NL requirements. Posing a question and getting an instant answer is beneficial in various quality-assurance scenarios, e.g., incompleteness detection. Answering requirements-related questions automatically is challenging since the scope of the search for answers can go beyond the given requirements specification. To that end, QAssist provides support for mining external domain-knowledge resources. Our work is one of the first initiatives to bring together QA and external domain knowledge for addressing requirements engineering challenges. We evaluate QAssist on a dataset covering three application domains and containing a total of 387 question-answer pairs. We experiment with state-of-the-art QA methods, based primarily on recent large-scale language models. In our empirical study, QAssist localizes the answer to a question to three passages within the requirements specification and within the external domain-knowledge resource with an average recall of 90.1% and 96.5%, respectively. QAssist extracts the actual answer to the posed question with an average accuracy of 84.2%.
Author Abualhaija, Sallam
Ezzini, Saad
Sabetzadeh, Mehrdad
Arora, Chetan
Author_xml – sequence: 1
  givenname: Saad
  surname: Ezzini
  fullname: Ezzini, Saad
  email: saad.ezzini@uni.lu
  organization: University of Luxembourg,SnT Centre for Security, Reliability and Trust,Luxembourg
– sequence: 2
  givenname: Sallam
  surname: Abualhaija
  fullname: Abualhaija, Sallam
  email: sallam.abualhaija@uni.lu
  organization: University of Luxembourg,SnT Centre for Security, Reliability and Trust,Luxembourg
– sequence: 3
  givenname: Chetan
  surname: Arora
  fullname: Arora, Chetan
  email: chetan.arora@monash.edu
  organization: Deakin University,Geelong,Australia
– sequence: 4
  givenname: Mehrdad
  surname: Sabetzadeh
  fullname: Sabetzadeh, Mehrdad
  email: m.sabetzadeh@uottawa.ca
  organization: School of Electrical Engineering and Computer Science, University of Ottawa,Canada
BookMark eNotjsFKw0AURUdRsNb-QRf5gdT33mRmMstQqi0UxarrMpO-hEA61UyC1K83oquzOIfLvRVX4RRYiDnCAhHs_Wb5uspyjXZBQHIBgCgvxMyaHLVWmTKA9lJMUKk8RSJ1I2YxNh4UWkIJeiJ2xSb1LvIheRk49s0pJEWIX9w1oU6KMY69CyUn1akbhWvP37_iyfVD59q0daEeXM3Jjj-HpuMjhz7eievKtZFn_5yK94fV23Kdbp8fN8timzopqU9RlpV2lBN5A97z-JiBNcgyzyxBCd4CsdPG51mJpQJS-gCKvXGVNDKTUzH_222Yef_RNUfXnfcIaEhrKX8AAC9TKg
CODEN IEEPAD
ContentType Conference Proceeding
DBID 6IE
6IH
CBEJK
RIE
RIO
DOI 10.1109/ICSE48619.2023.00113
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Proceedings Order Plan (POP) 1998-present by volume
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP) 1998-present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9781665457019
1665457015
EISSN 1558-1225
EndPage 1289
ExternalDocumentID 10172663
Genre orig-research
GrantInformation_xml – fundername: NSERC of Canada
  funderid: 10.13039/501100000038
GroupedDBID -~X
.4S
.DC
123
23M
29O
5VS
6IE
6IF
6IH
6IK
6IL
6IM
6IN
8US
AAJGR
AAWTH
ABLEC
ADZIZ
AFFNX
ALMA_UNASSIGNED_HOLDINGS
APO
ARCSS
AVWKF
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CBEJK
CHZPO
EDO
FEDTE
I-F
I07
IEGSK
IJVOP
IPLJI
M43
OCL
RIE
RIL
RIO
RNS
XOL
ID FETCH-LOGICAL-a332t-13cf6a2822b70bbe166e0e603c84920c0b902ea67b84c1c50256d05eb7af37343
IEDL.DBID RIE
IngestDate Wed Aug 27 02:09:24 EDT 2025
IsDoiOpenAccess false
IsOpenAccess true
IsPeerReviewed false
IsScholarly true
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-a332t-13cf6a2822b70bbe166e0e603c84920c0b902ea67b84c1c50256d05eb7af37343
OpenAccessLink http://orbilu.uni.lu/handle/10993/53814
PageCount 13
ParticipantIDs ieee_primary_10172663
PublicationCentury 2000
PublicationDate 2023-May
PublicationDateYYYYMMDD 2023-05-01
PublicationDate_xml – month: 05
  year: 2023
  text: 2023-May
PublicationDecade 2020
PublicationTitle Proceedings / International Conference on Software Engineering
PublicationTitleAbbrev ICSE
PublicationYear 2023
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssib051921306
ssj0006499
Score 2.2965007
Snippet By virtue of being prevalently written in natural language (NL), requirements are prone to various defects, e.g., inconsistency and incompleteness. As such,...
SourceID ieee
SourceType Publisher
StartPage 1277
SubjectTerms BERT
Internet
Knowledge engineering
Language Models
Natural Language Generation (NLG)
Natural Language Processing (NLP)
Natural languages
Natural-language Requirements
Quality assurance
Question answering (information retrieval)
Question Answering (QA)
Stakeholders
Terminology
Title AI-based Question Answering Assistance for Analyzing Natural-language Requirements
URI https://ieeexplore.ieee.org/document/10172663
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1La8JAEF6qp57sw9I3e-h145p9JDmKKNqDFFvBm2Q346UQS1UK_vrObJKWFgq95QFh2ZnsvL75hrEH1IN8bXMtbKaM0C4uBN5j1EpZBu8s8bsQ2mJmJwv9uDTLulk99MIAQACfQUSXoZZfbPyeUmU9Uh80KKrFWhi5Vc1ajfIYIvZSVDKsj2GLvnzdK9eXWW86fB7pFMOFiAaGhwKE-jFRJRiUcYfNmqVUOJLXaL9zkT_8Ymn891pPWPe7d48_fVmlU3YE5RnrNMMbeP0vn7P5YCrIhBU85DxRPHxQbj8CMyFHoZFfSd9Cp5YH5pIDvZjlgadDNGlOPgeCEocc47bLFuPRy3Ai6gELIlcqpjH0HuVEQFKXSOegby1IsFL5VGex9NJlMobcJi7Vvu8N-UeFNOCSfK0SpdUFa5ebEi4ZT8kPsbnDM4MoDm1mIDYOConhUqETfcW6tEert4pDY9Vsz_Ufz2_YMcmpghbesvbufQ93aP537j6I_RM6e6xS
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1LS8NAEB60HvRUHxXf7sFr0m12s0mORVparUFqC72V7GZ6EVKxLUJ_vTubRFEQvOUBYdmZ7Hzz-gbgzupBtlCZ9FQiQk_qIPfsvfVaKcpgtCJ-F6q2SNVgKh9m4axqVne9MIjois_Qp0uXy8-XZkOhsjapjzUoYhf2rOGXSdmuVatPSNRegpKG1UGsLJqvuuU6PGkP7196MrYOg08jw10KQvyYqeJMSr8Jab2YspLk1d-stW-2v3ga_73aQ2h9d--x5y-7dAQ7WBxDsx7fwKq_-QTG3aFHRixnLuppBcS6xerDcRMyKzZClvQtC2uZ4y7Z0os0c0wdXh3oZGOkYmIXZVy1YNrvTe4HXjViwcuECGgQvbGSolJSHXGtsaMUclRcmFgmATdcJzzATEU6lqZjQkJIOQ9RR9lCREKKU2gUywLPgMWERFSm7alBJIcqCTEINebcOky5jOQ5tGiP5m8li8a83p6LP57fwv5g8jSaj4bp4yUckMzKQsMraKzfN3htwcBa3zgV-AR4VK-i
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=Proceedings+%2F+International+Conference+on+Software+Engineering&rft.atitle=AI-based+Question+Answering+Assistance+for+Analyzing+Natural-language+Requirements&rft.au=Ezzini%2C+Saad&rft.au=Abualhaija%2C+Sallam&rft.au=Arora%2C+Chetan&rft.au=Sabetzadeh%2C+Mehrdad&rft.date=2023-05-01&rft.pub=IEEE&rft.eissn=1558-1225&rft.spage=1277&rft.epage=1289&rft_id=info:doi/10.1109%2FICSE48619.2023.00113&rft.externalDocID=10172663