arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.00087cs.LGcs.CCcs.CVeess.SPstat.ME
收藏

低复杂度近似卷积神经网络

Low-complexity Approximate Convolutional Neural Networks

Universidade Federal de Pernambuco(伯南布哥联邦大学);Université de Lyon(里昂大学)

R. J. Cintra, S. Duffner, C. Garcia, A. Leite

摘要:

在本文中,我们提出了一种方法,用于最小化训练的卷积神经网络(ConvNet)的计算复杂性。其思想是近似给定ConvNet的所有元素,并使用能够极大降低计算复杂性的有效近似来替换原始卷积滤波器和参数(池化和偏置系数;以及激活函数)。低复杂度的卷积滤波器是通过一个二进制(0 - 1)线性规划计划的基础上Frobenius范数集的二进有理数。所得到的矩阵允许无乘法计算,只需要加法和移位运算。这种低复杂度的结构为低功耗、高效的硬件设计铺平了道路。我们将我们的方法应用于三个不同复杂度的用例:(i)用于人脸检测的“轻型”但高效的ConvNet(约有1000个参数);(ii)另一个用于手写数字分类的ConvNet(超过180000个参数);以及(iii)更大的ConvNet:AlexNet,具有$\approx$ 120万个矩阵。我们评估了不同近似水平下各自任务的整体表现。在所有考虑的应用程序中,非常低的复杂性近似已被导出保持几乎相等的分类性能。

英文摘要:

In this paper, we present an approach for minimizing the computational complexity of trained Convolutional Neural Networks (ConvNet). The idea is to approximate all elements of a given ConvNet and replace the original convolutional filters and parameters (pooling and bias coefficients; and activation function) with efficient approximations capable of extreme reductions in computational complexity. Low-complexity convolution filters are obtained through a binary (zero-one) linear programming scheme based on the Frobenius norm over sets of dyadic rationals. The resulting matrices allow for multiplication-free computations requiring only addition and bit-shifting operations. Such low-complexity structures pave the way for low-power, efficient hardware designs. We applied our approach on three use cases of different complexity: (i) a "light" but efficient ConvNet for face detection (with around 1000 parameters); (ii) another one for hand-written digit classification (with more than 180000 parameters); and (iii) a significantly larger ConvNet: AlexNet with $\approx$1.2 million matrices. We evaluated the overall performance on the respective tasks for different levels of approximations. In all considered applications, very low-complexity approximations have been derived maintaining an almost equal classification performance.

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

↑