arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.09085cs.LGcs.CVeess.IV
收藏

HESSO:迈向自动高效且用户友好的任意神经网络训练与剪枝

HESSO: Towards Automatic Efficient and User Friendly Any Neural Network Training and Pruning

Applied Sciences Group(应用科学组);Microsoft(微软)

Tianyi Chen, Xiaoyi Qu, David Aponte, Colby Banbury, Jongwoo Ko, Tianyu Ding, Yong Ma, Vladimir Lyapunov, Ilya Zharkov, Luming Liang

AI总结:

本文提出 HESSO 稀疏优化器,实现几乎无需调参的自动高效 DNN 训练与结构化剪枝,并引入 CRIC 机制防止不可逆性能崩溃,在视觉、NLP 及大模型上取得优于现有方法的性能。

摘要:

结构化剪枝是将重型深度神经网络(DNNs)有效压缩为紧凑子网络同时保持性能的最流行方法之一。现有方法存在多阶段流程以及大量工程工作和人类专业知识的问题。最近提出的 Only-Train-Once(OTO)系列通过自动执行(i)搜索空间生成、(ii)结构化稀疏优化和(iii)子网络构建来简化工作流程,从而解决了许多痛点。然而,OTO 系列中内置的稀疏优化器,即 Half-Space Projected Gradient(HSPG)家族,存在需要超参数调优以及对稀疏性探索的隐式控制的局限性,因此需要人类专业知识的干预。为了解决这些局限性,我们提出了一种 Hybrid Efficient Structured Sparse Optimizer(HESSO)。HESSO 能够自动且高效地训练 DNN 以产生高性能子网络。同时,它几乎无需调优,并且对于通用训练应用具有用户友好的集成性。为了解决在剪枝 DNN 中观察到的另一个常见问题——不可逆的性能崩溃,我们进一步提出了一种 Corrective Redundant Identification Cycle(CRIC),用于可靠地识别不可或缺的结构。我们在从计算机视觉到自然语言处理(包括大型语言模型)的各种应用上数值证明了 HESSO 及其增强版本 HESSO-CRIC 的有效性。数值结果表明,HESSO 能够取得与各种最先进方法相比具有竞争力甚至更优越的性能,并支持大多数 DNN 架构。同时,CRIC 能够有效防止不可逆的性能崩溃,并在某些应用上进一步增强 HESSO 的性能。

英文摘要:

Structured pruning is one of the most popular approaches to effectively compress the heavy deep neural networks (DNNs) into compact sub-networks while retaining performance. The existing methods suffer from multi-stage procedures along with significant engineering efforts and human expertise. The Only-Train-Once (OTO) series has been recently proposed to resolve the many pain points by streamlining the workflow by automatically conducting (i) search space generation, (ii) structured sparse optimization, and (iii) sub-network construction. However, the built-in sparse optimizers in the OTO series, i.e., the Half-Space Projected Gradient (HSPG) family, have limitations that require hyper-parameter tuning and the implicit controls of the sparsity exploration, consequently requires intervening by human expertise. To address such limitations, we propose a Hybrid Efficient Structured Sparse Optimizer (HESSO). HESSO could automatically and efficiently train a DNN to produce a high-performing subnetwork. Meanwhile, it is almost tuning-free and enjoys user-friendly integration for generic training applications. To address another common issue of irreversible performance collapse observed in pruning DNNs, we further propose a Corrective Redundant Identification Cycle (CRIC) for reliably identifying indispensable structures. We numerically demonstrate the efficacy of HESSO and its enhanced version HESSO-CRIC on a variety of applications ranging from computer vision to natural language processing, including large language model. The numerical results showcase that HESSO can achieve competitive even superior performance to varying state-of-the-arts and support most DNN architectures. Meanwhile, CRIC can effectively prevent the irreversible performance collapse and further enhance the performance of HESSO on certain applications.

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

↑