[论文解读] Efficient Hybrid Network Architectures for Extremely Quantized Neural Networks Enabling Intelligence at the Edge
本文提出了一种混合神经网络架构,通过结合二值化层与全精度层,在极低精度量化网络中实现接近全精度的准确率,利用全精度残差连接缓解性能下降问题。该方法在 ImageNet 上实现了最高 21.8 倍的内存压缩和 13.1 倍的能效提升,证明了在边缘端实现能效高效 AI 的可行性。
The recent advent of `Internet of Things' (IOT) has increased the demand for enabling AI-based edge computing. This has necessitated the search for efficient implementations of neural networks in terms of both computations and storage. Although extreme quantization has proven to be a powerful tool to achieve significant compression over full-precision networks, it can result in significant degradation in performance. In this work, we propose extremely quantized hybrid network architectures with both binary and full-precision sections to emulate the classification performance of full-precision networks while ensuring significant energy efficiency and memory compression. We explore several hybrid network architectures and analyze the performance of the networks in terms of accuracy, energy efficiency and memory compression. We perform our analysis on ResNet and VGG network architectures. Among the proposed network architectures, we show that the hybrid networks with full-precision residual connections emerge as the optimum by attaining accuracies close to full-precision networks while achieving excellent memory compression, up to 21.8x in case of VGG-19. This work demonstrates an effective way of hybridizing networks which achieve performance close to full-precision networks while attaining significant compression, furthering the feasibility of using such networks for energy-efficient neural computing in IOT-based edge devices.
研究动机与目标
- 解决极低精度神经网络中的性能下降问题,特别是在深度网络和 ImageNet 等大规模数据集上的表现。
- 实现在低功耗边缘设备上对物联网 AI 工作负载的能效高效且内存压缩的推理。
- 探索结合二值化与全精度组件的混合网络设计,以平衡准确率、能效与模型压缩。
- 识别出在保持显著压缩优势的同时,能紧密匹配全精度网络性能的最优混合架构。
- 证明在资源受限的边缘环境中,部署压缩且低精度网络用于片上分析的可行性。
提出的方法
- 提出集成二值化与全精度模块的混合网络架构,将全精度残差连接作为关键设计要素。
- 应用 XNOR-Net 的二值化方案(权重和激活使用符号函数,按滤波器的 L1-范数缩放)以支持二值卷积运算。
- 通过在层间或层内逐层插入全精度残差连接,或将网络分段为二值化与全精度部分,设计混合网络。
- 在 CIFAR-100 和 ImageNet 上使用标准基准训练并评估混合网络,对比准确率、能效与内存压缩性能。
- 使用缩放因子 α = ||W||₁ 将二值卷积近似为 X*W ≈ (sign(X) * sign(W)) ⊙ α,实现类似 XNOR 的高效计算。
- 评估多种配置,包括 Hybrid-VGG A(残差结构)、Hybrid-VGG A’(残差路径中增加全精度线性层)和 Hybrid-VGG C(分段结构),以识别最优权衡。
实验结果
研究问题
- RQ1在极低精度设置下,结合二值化与全精度组件的混合网络架构能否实现接近全精度网络的分类准确率?
- RQ2全精度组件的不同布局方式(如残差连接或分段层)如何影响准确率、能效与内存压缩性能?
- RQ3在边缘部署场景下,何种混合架构能在性能、能效与模型压缩之间实现最佳平衡?
- RQ4在大规模数据集(如 ImageNet)上,全精度残差连接是否能缓解二值化网络的性能下降问题?
- RQ5在量化网络中,能在不牺牲分类准确率的前提下,将内存压缩与能效提升到何种程度?
主要发现
- 采用全精度残差连接的混合网络在 ImageNet 上实现了 48.58% 的 top-1 准确率,显著优于 XNOR-Net 基线(37.72%),并接近全精度网络性能。
- Hybrid-VGG A’ 变体在残差路径中增加全精度线性层后,在 ImageNet 上达到 57.53% 的准确率,较 XNOR-Net 基线提升约 20%。
- 采用全精度残差连接的混合网络在 VGG-19 上实现了最高 21.8 倍的内存压缩,展现出强大的模型压缩效率。
- 与全精度网络相比,能效最高提升 13.1 倍,且 Hybrid-VGG A’ 在保持高准确率的同时,实现了 13.1 倍的能效提升。
- 全精度残差连接提供了一种计算开销小但高效的机制,可有效保留量化过程中丢失的信息,从而在极小额外开销下提升性能。
- 在所有评估的架构中,采用全精度残差连接的混合网络在 CIFAR-100 和 ImageNet 上的准确率、能效与内存压缩性能方面均持续优于其他混合配置。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。