Elamur Research

Reproducibility in Computational Linguistics: Is Source Code Enough?

Paper · 2022 · Mohammad Arvan, Luís Pina and Natalie Parde

Summary

A paper can tell readers where to find its source code and still leave them unable to check a reported result. They may need a file that has disappeared, a tool that no longer installs, or instructions that connect the available scripts to a particular table. Arvan, Pina, and Parde investigate how often papers at major computational linguistics conferences make code available and what happens when another team tries to use it. Their study follows the route from finding a repository to obtaining a measurement that can be compared with the original. Natural language processing

The conference survey covers ACL, EMNLP, LREC, NAACL, and COLING. Code became more common among published papers over the period studied. ACL, EMNLP, and NAACL appeared to have the highest shares of papers with code, and all three highlighted reproducibility during submission. That association is consistent with a benefit from venue guidelines. The survey compares observed publication patterns, so it leaves the size of any effect attributable to the guidelines open.

The hands-on study began with eight randomly selected EMNLP 2021 papers that already had linked code. The authors obtained comparable measurements for two, a 25% success rate under their working conditions. A ReasonBERT release made it possible to run small SQuAD experiments quickly, although agreement with the published F1 scores varied across the systems tested. In the other completed case, a shortened training run produced E-SNLI accuracy of 87.72, compared with the published 90.52. The remaining attempts stopped at different points, from identifying the right script to running the evaluator after training had already succeeded.

The authors propose that papers include quick experiments, provide a documented way to regenerate each result, and preserve the files and software needed to execute those procedures. They also ask conferences to have artifacts tested around the time of publication, when failures can still be addressed. The authors released Docker environments for their own case studies, preserving successful runs and the failures they encountered. Their practical benchmark for a release is whether a reader can follow it through to a result and determine how closely that result agrees with the published one.

Deep dive: Reproducibility in Computational Linguistics: Is Source Code Enough?

A survey of NLP conferences and hands-on attempts to rerun published experiments show what researchers need beyond a source code release. · about 30 minutes to read

The problem and its context

From a published result to a usable starting point

An empirical paper reports the outcome of a particular procedure. Readers who want to build on it may need to carry out that procedure again, either to check the result or to establish a starting point for their own comparison. The article may describe the main idea and the data while leaving some operational choices to the implementation. Source code can preserve those choices. It can also leave a reader with the separate job of working out which parts of the implementation were used, which inputs were supplied, and what software made the run possible.

The authors describe a field in which progress makes that job increasingly consequential. Researchers routinely build on earlier work, and experiments can be sensitive to changes in architecture or the computing environment. Training and evaluation can also require substantial resources. Even a reader who understands the method can face a long delay before learning whether the original result is within reach. When a run is expensive, finding out that a dependency is missing or an evaluation step fails can consume resources the reader had set aside for the research itself. Machine learning

The paper distinguishes the scientific description of an experiment from the practical route to executing it. A repository might reveal how a particular operation is implemented while offering little guidance about which sequence of operations produced a reported score. A dependency list can identify the intended software while leaving readers to locate a required file or arrange a compatible environment. An evaluation script may be present even when the evaluator it calls is unavailable. The study asks how often a visible sign of openness, a code link, leads to the evidence a reader actually needs.

What earlier studies counted as reproduction

The paper places its work alongside earlier studies that used different standards for success. Raff examined 255 papers published from 1984 to 2017 and reported a 63% reproducibility ratio. The margin for acceptable error depended on whether the claim under examination was algorithmic or empirical. In the account given by Arvan and colleagues, that design addresses a question beyond merely getting software to execute. A reproduction must yield evidence close enough to support the kind of claim the original study made.

Wieling and colleagues surveyed 395 papers from ACL 2011 and ACL 2016 for links to code and data. They then attempted to use the materials associated with ten papers and obtained results close to the original ones for six. This earlier study already distinguished looking for research materials from trying to work with them. The two tasks answer different questions. A reader may see that an author has shared something before it becomes clear whether the shared material covers the path to a particular result.

In a study of text mining for citation screening, Olorisade and colleagues examined claims from six studies. Arvan and colleagues report that Olorisade and colleagues identified missing information as a widespread problem and presented a checklist as a way to address it. They also cite Gundersen and Kjensmo on information gaps. In this line of work, the problem is partly one of reporting. A reader can follow an experiment only as far as the paper and its associated materials specify the choices that matter.

