一种三元权值二值输入卷积神经网络:在嵌入式处理器上的实现

H. Yonekawa, Shimpei Sato, Hiroki Nakahara
{"title":"一种三元权值二值输入卷积神经网络:在嵌入式处理器上的实现","authors":"H. Yonekawa, Shimpei Sato, Hiroki Nakahara","doi":"10.1109/ISMVL.2018.00038","DOIUrl":null,"url":null,"abstract":"In image recognition, techniques using a convolutional neural network (CNN) have been extensively studied and are widely used in various applications, such as a handwritten character recognition, a face recognition, a scene determination, and an object recognition. It has an enormous amount of computational complexity and internal parameters, and it is often implemented in high-performance GPUs. However, the embedded system requires real-time image recognition with a low-power consumption. In such systems, a binarized CNN has been proposed for the embedded system. It can achieve efficient implementation by restricting the values that the parameters inside CNN treating -1 and +1, and low bit precision of operations and memory. In the paper, we extend to a ternary weight binary input CNN to further increase its performance with a low-performance embedded processor. In the ternarized CNN, values that internal weight can take -1, +1 and 0, where zero weight can be realized by a skip computation. Since the number of possible states of the ternarized CNN is larger than that of the binarized CNN, high recognition accuracy can be obtained. Furthermore, we study an optimal training algorithm in the ternarized CNN and show the results by computer experiment. Comparison with the binarized CNN, as for the ARM processor, the ternary weight CNN was 8.13 times faster than the binary weight one.","PeriodicalId":434323,"journal":{"name":"2018 IEEE 48th International Symposium on Multiple-Valued Logic (ISMVL)","volume":"55 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"13","resultStr":"{\"title\":\"A Ternary Weight Binary Input Convolutional Neural Network: Realization on the Embedded Processor\",\"authors\":\"H. Yonekawa, Shimpei Sato, Hiroki Nakahara\",\"doi\":\"10.1109/ISMVL.2018.00038\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In image recognition, techniques using a convolutional neural network (CNN) have been extensively studied and are widely used in various applications, such as a handwritten character recognition, a face recognition, a scene determination, and an object recognition. It has an enormous amount of computational complexity and internal parameters, and it is often implemented in high-performance GPUs. However, the embedded system requires real-time image recognition with a low-power consumption. In such systems, a binarized CNN has been proposed for the embedded system. It can achieve efficient implementation by restricting the values that the parameters inside CNN treating -1 and +1, and low bit precision of operations and memory. In the paper, we extend to a ternary weight binary input CNN to further increase its performance with a low-performance embedded processor. In the ternarized CNN, values that internal weight can take -1, +1 and 0, where zero weight can be realized by a skip computation. Since the number of possible states of the ternarized CNN is larger than that of the binarized CNN, high recognition accuracy can be obtained. Furthermore, we study an optimal training algorithm in the ternarized CNN and show the results by computer experiment. Comparison with the binarized CNN, as for the ARM processor, the ternary weight CNN was 8.13 times faster than the binary weight one.\",\"PeriodicalId\":434323,\"journal\":{\"name\":\"2018 IEEE 48th International Symposium on Multiple-Valued Logic (ISMVL)\",\"volume\":\"55 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"13\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 IEEE 48th International Symposium on Multiple-Valued Logic (ISMVL)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISMVL.2018.00038\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE 48th International Symposium on Multiple-Valued Logic (ISMVL)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISMVL.2018.00038","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 13

摘要

在图像识别中,使用卷积神经网络(CNN)的技术已经得到了广泛的研究,并广泛应用于各种应用,如手写字符识别、人脸识别、场景确定和物体识别。它具有巨大的计算复杂性和内部参数,并且通常在高性能gpu中实现。然而,嵌入式系统需要低功耗的实时图像识别。在这种系统中,针对嵌入式系统提出了一种二值化CNN。通过限制CNN内部参数处理-1和+1的值,以及操作和内存的低位精度,可以实现高效的实现。在本文中,我们扩展到一个三元权值二进制输入CNN,以进一步提高其性能与低性能的嵌入式处理器。在三元化CNN中,内部权值可以取-1、+1和0,其中权值为零可以通过跳过计算实现。由于三化CNN的可能状态数比二值化CNN的多,因此可以获得较高的识别精度。在此基础上,研究了一种三化CNN的最优训练算法,并通过计算机实验给出了训练结果。与二值化CNN相比,在ARM处理器上,三元权值CNN比二值权值CNN快8.13倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A Ternary Weight Binary Input Convolutional Neural Network: Realization on the Embedded Processor
In image recognition, techniques using a convolutional neural network (CNN) have been extensively studied and are widely used in various applications, such as a handwritten character recognition, a face recognition, a scene determination, and an object recognition. It has an enormous amount of computational complexity and internal parameters, and it is often implemented in high-performance GPUs. However, the embedded system requires real-time image recognition with a low-power consumption. In such systems, a binarized CNN has been proposed for the embedded system. It can achieve efficient implementation by restricting the values that the parameters inside CNN treating -1 and +1, and low bit precision of operations and memory. In the paper, we extend to a ternary weight binary input CNN to further increase its performance with a low-performance embedded processor. In the ternarized CNN, values that internal weight can take -1, +1 and 0, where zero weight can be realized by a skip computation. Since the number of possible states of the ternarized CNN is larger than that of the binarized CNN, high recognition accuracy can be obtained. Furthermore, we study an optimal training algorithm in the ternarized CNN and show the results by computer experiment. Comparison with the binarized CNN, as for the ARM processor, the ternary weight CNN was 8.13 times faster than the binary weight one.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信