CoDeNet:在嵌入式FPGA上高效部署输入自适应目标检测
CoDeNet: Efficient Deployment of Input-Adaptive Object Detection on Embedded FPGAs
摘要:
由于计算资源有限,在嵌入式系统上部署深度学习模型一直具有挑战性。大部分现有的工作集中在加速图像分类,而其他基本的视觉问题,如目标检测,还没有得到充分的解决。与图像分类相比,检测问题对对象的空间变化更敏感,因此需要专门的卷积来聚合空间信息。为了满足这一需求,最近的工作引入了动态可变形卷积来增强常规卷积。然而,这将导致利用现有硬件对输入的低效存储器访问。在这项工作中,我们利用FPGA的灵活性,开发了一种新的目标检测管道与变形卷积。我们展示了一组算法修改的速度-精度权衡,包括不规则访问与有限范围和固定形状。然后,我们用修改后的可变形卷积共同设计了一个网络码网,并将其扩展到4位权重和8位激活。通过我们的高效实施,我们的解决方案在0.76 MB的微小模型大小下达到每秒26.9帧,同时在标准目标检测数据集Pascal VOC上达到61.7 AP 50。通过我们更高的精度实现,我们的模型在Pascal VOC上达到67.1 AP 50,参数只有2.9 MB-比Tiny-YOLO小20.9倍,但精度高10%。
英文摘要:
Deploying deep learning models on embedded systems has been challenging due to limited computing resources. The majority of existing work focuses on accelerating image classification, while other fundamental vision problems, such as object detection, have not been adequately addressed. Compared with image classification, detection problems are more sensitive to the spatial variance of objects, and therefore, require specialized convolutions to aggregate spatial information. To address this need, recent work introduces dynamic deformable convolution to augment regular convolutions. However, this will lead to inefficient memory accesses of inputs with existing hardware. In this work, we harness the flexibility of FPGAs to develop a novel object detection pipeline with deformable convolutions. We show the speed-accuracy tradeoffs for a set of algorithm modifications including irregular-access versus limited-range and fixed-shape. We then Co-Design a Network CoDeNet with the modified deformable convolution and quantize it to 4-bit weights and 8-bit activations. With our high-efficiency implementation, our solution reaches 26.9 frames per second with a tiny model size of 0.76 MB while achieving 61.7 AP50 on the standard object detection dataset, Pascal VOC. With our higher accuracy implementation, our model gets to 67.1 AP50 on Pascal VOC with only 2.9 MB of parameters-20.9x smaller but 10% more accurate than Tiny-YOLO.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。