[Paper Review] Science-Software Linkage: The Challenges of Traceability between Scientific Knowledge and Software Artifacts
This paper investigates the challenges of traceability between scientific research papers and their associated software artifacts, identifying gaps in link creation, identification, and maintenance. Through empirical studies on GitHub repositories and code comments, it reveals that while links exist, they are often ad-hoc, lack granularity, and suffer from link rot, highlighting the need for standardized, bidirectional, and persistent linking mechanisms to improve reproducibility and knowledge transfer in science and software engineering.
Although computer science papers are often accompanied by software artifacts, connecting research papers to their software artifacts and vice versa is not always trivial. First of all, there is a lack of well-accepted standards for how such links should be provided. Furthermore, the provided links, if any, often become outdated: they are affected by link rot when pre-prints are removed, when repositories are migrated, or when papers and repositories evolve independently. In this paper, we summarize the state of the practice of linking research papers and associated source code, highlighting the recent efforts towards creating and maintaining such links. We also report on the results of several empirical studies focusing on the relationship between scientific papers and associated software artifacts, and we outline challenges related to traceability and opportunities for overcoming these challenges.
Motivation & Objective
- To investigate the current state of traceability between scientific research papers and their associated software artifacts.
- To identify challenges in creating, identifying, and maintaining links between scientific knowledge and software code.
- To assess the impact of link decay (link rot) on scientific software traceability and reproducibility.
- To explore the role of automated tools and metadata management in improving link identification and persistence.
- To propose a framework for standardized, bidirectional, and persistent linking between research papers and software artifacts to enhance transparency and knowledge transfer.
Proposed method
- Conducted an empirical analysis of 377 GitHub repositories that reference academic papers in their README files.
- Used pattern matching and manual coding to classify software domains and assess the relevance of cited papers.
- Applied named entity recognition (NER) to identify academic paper references in 11,274 code comments across repositories.
- Analyzed citation patterns and code reuse to detect discrepancies between academic citations and software implementation references.
- Evaluated the impact of asynchronous updates on paper and software versions by examining versioning and change logs in repositories.
- Proposed the need for automated traceability tools and metadata comparison techniques to support link maintenance and identification.
Experimental results
Research questions
- RQ1How are scientific papers currently linked to software artifacts in practice, and what are the dominant patterns of linkage?
- RQ2To what extent do code comments and software documentation reference academic papers, and how does this compare to citation patterns in the literature?
- RQ3What are the main challenges in maintaining traceability links between evolving scientific papers and software repositories?
- RQ4How do link decay (link rot) and versioning mismatches affect the reliability of science-software traceability?
- RQ5What mechanisms can improve the precision, bidirectionality, and persistence of links between scientific knowledge and software artifacts?
Key findings
- Of 339 GitHub repositories referencing academic papers in their READMEs, 92% had publicly accessible papers, with deep learning being the most common domain.
- The Mersenne Twister algorithm was cited in code comments more frequently than its predecessor, Twisted GFSR, indicating a shift toward more recent and standardized implementations.
- Despite high citation counts in academic literature, some influential papers were not referenced in code comments, suggesting a gap in knowledge transfer to software development.
- Link creation is predominantly ad-hoc, with most links placed in READMEs or code comments, lacking fine-grained, bi-directional traceability to specific code components.
- Link maintenance is a major challenge, as updates to papers or software often go unreflected in trace links, leading to link rot and broken references.
- Automated tools like Papers with Code and CatalyzeX have improved access to linked software, but they do not resolve underlying issues in link persistence and precision.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.