TL;DR
Traditional pre-registration assumes a "frozen" research protocol, but software-intensive ML experiments—especially those using LLMs to propose code—inevitably encounter implementation defects. This paper introduces a taxonomy and a nine-item checklist for "patching" these protocols mid-study in a way that maintains scientific integrity and auditability.
What Problem Does This Paper Address?
Pre-registration is the gold standard for building trust in research: you "freeze" your hypotheses and methods before seeing the data to prevent p-hacking. However, in modern machine learning research—particularly "verifier-bound" experiments where an LLM proposes executable rules that a program then checks—the protocol itself is a complex piece of software.
Software has bugs. If a researcher discovers a bug mid-experiment, they face a "credibility hazard": do they continue running a broken study, or do they change the protocol and risk looking like they are moving the goalposts to get better results? The authors argue that the current pre-registration "playbook" has no vocabulary for these necessary repairs, leading to a lack of transparency in how software-intensive studies are actually conducted.
Methods
The authors performed a three-case study of protocol repairs (which they call "patches") across three distinct research domains: production scheduling, incentive design, and task assignment. Based on these cases, they developed:
- A Two-Axis Taxonomy: Classifying repairs by Defect Class (Environmental, Feasibility, or Correctness) and Timing (Pre-data vs. Post-data).
- Verifiable Non-Impact Claims: A requirement that post-data repairs must include a re-runnable code check proving that previously collected data remains valid under the new logic.
- A Nine-Item Checklist: A template for disciplined protocol repair, covering everything from freezing criteria to logging every rejection verbatim.
Datasets
The paper evaluates its framework using three simulation-based research programs, with data and code archived on Zenodo:
- Domain A (Production Scheduling): LLM proposes job-to-slot assignment rules.
- Domain B (Incentive Design): LLM proposes payment functions for mobile crowdsensing.
- Domain C (Task Assignment): LLM proposes scoring functions for capacity-constrained tasks.
The authors emphasize that the "data" in these contexts are the outputs of the LLM-proposer/verifier pipeline.
Key Insights and Ideas
- Patches are Normal: The authors argue we should stop pretending protocols are perfect and start making repairs auditable.
- The Audibility vs. Damage Trade-off: As shown in Figure 2, different bugs have different risk profiles. "Environmental" defects (like crashes) are "loud" and easy to catch but low damage. "Correctness" defects (like silent measurement corruption) are the most dangerous because they produce plausible-looking but invalid data.
- The "Red Line": The taxonomy draws a strict line: patches that repair the "vehicle" (the code) are acceptable, but post-data patches that alter the "judgment criteria" (the scoring or thresholds) are prohibited.
- Verifiable Claims: Instead of a researcher saying "trust me, the bug didn't affect the results," they must provide a "mechanical" check—a script that a reader can run to verify the claim themselves.
Key Results
The authors successfully applied their nine-item checklist across all three domains. As summarized in Figure 1, they managed three distinct types of repairs:
- Case 1 (Domain A): A post-data "environmental" fix for a crash at a boundary condition. They retained 37 pairs of data by providing a verifiable non-impact claim.
- Case 2 (Domain B): A pre-data "feasibility" fix where parameters were mathematically incompatible.
- Case 3 (Domain C): A pre-data "correctness" fix for a silent bug where the evaluation batch was being mutated in place.
Crucially, in all cases, the "red line" was respected: no numbered judgment criteria or scoring rules were modified after data collection began.
Limitations and Future Work
The authors acknowledge several limitations:
- Small Sample Size: The taxonomy is based on only three cases from a single research program.
- Self-Audit: The study was conducted by the authors on their own work; external validation is needed.
- Simulation Focus: The framework was developed for simulations; its application to human-subject experiments may differ.
- Parameter Discretion: While the process of patching is disciplined, the choice of new parameters (e.g., changing a budget from 50 to 100) still relies on author judgment. The authors identify "disciplining repair parameterization" as an open design problem for future work.
Summary updated