Replay Pruning and Few-Bit Integer Inference for Hardware-Efficient Speed-Sign Recognition
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AR, cs.LG
Related papers
Edge Deployable Lightweight Framework for Real-Time Driver Safety System with Integrated Lane Departure and Traffic Sign Recognition
Shared title terminologycs.CVHassaan Ali Qureshi, Danish Hussain, Ali Hassan et al.
Sink-Sparse Hybrid Attention for Efficient Inference in T2I/T2V Diffusion Transformers
Shared title terminologycs.CVBingxin Xing, Yu Zhang, Jiatong Ding et al.
Detector Operating Behavior Inference via Data-Space Sampling
Shared title terminologycs.CVStefan Becker, Simon Weiss, Wolfgang Hübner
SPARC: Geometry-Guided Attention Pruning for Long-Horizon Camera-Controlled Video Generation
Shared title terminologycs.CVZesong Yang, Weikai Chen, Liyuan Cui et al.
A Computational Model of Continuous Recognition Memory for Natural Images
Shared title terminologycs.CVSheng Zhao, Yijin Wang, Bei Xiao et al.
ScanAR: Parallel Row-Scan Decoding for Efficient Image Generation in Unified Autoregressive Models
Shared title terminologycs.CVJingen Qu, Xi Chen, Yingbo Tang et al.