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

LMIINet与CGRA4ML框架在自动驾驶FPGA上的实时语义分割

Real-Time Semantic Segmentation on FPGA for Autonomous Vehicles Using LMIINet with the CGRA4ML Framework

Department of Electrical Engineering, Iran University of Science and Technology (IUST)(电气工程系,伊朗科学技术大学)

Amir Mohammad Khadem Hosseini, Sattar Mirzakuchaki

AI总结:

本研究利用LMIINet和CGRA4ML框架在FPGA上实现实时语义分割,通过量化感知训练和硬件友好修改,在ZCU104上达到90%像素精度和45% mIoU,以20 FPS运行,功耗效率优于GPU。

摘要:

语义分割已成为计算机视觉中的一个基本问题,在自动驾驶等实时应用中尤为重要。主要挑战是在计算和硬件约束下实现高精度。在本研究中,我们提出了一种基于FPGA的实时语义分割实现,利用轻量级LMIINet架构和用于机器学习的粗粒度可重构阵列(CGRA4ML)硬件框架。该模型使用量化感知训练(QAT)在Cityscapes数据集上以8位精度进行训练,将内存占用减少四倍,同时实现高效的定点计算。为适应CGRA4ML的约束,我们进行了必要的修改,包括简化跳跃连接、采用硬件友好的操作(如深度可分离卷积和1A-1卷积),以及重新设计Flatten Transformer的部分结构。我们的实现在ZCU104 FPGA板上实现了约90%的像素精度和45%的平均交并比(mIoU),以20帧每秒(FPS)的实时速度运行,延迟为50.1毫秒。结果表明,CGRA4ML在映射现代层和利用片外内存进行跳跃连接方面的灵活性,为在FPGA上实现高级语义分割网络用于实时应用提供了一条路径,在保持竞争性精度的同时,在功耗效率上优于传统GPU解决方案。该项目的代码公开于https://github.com/STAmirr/cgra4ml_semantic_segmentation。

英文摘要:

Semantic segmentation has emerged as a fundamental problem in computer vision, gaining particular importance in real-time applications such as autonomous driving. The main challenge is achieving high accuracy while operating under computational and hardware constraints. In this research, we present an FPGA-based implementation of real-time semantic segmentation leveraging the lightweight LMIINet architecture and the Coarse-Grained Reconfigurable Array for Machine Learning (CGRA4ML) hardware framework. The model was trained using Quantization-Aware Training (QAT) with 8-bit precision on the Cityscapes dataset, reducing memory footprint by a factor of four while enabling efficient fixed-point computations. Necessary modifications were applied to adapt the model to CGRA4ML constraints, including simplifying skip connections, employing hardware-friendly operations such as depthwise-separable and 1A-1 convolutions, and redesigning parts of the Flatten Transformer. Our implementation achieves approximately 90% pixel accuracy and 45% mean Intersection-over-Union (mIoU), operating in real-time at 20 frames per second (FPS) with 50.1 ms latency on the ZCU104 FPGA board. The results demonstrate the potential of CGRA4ML, with its flexibility in mapping modern layers and off-chip memory utilization for skip connections, provides a path for implementing advanced semantic segmentation networks on FPGA for real-time applications to outperform traditional GPU solutions in terms of power efficiency while maintaining competitive accuracy. The code for this project is publicly available at https://github.com/STAmirr/ cgra4ml_semantic_segmentation

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

↑