arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.22811cs.CVcs.ARcs.LG
收藏

面向硬件高效的限速标志识别的重放剪枝与少比特整数推理

Replay Pruning and Few-Bit Integer Inference for Hardware-Efficient Speed-Sign Recognition

UX Factory, Inc.(UX工厂公司);BTree Co., Ltd.(BTree有限公司)

Se Un Park, Kyungkeon Chung, Huigeol Kim, Junyoung Park

AI总结:

该研究针对汽车SoC的限速标志识别需求,采用通道重放剪枝压缩YOLO检测器,结合W4A8整数推理优化阅读器,实现了硬件高效、精度与速度兼顾的识别系统。

摘要:

汽车相机系统芯片(SoC)上的限速标志识别需将检测器和分类器(阅读器)适配到设备的内存、运算和能量预算中。本文的两阶段识别器中,检测器为带ReLU和hard-sigmoid算子的YOLO系列网络,通过通道重放压缩:迭代剪枝级联确定需移除的通道,将记录的删除操作在原始任务训练的父网络上重放,随后进行一次连续的知识蒸馏恢复。在YOLOv5n上,重放移除60.3%的参数且精度与父网络相当,在5个匹配种子的验证mAP50-95上,其性能优于迭代剪枝和从头训练,而其每步变体(每步重放)是最准确的剪枝方法;在YOLOv8n上,重放和每步重放的性能优于其他所有方法及未剪枝的父网络。阅读器为含1.8万个参数的五层CNN,YOLOv5n和YOLOv8n头部的后处理仅使用整数运算。采用4比特权重和8比特激活(W4A8)时,阅读器在12.1KB的片上内存中达到与FP32相当的精度,且可执行的流式模型在全部9850个测试裁剪样本上复现了其运行时的INT8类别预测。在Jetson AGX Orin上,INT8仅在TensorRT的隐式实现中比FP16更快,且重放检测器在深度学习加速器(DLA)上运行最快。仅基于公开数据训练的、含0.72M参数的组合系统,在90%精度下可识别95.2%的保留汽车相机拍摄的标志,帧率达94帧/秒。

英文摘要:

Speed-limit sign recognition on an automotive camera system-on-chip (SoC) must fit a detector and a classifier (the reader) into the memory, arithmetic, and energy budgets of the device. In our two-stage recognizer, the detector, a YOLO-family network with ReLU and hard-sigmoid operators, is compressed by channel replay: an iterative pruning cascade identifies the channels to remove, the recorded deletions are replayed on the original task-trained network, the parent, and one continuous knowledge-distillation recovery follows. On a YOLOv5n, replay removes 60.3% of the parameters at the accuracy of the parent and, in validation mAP50-95 over five matched seeds, outperforms iterative pruning and training from scratch, and its per-step variant (per-step replay) is the most accurate pruning method. On a YOLOv8n, replay and per-step replay outperform every other method and the unpruned parent. The reader, a five-layer CNN with 18k parameters, and the post-processing of the YOLOv5n and YOLOv8n heads use integer arithmetic only. With 4-bit weights and 8-bit activations (W4A8), the reader matches FP32 accuracy in 12.1 KB of on-chip memory, and an executable streaming model reproduces the INT8 class predictions of its runtime on all 9,850 test crops. On a Jetson AGX Orin, INT8 is faster than FP16 only in the implicit formulation of TensorRT, and the replay detector runs fastest on the deep-learning accelerator (DLA). Trained on public data only, the combined system of 0.72 M parameters recognizes 95.2% of the signs of a held-out automotive camera at 90% precision and 94 frames per second.

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

↑