Compressing Deep Neural Network (DNN) models to alleviate the storage and computation requirements is essential for practical applications, especially for resource limited devices. Although capable of reducing a reasonable amount of model parameters, previous unstructured or structured weight pruning methods can hardly truly accelerate inference, either due to the poor hardware compatibility of the unstructured sparsity or due to the low sparse rate of the structurally pruned network. Aiming at reducing both storage and computation, as well as preserving the original task performance, we propose a generalized weight unification framework at a hardware compatible micro-structured level to achieve high amount of compression and acceleration. Weight coefficients of a selected micro-structured block are unified to reduce the storage and computation of the block without changing the neuron connections, which turns to a micro-structured pruning special case when all unified coefficients are set to zero, where neuron connections (hence storage and computation) are completely removed. In addition, we developed an effective training framework based on the alternating direction method of multipliers (ADMM), which converts our complex constrained optimization into separately solvable subproblems. Through iteratively optimizing the subproblems, the desired micro-structure can be ensured with high compression ratio and low performance degradation. We extensively evaluated our method using a variety of benchmark models and datasets for different applications. Experimental results demonstrate state-of-the-art performance.
HiAP: A Multi-Granular Stochastic Auto-Pruning Framework for Vision Transformers
School of Natural and Computing Sciences, University of Aberdeen(阿伯丁大学自然与计算科学学院);School of Computing Sciences, University of East Anglia(东安格利亚大学计算科学学院);Department of Physics and Technology, UiT The Arctic University of Norway(挪威北极大学物理与技术系)
Weight, Block or Unit? Exploring Sparsity Tradeoffs for Speech Enhancement on Tiny Neural Accelerators
Bose Corp.(博士音响公司);University of Oldenburg(奥尔登堡大学)
我们探索网络稀疏化策略,目的是将神经语音增强(SE)压缩到新一代基于低功耗微控制器的神经加速器(microNPU)的最佳配置。我们研究了三种独特的稀疏结构:权重修剪,块修剪和单元修剪,并讨论了它们的优点和缺点时,适用于SE。我们专注于计算吞吐量,内存占用和模型质量之间的相互作用。我们的方法支持上述所有三种结构,并联合学习整数量化权重和稀疏性。此外,我们展示了离线幅度为基础的修剪整数量化模型作为性能基线。虽然有效的语音增强是一个活跃的研究领域,我们的工作是第一个应用块修剪SE和第一个解决SE模型压缩的microNPU的上下文中。使用权重修剪,我们表明我们能够将已经紧凑的模型的内存占用从3.7MB压缩到87kB,同时仅损失0.1 dB SDR的性能。我们还显示了6.7倍的计算加速比,使用块修剪时相应的SDR下降仅为0.59 dB SDR。
Real-Time Stress Detection via Photoplethysmogram Signals: Implementation of a Combined Continuous Wavelet Transform and Convolutional Neural Network on Resource-Constrained Microcontrollers
University of Tehran(德黑兰大学);Kettering University(凯特林大学)