There is a further difference between repeating an execution and conducting an independent check of a finding. In the terminology Arvan and colleagues describe from Rougier and colleagues, reproduction uses the same software and input data and seeks the same result. Replication uses new software, with an expert judging whether the outcome is sufficiently similar. The ACM framework also takes account of who performs the work and whether the experimental setup changes. The paper mentions robustness and generalisability as attempts to cover still other ways that an experiment or its conditions might vary.

These distinctions matter when comparing studies. A success rate based on independently implementing an algorithm answers a different question from a success rate based on launching the authors’ own code. A numerical tolerance for agreement gives a different outcome criterion from whether a run gets far enough to return a useful score. Even among teams using the original code, one may preserve the full training procedure while another changes it to fit the resources at hand. A meaningful description of reproducibility has to say what was held fixed, what changed, and what the comparison asked the second run to establish.

Arvan and colleagues draw on the approach of Belz and colleagues, which treats reproducibility as a question of measurement precision under specified conditions. The relevant conditions can include source code, data, dependencies, training choices, and the environment in which measurement takes place. That approach gives the authors a way to discuss agreement when a reproduction yields a score. It also makes the conditions of each measurement part of the result. A pair of close scores is most informative when readers know how each came about. Quantified Reproducibility Assessment of NLP Results

Checklists, challenges, and executable artifacts

The paper describes two ways the field had already tried to improve practice. Submission checklists prompt researchers to disclose code, dependencies, instructions, and other experimental details. Reproducibility challenges ask participants to take a published study and attempt the work themselves. The authors cite both the ML Reproducibility Challenge and ReproGen. A checklist can make an omission visible at submission, while a reproduction attempt can reveal a problem that becomes apparent only at execution. The ReproGen Shared Task

Some of the guidance the authors examine already reaches well beyond a request for a public repository. It asks for training and evaluation code, a description of the dependencies, and a README that tells readers how to use the release. These are distinct items. Instructions can name the intended script, while a dependency specification tells readers what that script needs. Either can be complete on paper even if some external resource vanishes. The authors therefore consider both whether materials were disclosed and whether they remained usable together.

In other areas of computer science, the paper describes conferences that have a committee evaluate artifacts, usually after the scientific paper has been accepted. An artifact in this sense can include the implementation, its inputs, build and execution scripts, recorded experimental output, and scripts that turn output into the paper’s tables or graphs. A container or virtual machine image can preserve the execution environment. Committee members run the package using the authors’ directions and assess whether it reproduces reported findings and can support further research. Badges on the published paper can record aspects of that assessment.

This example gives the paper an institutional comparison. Asking ordinary reviewers to assess reproducibility can add time and require expertise beyond their review of the scientific contribution. A separate evaluation makes execution an explicit responsibility, with a package and instructions to inspect. Arvan and colleagues use that practice to frame a question for computational linguistics. If venues already encourage researchers to disclose how work was done, what further evidence would establish that someone else can actually carry it out?

The method, step by step

The authors approach the question at two levels. They first use publication records to measure visible code availability across conferences. They then take a sample from a venue with substantial code availability and try to reproduce published results. The survey gives breadth across venues and years. The attempts reveal what the publication records cannot tell a reader about the contents, usability, or completeness of a release.

From conference records to attempted reproductions

The steps in order.

From conference records to attempted reproductionsStep 1: Collect conference records from the ACL Anthology1. Collect conference records from the ACL AnthologyStep 2: Track code links by venue and year2. Track code links by venue and yearStep 3: Sample EMNLP papers with linked code3. Sample EMNLP papers with linked codeStep 4: Inspect instructions and attempt the published procedures4. Inspect instructions and attempt the published proceduresStep 5: Diagnose blockers and contact authors when needed5. Diagnose blockers and contact authors when neededStep 6: Compare obtainable scores with published results6. Compare obtainable scores with published resultsStep 7: Preserve working runs and observed errors7. Preserve working runs and observed errors

Surveying the conference records

The authors gathered records from the ACL Anthology, starting with publications from 2016 and collecting through early summer 2022. They studied ACL, EMNLP, LREC, NAACL, and COLING. The trend figure notes that data for the year 2022 were unavailable when it was prepared. The endpoint of collection and the observations available for plotting therefore describe different aspects of the survey. A reader should interpret the curves using the figure’s coverage.

