Lost in Transmission: An Information-Theoretic Account of Unsupervised Software Traceability
Not on the map. Why?
Abstract (arXiv)
Traceability remains a critical capability to ensure system reliability, maintainability, and compliance in modern software development. Although unsupervised Information Retrieval (IR) and Machine Learning (ML) techniques are widely adopted for automated trace link recovery, their effectiveness is often limited by the quality and structure of the underlying artifacts. In practice, these approaches assume that meaningful traceability signals are embedded in textual data, an assumption that rarely holds in industrial settings with sparse, inconsistent, or unbalanced documentation. Furthermore, conventional evaluation metrics (e.g., precision, recall, F1) can misrepresent performance when data characteristics are not explicitly considered. We introduce TraceXplainer, an information-theoretic framework for evaluating the reliability and limits of unsupervised traceability. Our approach leverages self-information and mutual information (MI) to quantify the informativeness and alignment of source and target artifacts. Through a comprehensive empirical analysis of industry datasets, we show that typical traceability corpora exhibit significant information imbalances, where the source code contains on average more information than the corresponding documentation. In addition, the observed levels of mutual information, loss, and noise reveal inherent constraints on the ability of unsupervised techniques to recover accurate trace links. These findings suggest that improving traceability in practice requires a shift to data-centric engineering, focusing on artifact quality, consistency, and information alignment; rather than solely advancing model sophistication (or complexity). Our results provide insights for practitioners to better assess traceability readiness and guide improvements in documentation and development workflows.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 44 references that are in the map. First posted on arXiv 6 Dec 2024.
Builds on
15 of 44 references.
References · 15
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
- 2020Big Code != Big Vocabulary: Open-Vocabulary Models for Source Codecited by 54
- 2018Semantically Enhanced Software Traceability Using Deep Learning Techniquescited by 22
- 2021Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Modelscited by 20
- 2023EALink: An Efficient and Accurate Pre-trained Framework for Issue-Commit Link Recoverycited by 9
- 2020Improving the Effectiveness of Traceability Link Recovery using Hierarchical Bayesian Networkscited by 5
- 2019Learning to Identify Security-Related Issues Using Convolutional Neural Networkscited by 4
Built on by
Not cited yet.