paper-with-me

홈 › Papers

On Interpreting the Effectiveness of Unsupervised Software Traceability with Information Theory

2024-12-06 · David N. Palacio, Daniel Rodriguez-Cardenas, Denys Poshyvanyk, Kevin Moran

Traceability is a cornerstone of modern software development, ensuring system reliability and facilitating software maintenance. While unsupervised techniques leveraging Information Retrieval (IR) and Machine Learning (ML) methods have been widely used for predicting trace links, their effectiveness remains underexplored. In particular, these techniques often assume traceability patterns are present within textual data - a premise that may not hold universally. Moreover, standard evaluation metrics such as precision, recall, accuracy, or F1 measure can misrepresent the model performance when underlying data distributions are not properly analyzed. Given that automated traceability techniques tend to struggle to establish links, we need further insight into the information limits related to traceability artifacts. In this paper, we propose an approach, TraceXplainer, for using information theory metrics to evaluate and better understand the performance (limits) of unsupervised traceability techniques. Specifically, we introduce self-information, cross-entropy, and mutual information (MI) as metrics to measure the informativeness and reliability of traceability links. Through a comprehensive replication and analysis of well-studied datasets and techniques, we investigate the effectiveness of unsupervised techniques that predict traceability links using IR/ML. This application of TraceXplainer illustrates an imbalance in typical traceability datasets where the source code has on average 1.48 more information bits (i.e., entropy) than the linked documentation. Additionally, we demonstrate that an average MI of 4.81 bits, loss of 1.75, and noise of 0.28 bits signify that there are information-theoretic limits on the effectiveness of unsupervised traceability techniques. We hope these findings spur additional research on understanding the limits and progress of traceability research.

📄 PDF Abstract BibTeX arXiv:2412.04704

Code (0)

등록된 구현이 없습니다.

Tasks

Information RetrievalInformativeness

Similar Papers 제목 키워드 기반

Improving the Effectiveness of Traceability Link Recovery using Hierarchical Bayesian Networks

2020-05-18 · Kevin Moran, David N. Palacio, Carlos Bernal-Cárdenas, Daniel McCrystal 외

Traceability is a fundamental component of the modern software development process that helps to ensure properly functioning, secure programs. Due to the high cost of manually establishing trace links, researchers have d…

Trust-Aware Multi-Agent Traceability: Confidence-Calibrated Knowledge Graphs for Consistent Software Artifact Management

2026-06-15 · Mohamed Essam, Kareem Wael, Azza Hassan, Ahmed Haitham 외 arxiv

Multi-agent AI systems are increasingly used to automate software engineering tasks including requirements analysis, architecture design, test generation, and traceability linking. When these agents operate as a sequenti…

Knowledge GraphsLink Prediction

Formalising Software Requirements using Large Language Models

2025-06-12 · Arshad Beg, Diarmuid O'Donoghue, Rosemary Monahan

This paper is a brief introduction to our recently initiated project named VERIFAI: Traceability and verification of natural language requirements. The project addresses the challenges in the traceability and verificatio…

SpecMap: Hierarchical LLM Agent for Datasheet-to-Code Traceability Link Recovery in Systems Engineering

2026-01-16 · Vedant Nipane, Pulkit Agrawal, Amit Singh arxiv

Establishing precise traceability between embedded systems datasheets and their corresponding code implementations remains a fundamental challenge in systems engineering, particularly for low-level software where manual …

Information Retrieval

Natural Language-Programming Language Software Traceability Link Recovery Needs More than Textual Similarity

2025-09-06 · Zhiyuan Zou, Bangchao Wang, Peng Liang, Tingting Bi 외 arxiv

In the field of software traceability link recovery (TLR), textual similarity has long been regarded as the core criterion. However, in tasks involving natural language and programming language (NL-PL) artifacts, relying…