The availability measure starts from a link associated with a publication record. At the venue level, the authors track the number of published papers with code and the share of published papers with code. The first measure describes the volume of connected releases. The second puts that volume in the context of how many papers the venue published. A conference can contribute many repositories to the field because it publishes many papers. The share asks how common it is for a paper at that conference to have a code link.

The comparison uses a distinction in the venues’ submission processes as described by the paper. ACL, EMNLP, and NAACL highlighted reproducibility guidelines for authors. LREC and COLING had yet to give reproducibility the same formal emphasis. The authors expected code availability to be higher at the venues that explicitly raised the issue. They examined the trend lines for the expected pattern, while keeping the five venue histories visible. LREC and COLING were held on an alternating-year schedule in even years, so their publication and code counts have a different cadence from those of annual meetings.

For either measure, the observation is anchored to the publication record. Finding a link establishes that a reader has a route to a repository through that record. It does not take the reader through the experiment. The wide survey leaves questions such as which version of an external file is usable, whether the README identifies the right script, and whether a finished run can be scored to the case studies.

Selecting and attempting the papers

The case studies focus on EMNLP 2021. The authors report over 1300 accepted papers, with 723 carrying repository URLs for experimental code. They randomly selected eight papers with available code. The qualifying condition matters. Each attempt begins at the point reached by a successful code search. The study then asks how far a researcher can get from there within a limited budget.

Random selection reduces the researchers’ ability to favor familiar, straightforward, or especially conspicuous releases. It also presents them with software and experimental methods they may know to varying degrees. That is an important part of the study’s design. A public release may be used by researchers who understand the scientific purpose of the work but lack the original team’s familiarity with its scripts and environment.

For each case, the authors looked for a README with instructions, a dependency specification, and scripts for training or evaluation. They inspected the repository and followed the original directions where available. Those checklist entries describe the materials encountered at the outset. Recording them separately from the outcome lets a reader see when apparently adequate documentation still leaves an obstacle in the execution path.

The team allocated limited time and computing resources to each paper. When a problem arose, they tried to repair it using the available information. If they could not resolve it, they contacted the original researchers through GitHub or by email. The resulting case histories record the stage reached, the nature of the obstacle, the attempted repair, and any feedback. Some attempts stopped before training because a required input or procedure could not be determined. Another reached evaluation. The method thus preserves intermediate progress even when there is no final score.

The authors count an attempt as successful if it can produce results for their comparison. Successful execution and agreement with the published score enter the assessment at different points. If execution is blocked, the paper records a failure within its allotted time and resources. If an outcome is available, the authors can examine how it differs from the original. For the two completed cases, they report selected results and a measure of relative variability.

The original papers’ reported results serve as the numerical comparators for those cases. The authors’ own outputs come from executing the available releases under the conditions described for each attempt. One case uses small experiments already supplied by the original researchers. The other shortens training to stay within the available compute budget. There is no common training experiment shared across the eight releases. Each attempt follows or adapts the procedure of the particular paper.

Expressing agreement as relative variation

The authors adapt a framework in which reproducibility describes the precision of measurements when the conditions of measurement are known. Repeatability is a special case in which those conditions stay the same. For a computational experiment, relevant conditions include the data, software, training settings, and evaluation procedure. Under this approach, recording a changed condition helps readers decide what a comparison can establish. Changing training duration, for example, changes the interpretation of a resulting accuracy comparison even when the task and metric are retained.

The paper describes its coefficient of variation in terms of the ratio below.

CV* = sᵤ / x̄

CV* is the coefficient of variation used in the paper, with the star belonging to the name of the statistic. sᵤ denotes the unbiased sample standard deviation, the estimate of how spread out the measurements are. x̄ denotes the mean of the measurements being compared. The equals sign states the relationship, and the slash denotes division. Taking spread relative to the mean makes the coefficient a description of variation on the scale of the observations. Lower values indicate greater precision in the paper’s results table.

The coefficient answers a question about the comparison of scores. F1 and accuracy answer questions about the performance recorded in the underlying experiments. A system may have a high task score and still yield a relatively variable result when another team runs it. A lower task score may be more closely reproduced. Reporting the original score, the reproduction score, and the coefficient helps readers see both the level of the outcome and the degree of agreement.

The coefficient is unavailable for an attempt that stops before the relevant score is produced. Such an attempt still informs the assessment of practical reproducibility. Where a training run succeeds but the evaluation software fails, the authors can describe the last successful step and the blocker with some precision. A numerical comparison and a diagnosis of a blocked run are evidence about different parts of the same process.

