arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1609.00222cs.LGcs.AIcs.NE
收藏

用于资源高效型AI应用的三值神经网络

Ternary Neural Networks for Resource-Efficient AI Applications

Univ. Grenoble Alpes(格勒诺布尔阿尔卑斯大学);CNRS(法国国家科学研究中心);Grenoble INP(格勒诺布尔理工学院)

Hande Alemdar, Vincent Leroy, Adrien Prost-Boucle, Frédéric Pétrot

摘要:

深度神经网络(DNN)的计算和存储要求通常很高。这个问题限制了它们在智能手机、可穿戴设备和自主无人机等无处不在的计算设备上的部署能力。在本文中,我们提出了三元神经网络(TNN),以使深度学习更具资源效率。我们训练这些TNN使用基于一种新颖的,逐层贪婪方法的师生方法。由于我们的两阶段训练过程,教师网络仍然能够使用最先进的方法,如dropout和批量归一化,以提高准确性并减少训练时间。仅使用三元权重和激活,学生三元网络学习模仿其教师网络的行为,而不使用任何乘法。与其-1,1二元对应物不同,三元神经网络在训练期间通过将其设置为零来固有地修剪较小的权重。这使得它们更稀疏,从而更节能。我们设计了一个专用的TNN硬件架构,并在FPGA和ASIC上实现。我们在几个基准数据集上评估了TNN,并在提高准确性的同时,展示了高达3.1倍的能效。

英文摘要:

The computation and storage requirements for Deep Neural Networks (DNNs) are usually high. This issue limits their deployability on ubiquitous computing devices such as smart phones, wearables and autonomous drones. In this paper, we propose ternary neural networks (TNNs) in order to make deep learning more resource-efficient. We train these TNNs using a teacher-student approach based on a novel, layer-wise greedy methodology. Thanks to our two-stage training procedure, the teacher network is still able to use state-of-the-art methods such as dropout and batch normalization to increase accuracy and reduce training time. Using only ternary weights and activations, the student ternary network learns to mimic the behavior of its teacher network without using any multiplication. Unlike its -1,1 binary counterparts, a ternary neural network inherently prunes the smaller weights by setting them to zero during training. This makes them sparser and thus more energy-efficient. We design a purpose-built hardware architecture for TNNs and implement it on FPGA and ASIC. We evaluate TNNs on several benchmark datasets and demonstrate up to 3.1x better energy efficiency with respect to the state of the art while also improving accuracy.

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

↑