arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.00095cs.LG
收藏

从偏微分方程视角看量化卷积神经网络

Quantized Convolutional Neural Networks Through the Lens of Partial Differential Equations

Ben-Gurion University of the Negev(内盖夫本-古里安大学)

Ido Ben-Yair, Gil Ben Shalom, Moshe Eliasof, Eran Treister

AI总结:

本文从PDE视角改进量化CNN,利用全变分边缘感知平滑和前向稳定架构,使网络在不同量化率下保持性能并减少参数。

摘要:

卷积神经网络(CNN)量化是减轻CNN部署(尤其是在低资源边缘设备上)所涉计算负担的常用方法。然而,定点运算并不天然适合神经网络中的计算类型。本文利用基于偏微分方程(PDE)的视角与分析,探索改进量化CNN的方法。首先,我们采用全变分(TV)方法,对整个网络中的特征图施加边缘感知平滑,旨在减少数值分布中的离群值,并促进更适合量化的分段常数图。其次,我们考虑用于图像分类的常见CNN的对称且稳定变体,以及用于图节点分类的图卷积网络(GCN)。通过多项实验,我们证明前向稳定性能够在不同量化率下保持网络的作用。因此,稳定的量化网络即使依赖更少参数,其表现也与非量化对应网络相似。我们还发现,稳定性有时甚至有助于提高准确率。这些特性对于自动驾驶等敏感、资源受限、低功耗或实时应用尤其具有意义。

英文摘要:

Quantization of Convolutional Neural Networks (CNNs) is a common approach to ease the computational burden involved in the deployment of CNNs, especially on low-resource edge devices. However, fixed-point arithmetic is not natural to the type of computations involved in neural networks. In this work, we explore ways to improve quantized CNNs using PDE-based perspective and analysis. First, we harness the total variation (TV) approach to apply edge-aware smoothing to the feature maps throughout the network. This aims to reduce outliers in the distribution of values and promote piece-wise constant maps, which are more suitable for quantization. Secondly, we consider symmetric and stable variants of common CNNs for image classification, and Graph Convolutional Networks (GCNs) for graph node-classification. We demonstrate through several experiments that the property of forward stability preserves the action of a network under different quantization rates. As a result, stable quantized networks behave similarly to their non-quantized counterparts even though they rely on fewer parameters. We also find that at times, stability even aids in improving accuracy. These properties are of particular interest for sensitive, resource-constrained, low-power or real-time applications like autonomous driving.

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

↑