Linear Mode Connectivity and the Lottery Ticket Hypothesis
Jonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael Carbin
TL;DR
The paper introduces instability analysis to ask whether SGD noise steers neural network training toward the same minimum. It demonstrates that standard vision models become stable to SGD noise early in training, yielding linear mode connectivity between networks trained with different data orders or augmentations. Applying this framework to Iterative Magnitude Pruning (IMP) clarifies when sparse subnetworks (lottery tickets) can train to full accuracy: matching subnetworks exist only when they are stable to SGD noise, which can occur at initialization for small models or early in training for large ones. Extending IMP with rewinding enables discovering matching subnetworks in large-scale settings, linking lottery-ticket phenomena to optimization dynamics and suggesting pruning opportunities earlier in training.
Abstract
We study whether a neural network optimizes to the same, linearly connected minimum under different samples of SGD noise (e.g., random data order and augmentation). We find that standard vision models become stable to SGD noise in this way early in training. From then on, the outcome of optimization is determined to a linearly connected region. We use this technique to study iterative magnitude pruning (IMP), the procedure used by work on the lottery ticket hypothesis to identify subnetworks that could have trained in isolation to full accuracy. We find that these subnetworks only reach full accuracy when they are stable to SGD noise, which either occurs at initialization for small-scale settings (MNIST) or early in training for large-scale settings (ResNet-50 and Inception-v3 on ImageNet).
