Lune

ACL2024Top-tier venue

When Good and Reproducible Results are a Giant with Feet of Clay: The Importance of Software Quality in NLP

Sara Papi, Marco Gaido, Andrea Pilzer, Matteo Negri

Abstract

Despite its crucial role in research experiments, code correctness is often presumed only on the basis of the perceived quality of results. This assumption comes with the risk of erroneous outcomes and potentially misleading findings. To address this issue, we posit that the current focus on reproducibility should go hand in hand with the emphasis on software quality. We present a case study in which we identify and fix three bugs in widely used implementations of the stateof-the-art Conformer architecture. Through experiments on speech recognition and translation in various languages, we demonstrate that the presence of bugs does not prevent the achievement of good and reproducible results, which however can lead to incorrect conclusions that potentially misguide future research. As a countermeasure, we propose a Code-quality Checklist and release pangoliNN, a library dedicated to testing neural models, with the goal of promoting coding best practices and improving research software quality within the NLP community.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Reproducibility in Computational Linguistics: Is Source Code Enough? cites 'Just What do You Think You're Doing, Dave?' A Checklist for Responsible Data Use in NLP
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Optimizing Rare Word Accuracy in Direct Speech Translation with a Retrieval-and-Demonstration ApproachSiqi Li, Danni Liu, Jan NiehuesEMNLP 2024 · 1 citation

Builds on8

  1. Do Transformer Modifications Transfer Across Implementations and Applications?Sharan Narang, Hyung Won Chung, Yi Tay, Liam Fedus et al.EMNLP 2021 · 80 citations
  2. Beyond Accuracy: Behavioral Testing of NLP Models with CheckListMarco Túlio Ribeiro, Tongshuang Wu, Carlos Guestrin, Sameer SinghACL 2020 · 51 citations
  3. Revisiting End-to-End Speech-to-Text Translation From ScratchBiao Zhang, Barry Haddow, Rico SennrichICML 2022 · 46 citations
  4. 'Just What do You Think You're Doing, Dave?' A Checklist for Responsible Data Use in NLPAnna Rogers, Timothy Baldwin, Kobi LeinsEMNLP Findings 2021 · 42 citations
  5. Reproducibility in Computational Linguistics: Is Source Code Enough?Mohammad Arvan, Luís Pina, Natalie PardeEMNLP 2022 · 12 citations

Related papers

  1. Measuring the Influence of Incorrect Code on Test GenerationDong Huang, Jie M. Zhang, Mark Harman, Mingzhe Du et al.ICSE 2026
  2. Reproducibility in NLP: What Have We Learned from the Checklist?Ian Magnusson, Noah A. Smith, Jesse DodgeACL Findings 2023 · 14 citations
  3. Patching as Translation: the Data and the MetaphorYangruibo Ding, Baishakhi Ray, Premkumar T. Devanbu, Vincent J. HellendoornASE 2020 · 2 citations
  4. Non-Repeatable Experiments and Non-Reproducible Results: The Reproducibility Crisis in Human Evaluation in NLPAnya Belz, Craig Thomson, Ehud Reiter, Simon MilleACL Findings 2023 · 15 citations
  5. Deep learning library testing via effective model generationZan Wang, Ming Yan, Junjie Chen, Shuang Liu et al.FSE 2020 · 165 citations
Dusk over the sea between two cliffs drawn in fine vertical lines