arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.02141cs.LG
收藏

稀疏可能哭泣:让我们一起失败(当前)稀疏神经网络!

Sparsity May Cry: Let Us Fail (Current) Sparse Neural Networks Together!

University of Texas at Austin(德克萨斯大学奥斯汀分校);Eindhoven University of Technology(埃因霍温理工大学)

Shiwei Liu, Tianlong Chen, Zhenyu Zhang, Xuxi Chen, Tianjin Huang, Ajay Jaiswal, Zhangyang Wang

摘要:

稀疏神经网络(SNN)已经受到了极大的关注,这主要是由于大规模模型中不断爆炸的参数计数的计算和内存足迹不断增长。与它们的密集对应物类似,最近的SNN也具有同样的泛化能力,并且具有许多有利的优点(例如,低复杂性、高可扩展性和鲁棒性),有时甚至比原始的密集网络更好。由于研究工作的重点是开发越来越复杂的稀疏算法,这是令人惊讶的是,一个全面的基准来评估这些算法的有效性已被高度忽视。在缺乏精心设计的评估基准的情况下,大多数(如果不是全部的话)稀疏算法都是针对相当简单和幼稚的任务进行评估的。CIFAR、ImageNet、GLUE等),这可能潜在地掩盖SNN的许多优点以及意想不到的困境。为了进行更全面的评估并揭示稀疏算法的真正潜力,我们引入了“稀疏可能会哭泣”基准测试(SMC-Bench),这是一个精心策划的4个不同任务的集合,包含10个数据集,用于捕获广泛的特定领域和复杂的知识。我们对最具代表性的稀疏算法的系统评估揭示了一个重要的模糊观察:最先进的基于幅度和/或梯度的稀疏算法在开箱即用时似乎无法在SMC-Bench上执行,有时稀疏度低至5%。通过整合这些经过深思熟虑和多样化的任务,SMC-Bench旨在支持和鼓励开发更具可扩展性和可推广性的稀疏算法。

英文摘要:

Sparse Neural Networks (SNNs) have received voluminous attention predominantly due to growing computational and memory footprints of consistently exploding parameter count in large-scale models. Similar to their dense counterparts, recent SNNs generalize just as well and are equipped with numerous favorable benefits (e.g., low complexity, high scalability, and robustness), sometimes even better than the original dense networks. As research effort is focused on developing increasingly sophisticated sparse algorithms, it is startling that a comprehensive benchmark to evaluate the effectiveness of these algorithms has been highly overlooked. In absence of a carefully crafted evaluation benchmark, most if not all, sparse algorithms are evaluated against fairly simple and naive tasks (eg. CIFAR, ImageNet, GLUE, etc.), which can potentially camouflage many advantages as well unexpected predicaments of SNNs. In pursuit of a more general evaluation and unveiling the true potential of sparse algorithms, we introduce "Sparsity May Cry" Benchmark (SMC-Bench), a collection of carefully-curated 4 diverse tasks with 10 datasets, that accounts for capturing a wide range of domain-specific and sophisticated knowledge. Our systemic evaluation of the most representative sparse algorithms reveals an important obscured observation: the state-of-the-art magnitude- and/or gradient-based sparse algorithms seemingly fail to perform on SMC-Bench when applied out-of-the-box, sometimes at significantly trivial sparsity as low as 5%. By incorporating these well-thought and diverse tasks, SMC-Bench is designed to favor and encourage the development of more scalable and generalizable sparse algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