HESSO:面向自动高效且用户友好的任意神经网络训练与剪枝 HESSO: Towards Automatic Efficient and User Friendly Any Neural Network Training and Pruning 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2024-09-11
👁️ 预览文献
💡 AI 中文简介
这篇论文针对深度神经网络压缩中的结构化剪枝问题,提出了HESSO优化器。传统方法需要多阶段流程和大量人工调参,而之前的OTO系列虽然简化了流程,但其内置优化器仍需人工干预。HESSO能自动高效地训练网络并生成高性能子网络,几乎无需调参,且易于集成。此外,作者还提出CRIC机制来防止剪枝导致的性能不可逆崩溃。在计算机视觉、自然语言处理和大语言模型上的实验表明,HESSO性能优于或媲美现有方法,支持大多数网络架构。
领域深度学习模型压缩与加速
适合谁读需要一定专业背景(熟悉神经网络训练和剪枝基础)
核心贡献1. 提出HESSO优化器,实现自动、高效、几乎免调参的神经网络训练与剪枝,简化了OTO系列的工作流程。2. 提出CRIC机制,可靠识别关键结构,防止剪枝中的性能不可逆崩溃。
关键数据在计算机视觉、自然语言处理及大语言模型上,HESSO性能达到或超越多种最新方法,支持大多数DNN架构;CRIC能有效防止性能崩溃并进一步提升性能。
推荐理由如果你正在为神经网络剪枝的繁琐调参和性能下降头疼,这篇论文提出的HESSO和CRIC能让你轻松实现高效压缩,值得一读!
关键词["结构化剪枝", "神经网络压缩", "稀疏优化", "自动机器学习", "大语言模型", "训练与剪枝"]

原文摘要

查看英文原文摘要

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.