Evidence and experiments / 4 of 6
Experiment reproducibility
What you’ll learn
- Explain the main idea of “Experiment reproducibility” in your own words.
- Trace a concrete example and identify the assumptions behind it.
- Apply the principle in a practice problem and recognize a common failure.
The idea, intuitively
Reproducibility means another person can inspect the procedure and obtain consistent findings under stated conditions. Exact numeric equality is not always possible across hardware, but undocumented conditions make even approximate reproduction difficult.
Research literacy is the ability to connect a claim with its assumptions, method, and evidence. You can practice this without large compute by reading carefully and reproducing small mechanisms. Distinguish what a paper demonstrates from what it suggests, and be explicit about the scope of any conclusion.
Under the hood
Record data hashes, preprocessing, code revision, package versions, seeds, hardware, precision, and selection rules. Report multiple runs where stochastic variation matters. Retain failures rather than publishing only the best seed.
A random seed is necessary for many records but insufficient by itself.
A worked example
Two runs with the same seed may differ if kernels or distributed reduction order are nondeterministic.
How to use this way of thinking
Write the claim and a possible disconfirming result before examining headline scores. Trace one mechanism with small shapes, compare against a controlled baseline, and record uncertainty. A well-documented negative result can teach more than an impressive result with unknown comparison conditions.
Try it yourself
Why report mean and spread across runs rather than the best result only?
Key takeaways
- A content hash or immutable version identifier
- A random seed is necessary for many records but insufficient by itself.
- Check the assumptions with a small example before applying this idea to a larger system.
Check your understanding
Use feedback to learn. Quiz scores and lesson completion are tracked separately.
Go to lesson completionFurther reading
Original papers and reference material for this school. External resources may be in English and require internet access.
Pineau et al.: Improving Reproducibility in ML Research (opens a new tab)Attention Is All You Need (opens a new tab)Finish this lesson
Mark this lesson complete when you’re ready to continue.