mlsanityData to 14 Oct 2026

An Empirical Study on Data Leakage and Generalizability of Link Prediction Models for Issues and Commits

arXiv 2211.00381 ↗First posted 1 Nov 2022cs.SE cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

To enhance documentation and maintenance practices, developers conventionally establish links between related software artifacts manually. Empirical research has revealed that developers frequently overlook this practice, resulting in significant information loss. To address this issue, automatic link recovery techniques have been proposed. However, these approaches primarily focused on improving prediction accuracy on randomly-split datasets, with limited attention given to the impact of data leakage and the generalizability of the predictive models. LinkFormer seeks to address these limitations. Our approach not only preserves and improves the accuracy of existing predictions but also enhances their alignment with real-world settings and their generalizability. First, to better utilize contextual information for prediction, we employ the Transformer architecture and fine-tune multiple pre-trained models on both textual and metadata information of issues and commits. Next, to gauge the effect of time on model performance, we employ two splitting policies during both the training and testing phases; randomly- and temporally-split datasets. Finally, in pursuit of a generic model that can demonstrate high performance across a range of projects, we undertake additional fine-tuning of LinkFormer within two distinct transfer-learning settings. Our findings support that to simulate real-world scenarios effectively, researchers must maintain the temporal flow of data when training models. Furthermore, the results demonstrate that LinkFormer outperforms existing methodologies by a significant margin, achieving a 48% improvement in F1-measure within a project-based setting. Finally, the performance of LinkFormer in the cross-project setting is comparable to its average performance within the project-based scenario.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 16 of its 40 references that are in the map. First posted on arXiv 1 Nov 2022.

Builds on

16 of 40 references.

References · 16

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  5. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  6. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  7. 2020Transformer Hawkes Processcited by 235
  8. 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 50
  9. 2020Topic Recommendation for Software Repositories using Multi-label Classification Algorithmscited by 20
  10. 2021Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Modelscited by 20
  11. 2020Predicting the Objective and Priority of Issue Reports in Software Repositoriescited by 11
  12. 2020Industry-scale IR-based Bug Localization: A Perspective from Facebookcited by 5
4 more
  1. 2022On the Evaluation of NLP-based Models for Software Engineeringcited by 5
  2. 2018Traceability in the Wild: Automatically Augmenting Incomplete Trace Linkscited by 4
  3. 2021Automated Recovery of Issue-Commit Links Leveraging Both Textual and Non-textual Datacited by 4
  4. 2021Escaping the Time Pit: Pitfalls and Guidelines for Using Time-Based Git Datacited by 1

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.