Revisiting Pruning at Initialization Through the Lens of Ramanujan Graph
Duc N. M. Hoang, Shiwei Liu, Radu Marculescu, Zhangyang Wang
摘要
Pruning neural networks at initialization (PaI) has received an upsurge of interest due to its end-to-end saving potential. PaI is able to find sparse subnetworks at initialization that can achieve comparable performance to the full networks. These methods can surpass the trivial baseline of random pruning but suffer from a significant performance gap compared to post-training pruning. Previous approaches firmly rely on weights, gradients, and sanity checks as primary signals when conducting PaI analysis. To better understand the underlying mechanism of PaI, we propose to interpret it through the lens of the Ramanujan Graph - a class of expander graphs that are sparse while being highly connected. It is often believed there should be a strong correlation between the Ramanujan graph and PaI since both are about finding sparse and well-connected neural networks. However, the finer-grained link relating highly sparse and connected networks to their relative performance (i.e., ranking of difference sparse structures at the same specific global sparsity) is still missing. We observe that not only the Ramanujan property for sparse networks shows no significant relationship to PaI’s relative performance, but maximizing it can also lead to the formation of pseudo-random graphs with no structural meanings. We reveal the underlying cause to be Ramanujan Graph’s strong assumption on the upper bound of the largest nontrivial eigenvalue (µˆ) of layers belonging to highly sparse networks. We hence propose Iterative Mean Difference of Bound (IMDB) as a mean to relax the µˆ upper bound. Likewise, we also show there exists a lower bound for µˆ, which we call the Normalized Random Coefficient (NaRC), that gives us an accurate assessment for when sparse but highly connected structure degenerates into naive randomness. Finally, we systematically analyze the behavior of various PaI methods and demonstrate the utility of our proposed metrics in characterizing PaI performance. We show that subnetworks preserving better the IMDB property correlate higher in performance, while NaRC provides us with a possible mean to locate the region where highly connected, highly sparse, and non-trivial Ramanujan expanders exist. Our code is available at: https://github.com/VITA-Group/ramanujan-on-pai.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models 引用了 A Simple and Effective Pruning Approach for Large Language Models
- Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language Models 引用了 Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models
- Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language Models 引用了 A Simple and Effective Pruning Approach for Large Language Models
引用它的顶会 Paper16
- A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 次引用
- TM2D: Bimodality Driven 3D Dance Generation via Music-Text IntegrationKehong Gong, Dongze Lian, Heng Chang, Chuan Guo 等ICCV 2023 · 103 次引用
- More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using SparsityShiwei Liu, Tianlong Chen, Xiaohan Chen, Xuxi Chen 等ICLR 2023 · 87 次引用
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language ModelsYingtao Zhang, Haoli Bai, Haokun Lin, Jialin Zhao 等ICLR 2024 · 72 次引用
- Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language ModelsPeijie Dong, Lujun Li, Zhenheng Tang, Xiang Liu 等ICML 2024 · 64 次引用
相关 Paper
- Don't just prune by magnitude! Your mask topology is a secret weaponDuc Hoang, Souvik Kundu, Shiwei Liu, Zhangyang WangNeurIPS 2023 · 5 次引用
- A Study on the Ramanujan Graph Property of Winning Lottery TicketsBithika Pal, Arindam Biswas, Sudeshna Kolay, Pabitra Mitra 等ICML 2022 · 11 次引用
- Towards Data-Agnostic Pruning At Initialization: What Makes a Good Sparse Mask?Hoang Pham, The-Anh Ta, Shiwei Liu, Lichuan Xiang 等NeurIPS 2023 · 16 次引用
- Pruning Randomly Initialized Neural Networks with Iterative RandomizationDaiki Chijiwa, Shin'ya Yamaguchi, Yasutoshi Ida, Kenji Umakoshi 等NeurIPS 2021 · 31 次引用
- Sanity-Checking Pruning Methods: Random Tickets can Win the JackpotJingtong Su, Yihang Chen, Tianle Cai, Tianhao Wu 等NeurIPS 2020 · 100 次引用
