IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i3p623-d1047372.html
   My bibliography  Save this article

A Cross-Level Requirement Trace Link Update Model Based on Bidirectional Encoder Representations from Transformers

Author

Listed:
  • Jiahao Tian

    (School of Computer Science and Engineering, Beihang University, Beijing 100191, China
    State Key Laboratory of Software Development Environment, Beihang University, Beijing 100191, China)

  • Li Zhang

    (School of Computer Science and Engineering, Beihang University, Beijing 100191, China
    State Key Laboratory of Software Development Environment, Beihang University, Beijing 100191, China)

  • Xiaoli Lian

    (School of Computer Science and Engineering, Beihang University, Beijing 100191, China
    State Key Laboratory of Software Development Environment, Beihang University, Beijing 100191, China)

Abstract

Cross-level requirement trace links (i.e., links between high-level requirements (HLRs) and low-level requirements (LLRs)) record the top-down decomposition process of requirements and support various development and management activities (e.g., requirement validation). Undoubtedly, updating trace links synchronously with requirement changes is critical for their constant availability. However, large-scale open-source software that is rapidly iterative and continually released has numerous requirements that are dynamic. These requirements render timely update of trace links challenging. To address these problems, in this study, a novel deep-learning-based method, deep requirement trace analyzer fusing heterogeneous features (DRAFT), was proposed for updating trace links between various levels of requirements. Considering both the semantic information of requirement text descriptions and the process features based on metadata, trace link data accumulated in the early stage are comprehensively used to train the trace link identification model. Particularly, first, we performed second-phase pre-training for the bidirectional encoder representations from transformers (BERT) language model based on the project document corpus to realize project-related knowledge transfer, which yields superior text embedding. Second, we designed 11 heuristic features based on the requirement metadata in the open-source system. Based on these features and semantic similarity between HLRs and LLRs, we designed a cross-level requirement tracing model for new requirements. The superiority of DRAFT was verified based on the requirement datasets of eight open-source projects. The average F1 and F2 scores of DRAFT were 69.3% and 76.9%, respectively, which were 16.5% and 22.3% higher than baselines. An ablation experiment proved the positive role of two key steps in trace link construction.

Suggested Citation

  • Jiahao Tian & Li Zhang & Xiaoli Lian, 2023. "A Cross-Level Requirement Trace Link Update Model Based on Bidirectional Encoder Representations from Transformers," Mathematics, MDPI, vol. 11(3), pages 1-24, January.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:3:p:623-:d:1047372
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/3/623/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/3/623/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:3:p:623-:d:1047372. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.