Preserving the attempts

The paper’s authors released their case-study artifacts as self-contained Docker containers through Zenodo. The environments capture either a result they were able to obtain or the error they encountered. Preserving a failure gives readers a way to inspect the state in which the attempt stopped. It can identify the difference between a repository that cannot be understood from its directions and one whose executable path has been found but terminates with a specific error.

The distinction matters because the authors had to make decisions during the attempts. They fixed minor errors, dealt with missing software where they could, and shortened the training procedure in one case. The captured environments tie the resulting observations to those decisions. A reader considering a later repair can locate the point from which the authors were working and understand why the published reproduction stopped there.

Experiments and results

Code availability across conferences

The conference survey shows an upward trend in source code availability. In its account of the figure, the paper highlights a rise in the number of publications with code at EMNLP 2020 and ACL 2021. ACL, EMNLP, and NAACL also appeared to have the highest proportions of publications accompanied by code. Those are the venues the authors classify as actively bringing reproducibility to authors’ attention during submission. The observation supports an association between that emphasis and higher visible availability.

The accepted-paper totals help set the scale of the survey. For the period covered, the paper gives ACL 5350 accepted papers and EMNLP 4810. It reports 2368 for LREC, 1909 for NAACL, and 1436 for COLING. These are publication totals for the survey window. The code-availability measure counts the publications with a link and uses the publication total for its corresponding venue and observation period to express a share.

EMNLP 2021 anchors the transition to the case studies. According to the study, a conference that accepted more than 1,300 papers had 723 linked repositories, and EMNLP led in code submissions associated with published papers when the study was written. The case studies begin from that substantial set of linked releases. Their outcome describes what happened when the authors tried a sample of those releases, rather than how likely a conference paper was to carry a link in the first place.

When the experiment could not get started

The release accompanying Yu and Sagae’s work on identifying problems in neural dialogue supplied source files. The reproduction team could find no directions that connected those files to the published experiments. Inspecting the code did not tell them which files had been used to obtain the results. They opened a GitHub issue and later followed up by email. The issue remained unresolved, and they had received no reply by the reporting cutoff. The obstacle was determining a procedure that corresponded to a result worth comparing. Dialogue systems

Toney and Caliskan’s ValNorm release presented a related problem in a more specific form. Its Python script contained a collection of functions. The team could inspect those functions but could not establish which to call for each published experiment. A set of callable functions can show what operations are available. Reproducing a reported result also requires knowing which operations were selected and how they were combined. The authors asked for that guidance through GitHub and email and had received no answer when they reported the case. Lexical semantics

In Yang and colleagues’ study of cross-lingual semantic parsing, the team could identify a required input. The experiment depended on a file of pretrained embeddings, numerical representations prepared before the reported experiment. The file was no longer available from its download location. The team also suspected that the scripts used to preprocess the dataset were missing. The unavailable embedding file was an observed obstacle. The status of the preprocessing scripts was less certain, and the inquiry to the original researchers remained unanswered. Semantic parsing · Word embeddings

These cases show where information determines whether an experiment can begin. For the dialogue and ValNorm studies, the team could view code but lacked the sequence of calls needed to turn it into a run corresponding to the paper. For the parsing study, knowing which resource to use did not help once the resource could no longer be retrieved. Collecting an entry for instructions and an entry for dependencies kept those obstacles distinct in the account of the attempts.

When an executable path led to an error

Jones and colleagues’ study of shared embeddings across languages came with a dependency list and instructions for running the scripts. The team found syntax errors and fixed them with little effort. The repaired program ran for roughly one hour, then stopped with a runtime error. The original authors responded after a follow-up email, but the teams had reached no solution by October 2022. The work had passed the point where a reader could identify the procedure and start it. The later failure still prevented a numerical comparison. Multilingual and cross-lingual NLP

The keyword-graph study by Zhang and colleagues required more than one GPU according to its authors. The reproduction team had a workstation that met the requirement. They fixed a missing dependency, then encountered a device mismatch during execution. Arrays involved in the same operation were on different devices. The original researchers eventually offered a fix, and other users who had reported the problem indicated that the fix appeared to work. The reproduction team ran out of time to test it. The outcome recorded for this study therefore reflects the conditions and deadline of the attempt. Text classification · GPU and parallel computing

