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

用于计算机视觉任务中块/输出通道剪枝的分离、动态且可微分(SMART)剪枝器

Separate, Dynamic and Differentiable (SMART) Pruner for Block/Output Channel Pruning on Computer Vision Tasks

Black Sesame Technology(黑芝麻科技)

Guanhua Ding, Zexi Ye, Zhen Zhong, Gang Li, David Shao

AI总结:

针对现有块剪枝算法无法同时满足高精度、资源精确控制和收敛保证的问题,提出SMART剪枝算法,通过结合权重与激活信息、可微分top-k算子及收敛保证,在多模型、数据集和任务上实现了块剪枝的最先进性能。

摘要:

块剪枝通过消除连续的权重块,是一种能显著提升神经处理单元(NPUs)性能的结构化剪枝方法。在工业应用中,理想的块剪枝算法需满足三个关键要求:(1)在不同模型和任务中保持高精度,因为边缘设备上的机器学习部署通常对精度要求严格;(2)提供对资源约束的精确控制以方便用户采用;(3)提供收敛保证以防止性能不稳定。然而,据我们所知,现有块剪枝算法均无法同时满足这三个要求。本文提出SMART(分离、动态且可微分)剪枝,一种旨在填补这一空白的新算法。SMART利用权重和激活信息提升精度,采用可微分top-k算子精确控制资源约束,并在温和条件下提供收敛保证。涉及7个模型、4个数据集、3种不同块类型和3个计算机视觉任务的大量实验表明,SMART剪枝在块剪枝中实现了最先进的性能。

英文摘要:

Block pruning, which eliminates contiguous blocks of weights, is a structural pruning method that can significantly enhance the performance of neural processing units (NPUs). In industrial applications, an ideal block pruning algorithm should meet three key requirements: (1) maintain high accuracy across diverse models and tasks, as machine learning deployments on edge devices are typically accuracy-critical; (2) offer precise control over resource constraints to facilitate user adoption; and (3) provide convergence guarantees to prevent performance instability. However, to the best of our knowledge, no existing block pruning algorithm satisfies all three requirements simultaneously. In this paper, we introduce SMART (Separate, Dynamic, and Differentiable) pruning, a novel algorithm designed to address this gap. SMART leverages both weight and activation information to enhance accuracy, employs a differentiable top-k operator for precise control of resource constraints, and offers convergence guarantees under mild conditions. Extensive experiments involving seven models, four datasets, three different block types, and three computer vision tasks demonstrate that SMART pruning achieves state-of-the-art performance in block pruning.

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

↑