The Difficulty of Training Sparse Neural Networks
Utku Evci, Fabian Pedregosa, Aidan Gomez, Erich Elsen
TL;DR
The paper investigates why sparse neural networks are difficult to train and why pruning-based solutions outperform training sparse networks from scratch or with lottery initializations. It employs energy-landscape analysis and interpolation-based path-finding, including linear lines and Bezier curves, to study optimization in both sparse and dense subspaces for ResNet-50 on ImageNet. It finds a monotonically decreasing path from initialization to the pruned solution within the sparse subspace, but a high-energy barrier between scratch and pruned; allowing dense connectivity via Bezier curves enables decreasing paths between solutions, implying extra dimensions are needed to escape sparse stationary points. These results suggest that future sparse-training methods should enable transitions to denser connectivity or incorporate optimizers and initializations that can bridge sparse configurations, potentially improving sparse network performance.
Abstract
We investigate the difficulties of training sparse neural networks and make new observations about optimization dynamics and the energy landscape within the sparse regime. Recent work of \citep{Gale2019, Liu2018} has shown that sparse ResNet-50 architectures trained on ImageNet-2012 dataset converge to solutions that are significantly worse than those found by pruning. We show that, despite the failure of optimizers, there is a linear path with a monotonically decreasing objective from the initialization to the "good" solution. Additionally, our attempts to find a decreasing objective path from "bad" solutions to the "good" ones in the sparse subspace fail. However, if we allow the path to traverse the dense subspace, then we consistently find a path between two solutions. These findings suggest traversing extra dimensions may be needed to escape stationary points found in the sparse subspace.
