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

2-基于ASIC引擎的深度卷积神经网络比特模型压缩

2-bit Model Compression of Deep Convolutional Neural Network on ASIC Engine for Image Retrieval

Gyrfalcon Technology Inc.(Gyrfalcon科技公司)

Bin Yang, Lin Yang, Xiaochun Li, Wenhan Zhang, Hua Zhou, Yequn Zhang, Yongxiong Ren, Yinbo Shi

摘要:

图像检索利用图像描述符来检索与给定查询图像最相似的图像。卷积神经网络(CNN)正成为图像检索中提取图像描述符的主要方法。对于图像检索的低功耗硬件实现,基于CNN的特征描述符的缺点是它需要数百兆字节的存储。为了解决这个问题,本文将深度模型量化和压缩应用于图像检索ASIC芯片中的CNN。它表明,基于CNN的特征描述符可以提取使用少至2位的权重量化提供类似的性能作为浮点模型的图像检索。此外,在ASIC中实现CNN,特别是对于大规模图像,应该考虑芯片的有限缓冲区大小。为了检索大规模图像,我们提出了一种改进的池化策略,即区域嵌套不变性池化(RNIP),它使用CNN的裁剪子图像。片上测试结果表明,将RNIP与所提出的2位CNN模型压缩方法相结合,能够检索大规模图像。

英文摘要:

Image retrieval utilizes image descriptors to retrieve the most similar images to a given query image. Convolutional neural network (CNN) is becoming the dominant approach to extract image descriptors for image retrieval. For low-power hardware implementation of image retrieval, the drawback of CNN-based feature descriptor is that it requires hundreds of megabytes of storage. To address this problem, this paper applies deep model quantization and compression to CNN in ASIC chip for image retrieval. It is demonstrated that the CNN-based features descriptor can be extracted using as few as 2-bit weights quantization to deliver a similar performance as floating-point model for image retrieval. In addition, to implement CNN in ASIC, especially for large scale images, the limited buffer size of chips should be considered. To retrieve large scale images, we propose an improved pooling strategy, region nested invariance pooling (RNIP), which uses cropped sub-images for CNN. Testing results on chip show that integrating RNIP with the proposed 2-bit CNN model compression approach is capable of retrieving large scale images.

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

↑