Paper Breakdowns  /  The Lottery Ticket Hypothesis
Paper 96~11 min read2019worked math + runnable code
Paper Breakdown

Winning
tickets.

You can throw away 90% of a trained network's weights and it still works — everyone knew that. The shock in this paper is subtler and stranger: that sparse survivor could have been trained on its own from the very beginning, if only you'd known which weights to keep and left them at their original random values. Hidden inside a big network, before a single gradient step, is a small subnetwork already holding a winning ticket. Reset it to a different random draw and it loses. The structure and the lucky initialization are one thing. Here's how iterative magnitude pruning finds the ticket, and why the reset is everything.

Video breakdown
The animated walkthrough is in production.
Read the full breakdown below in the meantime ↓
01

A bag of tickets

Modern networks are wildly over-parameterized — millions or billions of weights for tasks that seemingly need far fewer. We've long known you can prune a trained network, deleting most of its weights, and keep almost all the accuracy. The puzzle was always: if the small network is enough, why couldn't we just train the small network directly? In practice, training a comparably small network from scratch gave worse results. Over-parameterization seemed necessary for training, even if not for the final function.

The Lottery Ticket Hypothesis (Frankle & Carbin, 2019) offered a startling answer. A dense, randomly-initialized network contains a sparse subnetwork — a winning ticket — that can be trained in isolation to full accuracy, provided you start it from the same initial weights it had inside the big network. The dense network is a bag of lottery tickets: many candidate subnetworks, each with its own random initialization, and training reveals which ones held winning numbers. Over-parameterization helps not (only) because big functions are better, but because more tickets means better odds that some subnetwork got a lucky initialization.

The one-sentence version

A randomly-initialized dense network contains a sparse subnetwork that, trained from the same initialization, matches the full network's accuracy — found by iteratively pruning the smallest-magnitude weights and resetting the survivors to their original init.

02

Finding the ticket

The recipe is iterative magnitude pruning, and it's remarkably simple:

One round of iterative magnitude pruning
1 · save initRecord the network's original random weights before training.
2 · trainTrain the dense network to completion as usual.
3 · pruneRemove the smallest-magnitude p% of weights — build a keep/drop mask.
4 · resetSet surviving weights back to their step-0 init values (not trained, not random).
5 · repeatTrain the masked subnet, prune again — sparsity compounds each round.

The pruning criterion is just magnitude: after training, weights that ended up near zero are judged least important and cut, leaving a binary mask of kept (1) and removed (0) connections. Doing it iteratively — prune a modest fraction, retrain, prune again — finds much sparser winning tickets than pruning all at once, because each round re-evaluates importance on the smaller network. After k rounds at pruning fraction p, only (1−p)k of the weights remain; a few rounds at 20% gets you to a small fraction of the original. What survives is a sparse skeleton — but the skeleton alone isn't the ticket.

03

Why the reset matters

Here is the finding that made the paper famous. Take the winning ticket — the sparse mask you found — and consider three ways to initialize its surviving weights before training it in isolation:

Initialize survivors to…What happens
Their original init valuesWins. Trains to match (or beat) the full network — this is the winning ticket.
Fresh random valuesLoses. The same sparse structure trains noticeably worse and often fails to match.
Their trained (final) valuesThat's just ordinary post-training pruning — not the claim being tested.

The mask alone — a good sparse architecture — is not enough. What makes a ticket win is the specific combination of which connections survive and the exact random values those connections started with. Randomly reinitializing the same structure throws away the winning numbers. That's why it's a lottery: the surviving weights happened, by chance, to be initialized in a configuration that gradient descent could ride to a good solution. The reset-to-init step preserves that lucky draw. It's a claim about the entanglement of structure and initialization — not just that small networks can work, but that they were secretly trainable all along, if you knew the ticket.

04

Pruning, precisely

A winning ticket is the original network f(x; θ₀) restricted by a binary mask m, trained from that same θ₀:

winning ticket  =  f( x ;  m ⊙ θ₀ )     mi = 0 if |θitrained| is in the smallest p·N   else 1

θ₀ are the original init weights; m is the keep/drop mask from magnitude pruning (⊙ is elementwise product). The ticket trains from m ⊙ θ₀ — masked structure, original initialization.

