Bridging Precision and Complexity: A Novel Machine Learning Approach for Ambiguity Detection in Software Requirements
Ambiguity in software requirements is a significant challenge as it often leads to misunderstandings, implementation errors, and costly project delays. This research proposes a hybrid framework that combines rule-based techniques with machine learning to identify ambiguity in software requirements w...
Gespeichert in:
Veröffentlicht in: | IEEE access 2025, Vol.13, p.12014-12031 |
---|---|
Hauptverfasser: | , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | 12031 |
---|---|
container_issue | |
container_start_page | 12014 |
container_title | IEEE access |
container_volume | 13 |
creator | Izhar, Rahat Bhatti, Shahid N. Alharthi, Sultan A. |
description | Ambiguity in software requirements is a significant challenge as it often leads to misunderstandings, implementation errors, and costly project delays. This research proposes a hybrid framework that combines rule-based techniques with machine learning to identify ambiguity in software requirements with precision and efficiency. The framework begins with a rule-based model that systematically detects ambiguities using a carefully prepared list of ambiguous phrases. The analysis utilizes a dataset of 1,553 software requirements drawn from diverse project domains. To capture more intricate ambiguities that traditional rule-based systems might miss, the framework integrates TF-IDF vectorization and a Random Forest classifier, enhancing the precision and coverage of classification. In addition, clustering analysis identifies patterns to provide deeper insights into ambiguous requirements, while sentiment analysis explores the relationship between ambiguity and the emotional tone of requirements. Together, these analyses offer a broader understanding of ambiguity trends and stakeholder perceptions. The framework's performance is validated using standard evaluation metrics, achieving an accuracy of 97%, precision of 97%, recall of 89%, and an F1-score of 92%, significantly surpassing traditional rule-based methodologies. This research advances automatic ambiguity detection by delivering a flexible and interpretable solution. The proposed approach enhances the clarity and quality of software requirements, strengthening requirements engineering practices and supporting more effective software development. |
doi_str_mv | 10.1109/ACCESS.2025.3529943 |
format | Article |
fullrecord | <record><control><sourceid>proquest_ieee_</sourceid><recordid>TN_cdi_ieee_primary_10843220</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>10843220</ieee_id><doaj_id>oai_doaj_org_article_7bec111079c543e2a2ac2352cbdfd008</doaj_id><sourcerecordid>3158211261</sourcerecordid><originalsourceid>FETCH-LOGICAL-c1591-b0f57ffa6fc2017618974be1a0ce92fe84df725bcc75cb669c333ad4799a7e6f3</originalsourceid><addsrcrecordid>eNpNkV1PwyAYhRujiUb9BXpB4vUmH6UU72r9TOZHnF4TSl8my1YmbdX9e5k1ZtxATt7nAOckyQnBY0KwPC_K8no6HVNM-ZhxKmXKdpIDSjI5Ypxlu1vn_eS4bec4rjxKXBwk_WVw9cw1M_QcwLjW-QbppkalX64W8O269QUq0KP_hAV60ObdNYAmoEOzQYrVKvgoIusDKpaVm_URQFfQgek2Tq5BU2-7Lx0AvcBH7wIsoenao2TP6kULx3_7YfJ2c_1a3o0mT7f3ZTEZGcIlGVXYcmGtzqyhmIiM5FKkFRCNDUhqIU9rKyivjBHcVFkmDWNM16mQUgvILDtM7gff2uu5WgW31GGtvHbqV_BhpnTonFmAEhUYEvMU0vCUAdVUGxrjNFVt65hX9DobvOKfP3poOzX3fWji8xUjPKeE0IzEKTZMmeDbNoD9v5VgtalLDXWpTV3qr65InQ6UA4AtIk8ZpZj9AGswkgI</addsrcrecordid><sourcetype>Open Website</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>3158211261</pqid></control><display><type>article</type><title>Bridging Precision and Complexity: A Novel Machine Learning Approach for Ambiguity Detection in Software Requirements</title><source>IEEE Open Access Journals</source><source>DOAJ Directory of Open Access Journals</source><source>Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals</source><creator>Izhar, Rahat ; Bhatti, Shahid N. ; Alharthi, Sultan A.</creator><creatorcontrib>Izhar, Rahat ; Bhatti, Shahid N. ; Alharthi, Sultan A.</creatorcontrib><description>Ambiguity in software requirements is a significant challenge as it often leads to misunderstandings, implementation errors, and costly project delays. This research proposes a hybrid framework that combines rule-based techniques with machine learning to identify ambiguity in software requirements with precision and efficiency. The framework begins with a rule-based model that systematically detects ambiguities using a carefully prepared list of ambiguous phrases. The analysis utilizes a dataset of 1,553 software requirements drawn from diverse project domains. To capture more intricate ambiguities that traditional rule-based systems might miss, the framework integrates TF-IDF vectorization and a Random Forest classifier, enhancing the precision and coverage of classification. In addition, clustering analysis identifies patterns to provide deeper insights into ambiguous requirements, while sentiment analysis explores the relationship between ambiguity and the emotional tone of requirements. Together, these analyses offer a broader understanding of ambiguity trends and stakeholder perceptions. The framework's performance is validated using standard evaluation metrics, achieving an accuracy of 97%, precision of 97%, recall of 89%, and an F1-score of 92%, significantly surpassing traditional rule-based methodologies. This research advances automatic ambiguity detection by delivering a flexible and interpretable solution. The proposed approach enhances the clarity and quality of software requirements, strengthening requirements engineering practices and supporting more effective software development.</description><identifier>ISSN: 2169-3536</identifier><identifier>EISSN: 2169-3536</identifier><identifier>DOI: 10.1109/ACCESS.2025.3529943</identifier><identifier>CODEN: IAECCG</identifier><language>eng</language><publisher>Piscataway: IEEE</publisher><subject>Accuracy ; Ambiguity ; artificial intelligence (AI) ; Cluster analysis ; Clustering ; Complexity theory ; Machine learning ; machine learning (ML) ; natural language processing (NLP) ; Pragmatics ; requirements ambiguity ; Requirements engineering ; Scalability ; Sentiment analysis ; Software ; Software development ; Software engineering ; Software requirements engineering ; Stakeholders ; Support vector machines</subject><ispartof>IEEE access, 2025, Vol.13, p.12014-12031</ispartof><rights>Copyright The Institute of Electrical and Electronics Engineers, Inc. (IEEE) 2025</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-LOGICAL-c1591-b0f57ffa6fc2017618974be1a0ce92fe84df725bcc75cb669c333ad4799a7e6f3</cites><orcidid>0000-0001-9573-4012 ; 0000-0003-4918-7390 ; 0009-0001-6079-4258</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/10843220$$EHTML$$P50$$Gieee$$Hfree_for_read</linktohtml><link.rule.ids>314,776,780,860,2096,4010,27610,27900,27901,27902,54908</link.rule.ids></links><search><creatorcontrib>Izhar, Rahat</creatorcontrib><creatorcontrib>Bhatti, Shahid N.</creatorcontrib><creatorcontrib>Alharthi, Sultan A.</creatorcontrib><title>Bridging Precision and Complexity: A Novel Machine Learning Approach for Ambiguity Detection in Software Requirements</title><title>IEEE access</title><addtitle>Access</addtitle><description>Ambiguity in software requirements is a significant challenge as it often leads to misunderstandings, implementation errors, and costly project delays. This research proposes a hybrid framework that combines rule-based techniques with machine learning to identify ambiguity in software requirements with precision and efficiency. The framework begins with a rule-based model that systematically detects ambiguities using a carefully prepared list of ambiguous phrases. The analysis utilizes a dataset of 1,553 software requirements drawn from diverse project domains. To capture more intricate ambiguities that traditional rule-based systems might miss, the framework integrates TF-IDF vectorization and a Random Forest classifier, enhancing the precision and coverage of classification. In addition, clustering analysis identifies patterns to provide deeper insights into ambiguous requirements, while sentiment analysis explores the relationship between ambiguity and the emotional tone of requirements. Together, these analyses offer a broader understanding of ambiguity trends and stakeholder perceptions. The framework's performance is validated using standard evaluation metrics, achieving an accuracy of 97%, precision of 97%, recall of 89%, and an F1-score of 92%, significantly surpassing traditional rule-based methodologies. This research advances automatic ambiguity detection by delivering a flexible and interpretable solution. The proposed approach enhances the clarity and quality of software requirements, strengthening requirements engineering practices and supporting more effective software development.</description><subject>Accuracy</subject><subject>Ambiguity</subject><subject>artificial intelligence (AI)</subject><subject>Cluster analysis</subject><subject>Clustering</subject><subject>Complexity theory</subject><subject>Machine learning</subject><subject>machine learning (ML)</subject><subject>natural language processing (NLP)</subject><subject>Pragmatics</subject><subject>requirements ambiguity</subject><subject>Requirements engineering</subject><subject>Scalability</subject><subject>Sentiment analysis</subject><subject>Software</subject><subject>Software development</subject><subject>Software engineering</subject><subject>Software requirements engineering</subject><subject>Stakeholders</subject><subject>Support vector machines</subject><issn>2169-3536</issn><issn>2169-3536</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2025</creationdate><recordtype>article</recordtype><sourceid>ESBDL</sourceid><sourceid>RIE</sourceid><sourceid>DOA</sourceid><recordid>eNpNkV1PwyAYhRujiUb9BXpB4vUmH6UU72r9TOZHnF4TSl8my1YmbdX9e5k1ZtxATt7nAOckyQnBY0KwPC_K8no6HVNM-ZhxKmXKdpIDSjI5Ypxlu1vn_eS4bec4rjxKXBwk_WVw9cw1M_QcwLjW-QbppkalX64W8O269QUq0KP_hAV60ObdNYAmoEOzQYrVKvgoIusDKpaVm_URQFfQgek2Tq5BU2-7Lx0AvcBH7wIsoenao2TP6kULx3_7YfJ2c_1a3o0mT7f3ZTEZGcIlGVXYcmGtzqyhmIiM5FKkFRCNDUhqIU9rKyivjBHcVFkmDWNM16mQUgvILDtM7gff2uu5WgW31GGtvHbqV_BhpnTonFmAEhUYEvMU0vCUAdVUGxrjNFVt65hX9DobvOKfP3poOzX3fWji8xUjPKeE0IzEKTZMmeDbNoD9v5VgtalLDXWpTV3qr65InQ6UA4AtIk8ZpZj9AGswkgI</recordid><startdate>2025</startdate><enddate>2025</enddate><creator>Izhar, Rahat</creator><creator>Bhatti, Shahid N.</creator><creator>Alharthi, Sultan A.</creator><general>IEEE</general><general>The Institute of Electrical and Electronics Engineers, Inc. (IEEE)</general><scope>97E</scope><scope>ESBDL</scope><scope>RIA</scope><scope>RIE</scope><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>7SP</scope><scope>7SR</scope><scope>8BQ</scope><scope>8FD</scope><scope>JG9</scope><scope>JQ2</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><scope>DOA</scope><orcidid>https://orcid.org/0000-0001-9573-4012</orcidid><orcidid>https://orcid.org/0000-0003-4918-7390</orcidid><orcidid>https://orcid.org/0009-0001-6079-4258</orcidid></search><sort><creationdate>2025</creationdate><title>Bridging Precision and Complexity: A Novel Machine Learning Approach for Ambiguity Detection in Software Requirements</title><author>Izhar, Rahat ; Bhatti, Shahid N. ; Alharthi, Sultan A.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c1591-b0f57ffa6fc2017618974be1a0ce92fe84df725bcc75cb669c333ad4799a7e6f3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2025</creationdate><topic>Accuracy</topic><topic>Ambiguity</topic><topic>artificial intelligence (AI)</topic><topic>Cluster analysis</topic><topic>Clustering</topic><topic>Complexity theory</topic><topic>Machine learning</topic><topic>machine learning (ML)</topic><topic>natural language processing (NLP)</topic><topic>Pragmatics</topic><topic>requirements ambiguity</topic><topic>Requirements engineering</topic><topic>Scalability</topic><topic>Sentiment analysis</topic><topic>Software</topic><topic>Software development</topic><topic>Software engineering</topic><topic>Software requirements engineering</topic><topic>Stakeholders</topic><topic>Support vector machines</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Izhar, Rahat</creatorcontrib><creatorcontrib>Bhatti, Shahid N.</creatorcontrib><creatorcontrib>Alharthi, Sultan A.</creatorcontrib><collection>IEEE All-Society Periodicals Package (ASPP) 2005-present</collection><collection>IEEE Open Access Journals</collection><collection>IEEE All-Society Periodicals Package (ASPP) 1998-Present</collection><collection>IEEE Electronic Library (IEL)</collection><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Electronics & Communications Abstracts</collection><collection>Engineered Materials Abstracts</collection><collection>METADEX</collection><collection>Technology Research Database</collection><collection>Materials Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><collection>DOAJ Directory of Open Access Journals</collection><jtitle>IEEE access</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Izhar, Rahat</au><au>Bhatti, Shahid N.</au><au>Alharthi, Sultan A.</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Bridging Precision and Complexity: A Novel Machine Learning Approach for Ambiguity Detection in Software Requirements</atitle><jtitle>IEEE access</jtitle><stitle>Access</stitle><date>2025</date><risdate>2025</risdate><volume>13</volume><spage>12014</spage><epage>12031</epage><pages>12014-12031</pages><issn>2169-3536</issn><eissn>2169-3536</eissn><coden>IAECCG</coden><abstract>Ambiguity in software requirements is a significant challenge as it often leads to misunderstandings, implementation errors, and costly project delays. This research proposes a hybrid framework that combines rule-based techniques with machine learning to identify ambiguity in software requirements with precision and efficiency. The framework begins with a rule-based model that systematically detects ambiguities using a carefully prepared list of ambiguous phrases. The analysis utilizes a dataset of 1,553 software requirements drawn from diverse project domains. To capture more intricate ambiguities that traditional rule-based systems might miss, the framework integrates TF-IDF vectorization and a Random Forest classifier, enhancing the precision and coverage of classification. In addition, clustering analysis identifies patterns to provide deeper insights into ambiguous requirements, while sentiment analysis explores the relationship between ambiguity and the emotional tone of requirements. Together, these analyses offer a broader understanding of ambiguity trends and stakeholder perceptions. The framework's performance is validated using standard evaluation metrics, achieving an accuracy of 97%, precision of 97%, recall of 89%, and an F1-score of 92%, significantly surpassing traditional rule-based methodologies. This research advances automatic ambiguity detection by delivering a flexible and interpretable solution. The proposed approach enhances the clarity and quality of software requirements, strengthening requirements engineering practices and supporting more effective software development.</abstract><cop>Piscataway</cop><pub>IEEE</pub><doi>10.1109/ACCESS.2025.3529943</doi><tpages>18</tpages><orcidid>https://orcid.org/0000-0001-9573-4012</orcidid><orcidid>https://orcid.org/0000-0003-4918-7390</orcidid><orcidid>https://orcid.org/0009-0001-6079-4258</orcidid><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | ISSN: 2169-3536 |
ispartof | IEEE access, 2025, Vol.13, p.12014-12031 |
issn | 2169-3536 2169-3536 |
language | eng |
recordid | cdi_ieee_primary_10843220 |
source | IEEE Open Access Journals; DOAJ Directory of Open Access Journals; Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals |
subjects | Accuracy Ambiguity artificial intelligence (AI) Cluster analysis Clustering Complexity theory Machine learning machine learning (ML) natural language processing (NLP) Pragmatics requirements ambiguity Requirements engineering Scalability Sentiment analysis Software Software development Software engineering Software requirements engineering Stakeholders Support vector machines |
title | Bridging Precision and Complexity: A Novel Machine Learning Approach for Ambiguity Detection in Software Requirements |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-09T23%3A57%3A57IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_ieee_&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Bridging%20Precision%20and%20Complexity:%20A%20Novel%20Machine%20Learning%20Approach%20for%20Ambiguity%20Detection%20in%20Software%20Requirements&rft.jtitle=IEEE%20access&rft.au=Izhar,%20Rahat&rft.date=2025&rft.volume=13&rft.spage=12014&rft.epage=12031&rft.pages=12014-12031&rft.issn=2169-3536&rft.eissn=2169-3536&rft.coden=IAECCG&rft_id=info:doi/10.1109/ACCESS.2025.3529943&rft_dat=%3Cproquest_ieee_%3E3158211261%3C/proquest_ieee_%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=3158211261&rft_id=info:pmid/&rft_ieee_id=10843220&rft_doaj_id=oai_doaj_org_article_7bec111079c543e2a2ac2352cbdfd008&rfr_iscdi=true |