Introduction

Training a large neural network is expensive. You start with tens of millions of randomly initialized weights, run the data through thousands of times, and gradually push the errors down. When you're done, the network works — but it is also enormous, slow, and costly to run.

A natural instinct is to prune it: snip away the weights that seem unimportant, leaving a leaner model. Pruning after training has worked for decades. But in 2019, Jonathan Frankle and Michael Carlin noticed something striking — the sparse subnetwork that survives pruning is not just a compressed model. If you reset its surviving weights back to their initial values and retrain only that skeleton, it converges just as well as the full network, or better, and in fewer steps.

They called this the Lottery Ticket Hypothesis: every large, randomly initialized network contains a small winning ticket — a subnetwork whose initial weights happened to be just right for learning. The full network wins the lottery because it buys so many tickets. Most lose. One wins.

The hypothesis is empirically well-supported — it holds across image classifiers, language models, and reinforcement learning agents — but the theoretical question of why it is true, and how to find the winning ticket efficiently without training the full network first, remains open.

Prune and Retrain

Below is a tiny network learning to classify two groups of points. It has more weights than it needs. Follow the lottery ticket recipe:

  1. Train the full network until it converges.
  2. Prune the smallest weights (by absolute value) — strike out the losers.
  3. Reset the survivors to their original random values and retrain from that sparse start.
<p class="hint">{{hint}}</p>
<canvas id="canvas" width="260" height="200"></canvas>
<div class="controls">
  <label>{{prune_ratio_label}}: <span id="prune-val">50%</span>
    <input type="range" id="prune-slider" min="0" max="90" step="10" value="50">
  </label>
</div>
<div class="btns">
  <button id="btn-train" type="button">{{btn_train}}</button>
  <button id="btn-prune" type="button" disabled>{{btn_prune}}</button>
  <button id="btn-reset" type="button" class="ghost">{{btn_reset}}</button>
</div>
<div id="status" class="status"></div>
<div id="stats" class="stats"></div>
* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; margin: 0; color: #222; }
.hint { font-size: .88rem; color: #444; margin: 0 0 .6rem; line-height: 1.45; }
canvas { border: 1px solid #cdd9e3; border-radius: 8px; display: block; background: #f7f9fb; }
.controls { margin: .5rem 0; font-size: .9rem; }
.controls label { display: flex; align-items: center; gap: .5rem; }
input[type=range] { flex: 1; }
.btns { display: flex; gap: .5rem; flex-wrap: wrap; margin: .4rem 0; }
button { font: 600 13px system-ui, sans-serif; padding: .4rem .85rem;
         border: 1px solid #1d3557; background: #1d3557; color: #fff;
         border-radius: 8px; cursor: pointer; }
button:disabled { opacity: .4; cursor: default; }
button.ghost { background: #fff; color: #1d3557; }
.status { font-size: .95rem; font-weight: 600; min-height: 1.4em; margin: .3rem 0; }
.status.ok { color: #0a7d33; }
.status.run { color: #1d3557; }
.stats { font-size: .82rem; color: #555; min-height: 1.2em; }
// Code not found

Notice that the sparse subnetwork, reset to its lucky initial values, reaches accuracy close to the full network — the winning ticket was there from the beginning. Crank up the pruning ratio to strip away more weights and watch when the ticket finally stops winning.

The Real Complexity

What is the status of the Lottery Ticket Hypothesis?

  • Empirically supported. Frankle and Carlin (2019) showed winning tickets in small vision networks. Later work confirmed the pattern in ResNets, Transformers, BERT, and RL agents, though large networks often need rewinding to an early checkpoint rather than the very first initialization.
  • Theoretically murky. We have no proof that every architecture must contain a winning ticket, nor a precise formula for how sparse the ticket can be. Results from the theory of neural network training show that overparameterization helps optimization, which hints at why big networks find good solutions, but the connection to sparse subnetworks is not tight.
  • The hard algorithmic question is open. The standard recipe requires training the full network before you know which ticket won. Finding the winning subnetwork before full training — avoiding the expensive first pass entirely — is sometimes called the strong lottery ticket hypothesis and is an active research frontier. Some theoretical results show that random large networks contain subnetworks that approximate any smaller target network (the "strong" version), but exploiting this in practice without exhaustive search remains unsolved.
  • Connections to P vs NP. Pruning is related to the general problem of finding a minimal sufficient representation of a function computed by a circuit — a problem family that is known to be hard in the worst case.

The bottom line: the hypothesis is a striking empirical fact, a useful engineering tool, and a genuinely open theoretical question rolled into one.

Where It Matters

The lottery ticket idea touches nearly every part of modern machine learning:

  • Model compression for deployment: a winning ticket can be 10–100× smaller than the original network while matching its accuracy, making it practical to run on phones, microcontrollers, and edge devices where memory and power are tight.
  • Faster training: once a winning ticket is identified (even by pruning a smaller surrogate), retraining only its sparse structure can cut training time significantly.
  • Neural architecture search: rather than testing hundreds of hand-designed architectures, pruning-based methods can discover compact architectures automatically — winning tickets as architecture proposals.
  • Interpretability: the weights that survive pruning tend to encode the most critical patterns the network learned. Studying tickets helps researchers understand what a network is actually doing, a core challenge in AI safety.
  • Overparameterization theory: the hypothesis is evidence that we train large networks not because they need all their weights, but because the redundancy makes optimization easier — a key insight connecting to the theory of gradient descent and learning.

Understanding winning tickets is part of the broader question of why deep learning works at all — one of the deepest open problems in the theory of computation.

Conclusion

The Lottery Ticket Hypothesis offers a beautiful reframe of why we train enormous neural networks: we are not building a single intricate machine from scratch. We are buying a lottery ticket — millions of them, with random numbers, hoping one of them matches. Most weights are losers. A tiny, lucky subnetwork wins.

That winning ticket was set at initialization, before any data was seen. The full training run is, in a sense, just the process of discovering which ticket you already held.

What we still cannot do efficiently is identify the winning ticket without playing the full game first. That gap — between the existence of the ticket and our ability to find it cheaply — is where the theory remains open, and where the next breakthrough in efficient AI may be hiding.

For more on the interplay between overparameterization and learning, see neural network training. For the broader question of what makes problems hard to solve, see P vs NP.

Share this article

Pick a channel — or use your device's native share sheet.

Comments

Loading comments...

https://www.kipuhub.com/en/article/lottery-ticket-hypothesis/Content licensed under CC BY-NC 4.0.