The device error is analytically useful because the authors could distinguish access to hardware from correct use of that hardware. A reader with a single GPU would have faced a resource barrier before reaching the reported failure. The team had access to the appropriate class of workstation and could proceed far enough to find a separate execution error. The case shows why an artifact can benefit from both explicit hardware requirements and a test that exercises the code on the intended setup.

Cho and colleagues’ StreamHover release took the team further. It supplied instructions and a dependency list, and the team trained a system by following them. Evaluation called pyrouge, which in turn needed an installation of ROUGE. The installation link supplied through the package was dead. The team located alternative instructions in the package repository but still could not get the evaluator working. The authors offered to collaborate on a change to SacreROUGE and received no response by the reporting cutoff. Training had finished, but the broken evaluation chain prevented the team from obtaining the intended measurement. Text summarization · ROUGE

The StreamHover case clarifies what is at stake when a release is described as runnable. For the purpose of training, the team had a working procedure. For the purpose of comparing results with the paper, evaluation remained indispensable. A release can include the code that calls an evaluator while depending on a separate installation process over which the research team has little control. The availability of the package name and the presence of a training checkpoint leave that dependency unresolved.

ReasonBERT and small-sample question answering

The ReasonBERT release from Deng and colleagues was one of the two cases in which the team obtained comparable measurements. The directions were clear, and the release included small experiments that trained in minutes for each system. A quick experiment makes the full path from setup to measurement accessible within a bounded attempt. It also makes repeated execution more feasible if a researcher needs to diagnose a problem or examine how sensitive the result is to a setting. Question answering

The paper reports a partial comparison on SQuAD, measured using F1 in the setting with a sample size of 16. F1 combines precision and recall in a single measure. The sample size belongs to the small-data experiment being reproduced. The paper also describes the scores reported for the comparison as averages across five runs and says, to the authors’ knowledge, the original run-level results had not been released. This limits what a reader can tell about the pattern of variation underlying the published average.

The published numbers are the reference values for each of the reproduced settings. Among them, the SQuAD F1 for ReasonBERT R was 41.3 in the original study and 34.79 in the reproduction. For ReasonBERT B, the published value was 33.2 and the reproduction obtained 5.81. For BERT, the published value was 9.9 and the reproduction obtained 5.78. Those comparisons show why an attempt can clear the execution hurdle while still raising a substantial question about numerical precision.

The other comparisons in the SQuAD portion of the table follow the same pattern of original result and reproduction result. SSPT went from a published F1 of 10.8 to a reproduced F1 of 4.92. SpanBERT had a published F1 of 15.7 and a reproduced F1 of 10.07. In each case, the paper provides a mean and a measure of spread for its comparison. The values describe the specific small-sample experiment and should be read on that scale.

Relative variation in reproduced SQuAD F1 at the small-sample setting

ReasonBERT R has the lowest relative variation and ReasonBERT B has the highest.

Relative variation in reproduced SQuAD F1 at the small-sample settingReasonBERT R (this paper): 17.04ReasonBERT R (this paper)17.04SpanBERT: 43.53SpanBERT43.53BERT: 52.25BERT52.25SSPT: 74.51SSPT74.51ReasonBERT B: 139.92ReasonBERT B139.92
The numbers
System or settingCV*
ReasonBERT R (this paper)17.04
SpanBERT43.53
BERT52.25
SSPT74.51
ReasonBERT B139.92

ReasonBERT R has both the highest F1 in the reproduced SQuAD results and the lowest coefficient of variation in that comparison. The chart ranks the settings by relative variation alone. The gap in the observed degree of agreement between the two ReasonBERT variants is especially informative about the outcome criterion. Both were executable under the reproduction procedure. The paper nevertheless records much greater variation for ReasonBERT B than for ReasonBERT R.

The authors describe the resulting spread in precision as less than ideal. They suggest that the small data sample and sensitivity to the random seed, which can affect data order, may help explain it. That is an interpretation of the observed variation. The paper offers the recorded scores and conditions as evidence, and leaves the proposed explanation open to further runs. The quick execution time is valuable precisely because it makes that follow-up easier to contemplate.

E-SNLI under a shortened training schedule

The other completed attempt concerned Wiegreffe and colleagues’ work on the relationship between predicted labels and explanations expressed in free text. The implementation used T5 base. The reproduction team could train and evaluate that variant on a GPU with 24GB of memory. The original instructions called for training for 200 epochs, where an epoch is a pass through the training data. That schedule exceeded the resources the authors had allocated to the attempt. The release did not include the sort of small-data experiment available in the ReasonBERT case. Measuring Association Between Labels and Free-Text Rationales · T5