Two quantities describe the ticket. Sparsity is the fraction of weights removed (the zeros in m); remaining density is 1 − sparsity. Under iterative pruning, if you remove a fraction p each round, the fraction of weights still alive after k rounds is multiplicative:

remaining  =  (1 − p)k     e.g. p = 0.2, k = 3  →  0.8³ = 0.512

Pruning compounds: each round cuts a fraction of what's left, so density decays geometrically. The runnable version below builds a magnitude mask, applies it, measures sparsity, resets survivors to init, and computes the compounding.

RUN IT YOURSELF

Magnitude pruning, from scratch

Iterative magnitude pruning is the whole method. Here it is on a tiny weight vector: build a mask that keeps the largest-magnitude weights and drops the smallest, apply it, measure the sparsity, and — the crucial step — reset the survivors to their original initialization to form the winning ticket. The last function shows how density compounds: prune 20% per round for three rounds and 51.2% of the weights survive. Change the weights and the prune fraction and watch which connections win.

CPython · WebAssembly
05

What it showed

The experiments were clean and the claims precise:

ContributionSignificance
Winning tickets existOn MNIST and CIFAR-10, subnetworks at 10–20% of the original size matched or beat full accuracy — trained from their original init.
The init is essentialRandomly reinitializing the same mask degraded results, showing structure and initialization are entangled.
Iterative > one-shotIterative magnitude pruning found far sparser tickets than pruning everything in a single step.
A lens on over-parameterizationReframed why big networks train well: more subnetworks means better odds one is a winning ticket.

The caveats matter. Finding tickets by full iterative pruning is expensive — you train the dense network many times over — so it doesn't (yet) save training compute; it explains something instead. And at very large scale the original "reset to step 0" recipe is finicky; follow-up work found you often must reset to the weights after a few hundred early training steps ("rewinding") rather than to the pristine init. But the core empirical result held up and reoriented a whole line of research.

06

Sparsity from the start

The Lottery Ticket Hypothesis launched a wave of work on sparse training: if trainable sparse subnetworks exist from the beginning, can we find them cheaply — or even at initialization, before training — and then train sparse from the start to save compute and memory? Methods like SNIP, GraSP, and the "Rigging the Lottery" (RigL) line chase exactly this, trying to skip the expensive prune-retrain loop. Others study whether tickets transfer across tasks and datasets, which would make a found ticket a reusable asset.

It also connects to the broader efficiency story. Where knowledge distillation compresses a model by retraining a small student, and low-rank adaptation makes fine-tuning cheap by constraining updates, the lottery ticket line attacks the same goal — capable models at a fraction of the cost — from the angle of sparse structure. And it deepened a genuine mystery about why deep, over-parameterized networks are so trainable in the first place. Even where the practical payoff is still being worked out, few papers reshaped how the field pictures the inside of a neural network as sharply as this one: not a monolith that needs all its weights, but a haystack full of winning tickets.

Worth knowing

A key follow-up (Frankle et al., "Linear Mode Connectivity and the Lottery Ticket Hypothesis") introduced rewinding: instead of resetting survivors all the way to step-0 init, reset them to their values after a small number of early training iterations. On larger networks like ResNet-50 this "late rewinding" is what actually finds stable winning tickets — the pristine-init recipe works cleanly on small nets but needs this fix to scale.

Frequently asked

Quick answers

What is the Lottery Ticket Hypothesis?

A dense random network contains a sparse "winning ticket" subnetwork that, trained from the same initial weights, matches the full network's accuracy.

How do you find a winning ticket?

Iterative magnitude pruning: train, drop the smallest-magnitude weights, reset survivors to their original init, repeat. Sparsity compounds each round.

Why reset to the original init?

The mask alone isn't enough — random reinitialization of the same structure trains worse. The winning ticket is the structure plus its lucky original initialization, together.

Why does it matter?

It reframed why over-parameterization helps and launched sparse-training research aiming to find and train winning tickets cheaply. Rewinding scales it to large nets.

The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks · Jonathan Frankle, Michael Carbin · MIT CSAIL · 2019 · read the original paper on arXiv → · Vibe Engines · 2026
Finished this one? 0 / 101 Paper Breakdowns done

Explore the topic

See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.

More Paper Breakdowns