arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.09411cs.LGcs.AIcs.CLcs.CV
收藏

OTOv3: 从结构化剪枝到算子擦除的自动架构无关神经网络训练与压缩

OTOv3: Automatic Architecture-Agnostic Neural Network Training and Compression from Structured Pruning to Erasing Operators

Microsoft(微软);The Ohio State of University(俄亥俄州立大学)

Tianyi Chen, Tianyu Ding, Zhihui Zhu, Zeyu Chen, HsiangTao Wu, Ilya Zharkov, Luming Liang

AI总结:

针对现有DNN压缩方法流程复杂、需大量专业知识的问题,提出OTOv3框架,通过依赖图分析、DHSPG/H2SPG算法等实现免微调的自动训练压缩,性能达SOTA。

摘要:

将预定义的深度神经网络(DNN)压缩为性能具有竞争力的紧凑子网络,在高效机器学习领域至关重要。该主题涵盖从结构化剪枝到神经架构搜索的多种技术,包含剪枝和算子擦除两种视角。尽管已有进展,现有方法仍存在流程复杂、多阶段的问题,需要大量工程经验和领域知识,限制了其更广泛的应用。我们推出第三代Only-Train-Once(仅训练一次,OTOv3),它首次通过剪枝和擦除操作自动训练并压缩通用DNN,无需微调即可生成紧凑且性能优异的子网络。OTOv3简化并自动化了训练与压缩流程,最大程度减少了用户所需的工程工作量。它具备三项关键技术突破:(i)基于依赖图分析为通用DNN自动构建搜索空间;(ii)双半空间投影梯度(DHSPG)及其带分层搜索的增强版本(H2SPG),可可靠求解(分层)结构化稀疏问题并确保子网络的有效性;(iii)利用DHSPG/H2SPG的解和依赖图自动构建子网络。我们的实验结果证明了OTOv3在结构化剪枝和神经架构搜索的多个基准测试上的有效性,其生成的子网络性能达到或超越了当前最优水平。源代码将发布于https://github.com/tianyic/only_train_once。

英文摘要:

Compressing a predefined deep neural network (DNN) into a compact sub-network with competitive performance is crucial in the efficient machine learning realm. This topic spans various techniques, from structured pruning to neural architecture search, encompassing both pruning and erasing operators perspectives. Despite advancements, existing methods suffers from complex, multi-stage processes that demand substantial engineering and domain knowledge, limiting their broader applications. We introduce the third-generation Only-Train-Once (OTOv3), which first automatically trains and compresses a general DNN through pruning and erasing operations, creating a compact and competitive sub-network without the need of fine-tuning. OTOv3 simplifies and automates the training and compression process, minimizes the engineering efforts required from users. It offers key technological advancements: (i) automatic search space construction for general DNNs based on dependency graph analysis; (ii) Dual Half-Space Projected Gradient (DHSPG) and its enhanced version with hierarchical search (H2SPG) to reliably solve (hierarchical) structured sparsity problems and ensure sub-network validity; and (iii) automated sub-network construction using solutions from DHSPG/H2SPG and dependency graphs. Our empirical results demonstrate the efficacy of OTOv3 across various benchmarks in structured pruning and neural architecture search. OTOv3 produces sub-networks that match or exceed the state-of-the-arts. The source code will be available at https://github.com/tianyic/only_train_once.

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

↑