Siamese Neural Networks Method for Semantic Requirements Similarity Detection

被引:0
|
作者
Alnajem, Nojoom A. [1 ]
Binkhonain, Manal [1 ]
Hossain, M. Shamim [1 ]
机构
[1] King Saud Univ, Coll Comp & Informat Sci, Dept Software Engn, Riyadh, Saudi Arabia
来源
IEEE ACCESS | 2024年 / 12卷
关键词
Semantics; Transformers; Accuracy; Vectors; Software; Long short term memory; Requirements engineering; Computer architecture; Natural language processing; XML; Artificial intelligence; Neural networks; Artificial intelligence for requirements engineering; large language models; long short-term memory networks; requirements; requirements engineering; requirements similarity; semantic requirements similarity; Siamese neural networks; similarity; transformer models;
D O I
10.1109/ACCESS.2024.3469636
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Detecting semantic similarity between textual requirements is a crucial task for various natural language processing (NLP)-based requirements engineering (RE) applications. It is also challenging due to the nature of these requirements, which are written in natural language (NL), include domain knowledge, and often follow pre-defined templates that contain duplicated words. Recently, deep neural networks (DNNs) have shown promising results in measuring semantic similarity between texts. Siamese neural networks (SNNs), a class of DNNs, are widely used for measuring similarity between various data types, demonstrating their capability and independence of language and domain. Nevertheless, SNNs have a limited use in measuring semantic requirements similarity (SRS). In this paper, a novel metric-based learning method is proposed using SNNs that combines a sentence Transformer model (LLM) and long short-term memory (LSTM) networks with a backward network layer to measure semantic similarity between pairs of requirements. The proposed method is evaluated on an annotated SRS dataset that was built based on public datasets (i.e., PROMISE and PURE) and compared with other state-of-the-art methods (i.e., fine-tuning and zero-shot methods) using accuracy, precision, recall, and F1-score classification metrics. The results show that the proposed method achieved an accuracy of 95.42% and an F1-score of 95.71%, outperforming the state-of-the-art methods.
引用
收藏
页码:140932 / 140947
页数:16
相关论文
共 50 条
  • [21] Unsupervised Mobile User Behavior Detection Based on Siamese Neural Networks
    Liu, Yao
    Liu, Lu
    Liu, Qiao
    Lan, Tian
    Bai, Xiaoyu
    Zhou, Le
    2023 IEEE INTERNATIONAL CONFERENCES ON INTERNET OF THINGS, ITHINGS IEEE GREEN COMPUTING AND COMMUNICATIONS, GREENCOM IEEE CYBER, PHYSICAL AND SOCIAL COMPUTING, CPSCOM IEEE SMART DATA, SMARTDATA AND IEEE CONGRESS ON CYBERMATICS,CYBERMATICS, 2024, : 518 - 523
  • [22] Vision based human fall detection with Siamese convolutional neural networks
    Berlin, S. Jeba
    John, Mala
    JOURNAL OF AMBIENT INTELLIGENCE AND HUMANIZED COMPUTING, 2021, 13 (12) : 5751 - 5762
  • [23] Local Semantic Siamese Networks for Fast Tracking
    Liang, Zhiyuan
    Shen, Jianbing
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2020, 29 : 3351 - 3364
  • [24] Code Similarity Detection Based on Siamese Network
    Wu, Yi
    Wang, Wei
    2021 IEEE INTERNATIONAL CONFERENCE ON INFORMATION COMMUNICATION AND SOFTWARE ENGINEERING (ICICSE 2021), 2021, : 47 - 51
  • [25] Learning English and Arabic question similarity with Siamese Neural Networks in community question answering services
    Othman, Nouha
    Faiz, Rim
    Smaili, Kamel
    DATA & KNOWLEDGE ENGINEERING, 2022, 138
  • [26] Building siamese attention-augmented recurrent convolutional neural networks for document similarity scoring
    Han, Sifei
    Shi, Lingyun
    Richie, Russell
    Tsui, Fuchiang R. Rich
    INFORMATION SCIENCES, 2022, 615 : 90 - 102
  • [27] Detection of medical text semantic similarity based on convolutional neural network
    Zheng, Tao
    Gao, Yimei
    Wang, Fei
    Fan, Chenhao
    Fu, Xingzhi
    Li, Mei
    Zhang, Ya
    Zhang, Shaodian
    Ma, Handong
    BMC MEDICAL INFORMATICS AND DECISION MAKING, 2019, 19 (01)
  • [28] A Source Code Similarity Based on Siamese Neural Network
    Xie, Chunli
    Wang, Xia
    Qian, Cheng
    Wang, Mengqi
    APPLIED SCIENCES-BASEL, 2020, 10 (21): : 1 - 12
  • [29] Detection of medical text semantic similarity based on convolutional neural network
    Tao Zheng
    Yimei Gao
    Fei Wang
    Chenhao Fan
    Xingzhi Fu
    Mei Li
    Ya Zhang
    Shaodian Zhang
    Handong Ma
    BMC Medical Informatics and Decision Making, 19
  • [30] Bridge scour detection method based on Siamese neural networks under bridge-vehicle-wave interaction
    Huang, Zhou
    Yin, Xinfeng
    Liu, Yang
    Tang, Shenghua
    OCEAN ENGINEERING, 2023, 290