Don't just prune by magnitude! Your mask topology is a secret weapon
Duc Hoang, Souvik Kundu, Shiwei Liu, Zhangyang Wang
Abstract
Recent years have witnessed significant progress in understanding the relationship between the connectivity of a deep network's architecture as a graph, and the network's performance. A few prior arts connected deep architectures to expander graphs or Ramanujan graphs, and particularly,[7] demonstrated the use of such graph connectivity measures with ranking and relative performance of various obtained sparse sub-networks (i.e. models with prune masks) without the need for training. However, no prior work explicitly explores the role of parameters in the graph's connectivity, making the graph-based understanding of prune masks and the magnitude/gradient-based pruning practice isolated from one another. This paper strives to fill in this gap, by analyzing the Weighted Spectral Gap of Ramanujan structures in sparse neural networks and investigates its correlation with final performance. We specifically examine the evolution of sparse structures under a popular dynamic sparse-to-sparse network training scheme, and intriguingly find that the generated random topologies inherently maximize Ramanujan graphs. We also identify a strong correlation between masks, performance, and the weighted spectral gap. Leveraging this observation, we propose to construct a new "full-spectrum coordinate" aiming to comprehensively characterize a sparse neural network's promise. Concretely, it consists of the classical Ramanujan's gap (structure), our proposed weighted spectral gap (parameters), and the constituent nested regular graphs within. In this new coordinate system, a sparse subnetwork's ℓ 2 -distance from its original initialization is found to have nearly linear correlated with its performance. Eventually, we apply this unified perspective to develop a new actionable pruning method, by sampling sparse masks to maximize the ℓ 2 -coordinate distance. Our method can be augmented with the "pruning at initialization" (PaI) method, and significantly outperforms existing PaI methods. With only a few iterations of training (e.g 500 iterations), we can get LTH-comparable performance as that yielded via "pruning after training", significantly saving pre-training costs. Codes can be found at: https://github.com/VITA-Group/FullSpectrum-PAI .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Sparse-IFT: Sparse Iso-FLOP Transformations for Maximizing Training Efficiency cites Pruning neural networks without any data by iteratively conserving synaptic flow
- Sparse-IFT: Sparse Iso-FLOP Transformations for Maximizing Training Efficiency cites Rigging the Lottery: Making All Tickets Winners
- Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Training cites Pruning neural networks without any data by iteratively conserving synaptic flow
- Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Training cites Picking Winning Tickets Before Training by Preserving Gradient Flow
- Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Training cites Rigging the Lottery: Making All Tickets Winners
- Pruning neural networks without any data by iteratively conserving synaptic flow cites Picking Winning Tickets Before Training by Preserving Gradient Flow
- Pruning neural networks without any data by iteratively conserving synaptic flow cites Rigging the Lottery: Making All Tickets Winners
- Pruning Neural Networks at Initialization: Why Are We Missing the Mark? cites Pruning neural networks without any data by iteratively conserving synaptic flow
- Pruning Neural Networks at Initialization: Why Are We Missing the Mark? cites Picking Winning Tickets Before Training by Preserving Gradient Flow
- Pruning Neural Networks at Initialization: Why Are We Missing the Mark? cites Rigging the Lottery: Making All Tickets Winners
Cited by top-tier papers1
Builds on10
- Pruning neural networks without any data by iteratively conserving synaptic flowHidenori Tanaka, Daniel Kunin, Daniel L. K. Yamins, Surya GanguliNeurIPS 2020 · 884 citations
- Picking Winning Tickets Before Training by Preserving Gradient FlowChaoqi Wang, Guodong Zhang, Roger B. GrosseICLR 2020 · 743 citations
- Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro et al.ICML 2020 · 723 citations
- Pruning Neural Networks at Initialization: Why Are We Missing the Mark?Jonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICLR 2021 · 261 citations
- Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse TrainingShiwei Liu, Lu Yin, Decebal Constantin Mocanu, Mykola PechenizkiyICML 2021 · 146 citations
Related papers
- Revisiting Pruning at Initialization Through the Lens of Ramanujan GraphDuc N. M. Hoang, Shiwei Liu, Radu Marculescu, Zhangyang WangICLR 2023
- Pruning at Initialisation through the lens of Graphon Limit: Convergence, Expressivity, and GeneralisationHoang Pham, The-Anh Ta, Long Tran-ThanhICML 2026
- A Study on the Ramanujan Graph Property of Winning Lottery TicketsBithika Pal, Arindam Biswas, Sudeshna Kolay, Pabitra Mitra et al.ICML 2022 · 11 citations
- Sanity-Checking Pruning Methods: Random Tickets can Win the JackpotJingtong Su, Yihang Chen, Tianle Cai, Tianhao Wu et al.NeurIPS 2020 · 100 citations
- The Graphon Limit Hypothesis: Understanding Neural Network Pruning via Infinite Width AnalysisHoang Pham, The Anh Ta, Tom Jacobs, Rebekka Burkholz et al.NeurIPS 2025 · 2 citations