The team trained for one epoch and finished in less than an hour. The comparison concerns accuracy on E-SNLI for the self-rationalizing configuration designated I→OR. In the paper’s description, the configuration produces a prediction and an accompanying rationale. The reported accuracy measures the predictor’s task performance. It provides a specific outcome that the team could compare after shortening training.

Published and reproduced E-SNLI accuracy for the self-rationalizing configuration

The shortened reproduction run yields accuracy close to the published reference.

Published and reproduced E-SNLI accuracy for the self-rationalizing configurationReproduction with shortened training: 87.72Reproduction with shortened training87.72Published reference (this paper): 90.52Published reference (this paper)90.52
The numbers
System or settingAccuracy
Reproduction with shortened training87.72
Published reference (this paper)90.52

The case-study paper reports a mean of 89.12, an unbiased standard deviation of 2.48, and a coefficient of variation of 3.13 for this accuracy comparison. The low relative variation is evidence about the reported comparison under the two schedules. The authors interpret the outcome as sufficiently close to count the attempt as successful. The changed training duration remains part of the result. The team obtained a comparable measurement at a cost it could afford, using a procedure that differed from the original in a known way.

The reduced schedule also makes this success different from the ReasonBERT success. ReasonBERT offered a quick experiment as part of the release, so the reproduction team could examine a setting the original researchers had specified for small-sample use. In the rationale study, the team chose its own shorter run because the prescribed schedule was infeasible under the case-study budget. One release supplied a small experiment with published reference scores. The other supplied a workable route to training and evaluation that the team adapted before comparing its accuracy with the published reference.

What the success rate counts

Of the eight attempts, two led to results the authors could compare. The article reports the resulting 25% success rate and the six failures, or 75%. The denominator is the sample of EMNLP 2021 papers with code that the team actually attempted to reproduce. The success indicator captures practical completion within the study’s conditions. It includes the ReasonBERT results with their uneven numerical agreement and the E-SNLI result obtained after the schedule was shortened.

The case histories indicate why the same success indicator can conceal different amounts of progress. The dialogue study stopped before the experiment could be identified in the repository. The cross-lingual parsing study depended on an unavailable input. The multilingual embedding study began execution and stopped later. StreamHover reached training and halted at evaluation. The keyword-graph case had a proposed fix that the team could not verify in time. Those outcomes all lack an observed comparison score, but each points to a different part of the release and reproduction process.

The paper’s appendix also records repository stars, forks, open issues, and time since last update for the selected projects and presents aggregate figures for EMNLP 2021 papers with linked GitHub repositories. These are descriptions of the repositories and their activity. The evidence about successful reproduction comes from the execution attempts and their recorded outcomes. A repository’s public activity and the usability of the particular path that produced a published score remain separate observations.

What the ablations show

The paper contains no formal ablations and instead offers a comparison of venue patterns, a checklist of release contents, case-by-case diagnoses of failures, and numerical comparisons for the completed attempts.

The venue analysis examines how publication records differ across conferences that gave reproducibility different levels of emphasis in their submission process. The three venues that highlighted it appeared to lead on the share of papers with code. That measure is closer to the paper’s policy question than the raw counts alone. It asks how commonly a publication carries code within each venue. The comparison leaves room for other differences among venues and years to explain part of the pattern.

The release checklist offers a different comparison. Jones and colleagues, Zhang and colleagues, and Cho and colleagues supplied instructions, dependencies, and scripts, but the team still recorded a failed attempt for each. The missing or unusable materials in the dialogue and ValNorm cases created a problem earlier in the process. The contrast locates two ways that a release can fall short. An omission can prevent a reader from working out what to run, and an apparently complete set of directions can lead to a failure when the software is exercised.

The case histories provide more detail than the checklist can express. The parsing paper’s missing embeddings concern a particular input to the experiment. The keyword-graph study’s device mismatch concerns the execution of an operation after the hardware requirement has been met. The StreamHover dependency concerns the final measurement after training. Each case lets the reader connect the stage of failure to evidence about the obstacle. There is no need to infer an identical cause from an identical mark in the outcome column.

The authors use these diagnoses to assess what changes to reproducibility practice might address the observed problems. Existing guidance already calls for instructions, a dependency specification, and training and evaluation code. For repositories in which it was unclear which operation produced which result, the authors propose a more specific standard. A release would provide a documented script for each reported outcome, so a reader could identify the route from a claim in the paper to the program that produces the supporting measurement.

