Skip to content

Reproduced Paper

You'll pick a published machine learning result, rebuild it from the paper's description, and write up exactly where your numbers differed and why.

About

Reading a paper is one thing; getting its numbers out of your own code is where you find out what the authors left out. Pick a paper with a modest result you can train in hours, not days: a classic image or text classification result, a small benchmark, a method with a public dataset. Most papers from the last few years have code online, which you'll use to check yourself at the end rather than copy from, and the final runs want a few dollars of rented GPU time, or the free tier of a hosted notebook if the model is small. What counts is your own implementation reaching within a few points of the published number, or a careful account of why it didn't; the write-up is the badge.

At a glance

Per requirement
50 XP
Completion bonus
600 XP
Requirements
6
Takes
A season
Skill level
Advanced (years of practice)
Cost
Cheap (under $10)
Supplies
You need some
Where
At home
Other people
On your own
Locked for now
Earn two more Rare badges in Machine Learning to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Choose a paper and write down the single number you're going to reproduce. Pick one table entry: accuracy on one dataset with one method. Check that the dataset is free and the model trains in under a day on a cheap GPU, or in hours on a laptop. Read the paper twice and list every detail you'd need to reproduce it and every detail the paper doesn't give (learning rate schedule, augmentation, how many runs they averaged). Take a photo of the paper with your list beside it. Photo
  2. 2
    Set up the data exactly as the paper says, and check the counts. The same split, the same preprocessing, the same image size or tokenization. Many reproduction gaps are here, not in the model. Print the train, validation and test counts and compare them to the paper's. If they differ, find out why before you go further. Take a screenshot of your counts next to the paper's. Photo
  3. 3
    Implement the method from the paper's description and get a first run to finish. Write it from the text and the equations, not from their repository. The first full run will probably be worse than the paper, sometimes badly. Log every setting you chose and every one you had to guess. Take a screenshot of the first run's final number with your settings log. Photo
  4. 4
    Close the gap with experiments, one change at a time, and log each run. Keep a table: run number, what changed, the result. The usual culprits are the learning rate schedule, weight decay, data augmentation, number of epochs, and random seed variance. Run your best setting with at least three seeds and report the mean and spread. Set a spending cap on any rented GPU before you start, because a forgotten instance costs more than the badge is worth. Take a screenshot of the run table. Photo
  5. 5
    Compare your implementation to the authors' code, and list the differences. Only now open their repository. Diff what they do against what you did, and note every difference that mattered and whether it was in the paper. Rerun with the differences fixed if you can. Take a screenshot of your list of differences, each marked 'in paper' or 'not in paper'. Photo
  6. 6
    Publish the write-up with your numbers next to theirs. Your result with its spread, theirs, the gap, the differences that explained it, the details the paper omitted, and what you'd tell a reader about to try the same thing. Under 1,500 words, with the code linked. Post it somewhere public, like a blog or the repository's readme. Take a screenshot of the published page and share the link. Photo