Skip to main navigation Skip to search Skip to main content

Enhancing Traceability Link Recovery with Unlabeled Data

  • Jianfei Zhu
  • , Guanping Xiao*
  • , Zheng Zheng
  • , Yulei Sui
  • *Corresponding author for this work
  • Nanjing University of Aeronautics and Astronautics
  • Nanjing University
  • University of Technology Sydney

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Traceability link recovery (TLR) is an important software engineering task for developing trustworthy and reliable software systems. Recently proposed deep learning (DL) models have shown their effectiveness compared to traditional information retrieval-based methods. DL often heavily relies on sufficient labeled data to train the model. However, manually labeling traceability links is time-consuming, labor-intensive, and requires specific knowledge from domain experts. As a result, typically only a small portion of labeled data is accompanied by a large amount of unlabeled data in real-world projects. Our hypothesis is that artifacts are semantically similar if they have the same linked artifact(s). This paper presents TRACEFUN, a new approach to enhance traceability link recovery with unlabeled data. TRACEFUN first measures the similarities between unlabeled and labeled artifacts using two similarity prediction methods (i.e., vector space model and contrastive learning). Then, based on the similarities, newly labeled links are generated between the unlabeled artifacts and the linked objects of the labeled artifacts. Generated links are further used for TLR model training. We have evaluated TRACEFUN on three GitHub projects with two state-of-the-art DL models (i.e., Trace BERT and TraceNN). The results show that TRACEFUN is effective in terms of a maximum improvement of F1-score up to 21% and 1,088%, respectively for Trace BERT and TraceNN.

Original languageEnglish
Title of host publicationProceedings - 2022 IEEE 33rd International Symposium on Software Reliability Engineering, ISSRE 2022
PublisherIEEE Computer Society
Pages446-457
Number of pages12
ISBN (Electronic)9781665451321
DOIs
StatePublished - 2022
Event33rd IEEE International Symposium on Software Reliability Engineering, ISSRE 2022 - Charlotte, United States
Duration: 31 Oct 20213 Nov 2021

Publication series

NameProceedings - International Symposium on Software Reliability Engineering, ISSRE
Volume2022-October
ISSN (Print)1071-9458

Conference

Conference33rd IEEE International Symposium on Software Reliability Engineering, ISSRE 2022
Country/TerritoryUnited States
CityCharlotte
Period31/10/213/11/21

Keywords

  • contrastive learning
  • traceability link recovery
  • unlabeled data
  • vector space model

Fingerprint

Dive into the research topics of 'Enhancing Traceability Link Recovery with Unlabeled Data'. Together they form a unique fingerprint.

Cite this