The external dependency failures motivate a proposal for packaging. Recording a dependency’s name or version can be useful as documentation. The unavailable embeddings and the broken ROUGE installation procedure show the additional value of preserving the resource itself or providing an execution environment in which the needed components are already available. The authors connect this proposal to artifact evaluation around publication, when someone outside the original team can try the documented route while the authors are still in a position to address problems.

The small ReasonBERT experiments illustrate the role of a quick run within that package. Here the team could reach measurement in minutes for each system, and the resulting comparison made numerical variation visible. In the rationale case, a shorter run also reached measurement, but the team had to devise the shorter schedule itself. Taken together, the cases motivate a documented, inexpensive experiment with a known expected outcome. The comparison is observational. The paper does not estimate the improvement attributable to such a design separately from the clarity of the documentation and the condition of the software.

Agreement on E-SNLI and the differing SQuAD coefficients show why the authors retain both an execution indicator and a precision measure. An execution indicator answers whether the evidence is reachable under the attempt’s conditions. The coefficient describes how the numerical outcomes agree once there is evidence to compare. That division makes it possible to credit the accessibility of the ReasonBERT experiments while reporting that some published F1 scores were much harder to approximate than others.

Limitations

Limits the authors state

The survey can miss code releases that authors made available without including a link as part of the submission process. Its measurements depend on what can be found through the ACL Anthology records. An absent link in those records can therefore represent either an absent release or a release the survey did not capture. This limits the accuracy of comparisons based on the recorded links, especially if venues differed in how consistently researchers supplied them through the publication process.

The authors also emphasize the small number of papers in the reproduction sample. Random selection helps guard against deliberately choosing unusually good or unusually bad releases. The authors regarded their sample as representative, while acknowledging that their own expertise could have influenced which obstacles they could resolve. A team familiar with a particular family of software or datasets might infer a missing step more quickly. Such knowledge would change what was feasible within the same time budget.

The failures are outcomes under time and computing limits. In principle, the team could have spent substantially longer on each release. The authors say that it is unclear how much effort success would have required without help from the original researchers. At some point the work could become a reimplementation of the original study. The paper’s question concerns what another researcher can obtain using the released materials with a practical amount of effort, so it sets a limit before that transition.

The authors give particular attention to communication. Their team asked for help when local diagnosis reached an impasse. Several inquiries went unanswered by the reporting cutoff. One reply produced a potential repair that the team lacked time to test, and a reply in another case did not resolve the error. The paper recognizes that original researchers may be unavailable after publication and that there was no established support expectation. Contact with them is a possible route to repair within this design. Its success depends on timing and on whether a solution can be found and checked.

Even a well-designed artifact cannot always contain all of the inputs. The authors use sensitive healthcare data as an example. Some datasets cannot be publicly distributed, which limits the degree of reproduction attainable through a public package. The authors also discuss the submission burden for researchers with limited upload bandwidth, particularly when a package contains gigabytes of material. They suggest alternative or delayed submission arrangements to accommodate that practical constraint.

The discussion extends the question of feasibility to highly specific computing conditions. Matching the original hardware can matter to a measurement, yet access to that hardware can make a reproduction impractical. The authors raise the possibility of reporting aggregates over multiple experiments as another way to reduce reliance on a single best result. Their discussion leaves the appropriate balance dependent on the scientific task and on which differences in setup meaningfully affect its outcomes.

Limits of the comparisons

The conference survey does not isolate a causal effect of submission guidelines. It observes existing venues with different publication histories, sizes, schedules, and policies. A higher share of linked code at venues that promote reproducibility is compatible with the authors’ expectation. The design has no corresponding observation of how the same venue would have developed during the same period without that emphasis. The evidence is strongest as a description of where and when visible code release was more common.

The code-link measure is narrower than the availability of a reproducible artifact. A link can still point to a repository after a required download disappears or installation instructions stop working. A publication record can also fail to point to a release that exists elsewhere. These two cases can move the survey away from different quantities a reader might care about. The linked share may understate how many authors made code public, while giving an unduly favorable impression of how frequently a usable route to the reported result exists.

The sample for the hands-on work comes from a single venue and year and conditions on a linked release. Even within that group, an outcome depends on the attempt’s time limit, hardware, the experience of the team, and the state of the external dependencies when they were checked. The 25% describes the observed success rate for these eight attempts. The study provides no basis for applying that number directly to other conferences, years, or reproduction teams.

The comparison outcomes also have different scopes. The ReasonBERT attempt provides selected SQuAD F1 measurements from a small-data setting. The rationale attempt provides accuracy for a particular E-SNLI configuration after the reproduction team shortened training. Neither case amounts to an independent check of every experiment or conclusion in the original paper. The measurements support a more specific claim about what could be recovered and compared under the recorded conditions.

In particular, the E-SNLI comparison does not reveal how training duration generally affects the result. The accuracy values come from a published reference using the original schedule and a reproduction using an altered one. The paper reports no series of intermediate schedules and no controlled comparison in which training duration is the only varied condition. The observed closeness therefore establishes a practical result for the attempted run. It leaves the accuracy of other short schedules, and the variability of the shortened procedure, open.

The SQuAD comparison has a different uncertainty. The original run-level scores were, to the reproduction team’s knowledge, unavailable. The reported aggregate and the reproduced scores establish the size and direction of the observed agreement in the paper’s table. They cannot identify how much of any difference arose from training variability, data order, or the details of the environment. The coefficient summarizes the comparison. Identifying its causes would require the study to vary suspected conditions or have access to more of the individual measurements behind the original results.

The procedure for counting success also puts limited weight on numerical agreement. An attempt that reaches a comparable score can count even when some of those scores differ substantially from the published values. That choice is appropriate for asking whether a release permits an outside team to complete the measurement under a practical budget. A study asking how often reported scores were recovered to a specified tolerance would need to define that tolerance and apply it separately to each paired observation.

Finally, the authors’ proposals extend beyond what the case studies tested. The study diagnoses ways that quick experiments, result-specific scripts, preserved dependencies, and external artifact review could address the observed obstacles. It does not experimentally compare conferences with and without committee evaluation, or follow packaged and unpackaged releases over time. Its own Docker release demonstrates a way to preserve the attempts and their outcomes. The broader effect of requiring such packages remains a question for evaluation under the conditions at each venue.

What came after

A later reproduction report returns to the practical question of whether an evaluation can be carried out again. Human Evaluation Reproduction Report for Data-to-text Generation with Macro Planning (2023) concerns a data-to-text task, in which a system produces text from structured inputs. The title identifies human evaluation as the procedure being reproduced. That focus gives the connection to Arvan and colleagues’ study a concrete setting. Once the evaluation depends on human judgments, documenting what was measured also means identifying the judging procedure that produced the evidence. The later report cites Arvan and colleagues. Its title establishes the object of the reproduction, while its findings and exact use of the earlier method are unspecified. Text generation · Human Evaluation Reproduction Report for Data-to-text Generation with Macro Planning

Beyond the Leaderboard (2026) cites the paper in the context of rethinking medical benchmarks. A leaderboard gives an ordering based on reported scores. Arvan and colleagues’ study raises a question that matters to the interpretation of such an ordering. What measurement procedure produced a score, and to what extent can someone else carry it out under known conditions? The medical setting also makes contact with the paper’s stated limit on publishing sensitive data. The citation connects the work to the reproducibility study, while the title identifies the benchmark setting. It does not establish a particular medical benchmark design or result. Evaluation and benchmarks · Beyond the Leaderboard

The thesis proposal by Pandita (2026) places reproducible evaluation within a proposed human-centered and perspective-aware framework for machine learning evaluation and AI alignment. Its scope makes a different part of the earlier paper relevant. Arvan and colleagues emphasize specifying the conditions under which a measurement is obtained. An evaluation centered on human perspectives raises the question of how those perspectives enter the measurement and how another evaluator can understand the resulting score. The work is a proposal, and its citation establishes a connection to the reproducibility paper. A completed evaluation protocol or empirical result cannot be inferred from its title. Pandita’s thesis proposal on reproducible ML evaluation and AI alignment

Cite

Cite as Mohammad Arvan, Luís Pina and Natalie Parde. 2022. Reproducibility in Computational Linguistics: Is Source Code Enough?. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.emnlp-main.150

@inproceedings{arvan2022reproducibility,
  title = {{Reproducibility in Computational Linguistics: Is Source Code Enough?}},
  author = {Mohammad Arvan, Luís Pina and Natalie Parde},
  booktitle = {Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.150},
  url = {https://doi.org/10.18653/v1/2022.emnlp-main.150}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/arvan-2022-reproducibility-computational-linguistics-is-source/