Manuscript Offprint

arXiv:2610.22811

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

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

Se Un Park*, Kyungkeon Chung*, Huigeol Kim†, and Junyoung Park*‡

*UX Factory, Inc. †BTree Co., Ltd. ‡Corresponding author

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

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.

Index Terms—Traffic-sign recognition, structured pruning, knowledge distillation, low-bit quantization, integer-only inference, edge deployment.

I. INTRODUCTION

Speed-limit sign recognition runs on the camera system-on-chip (SoC) of a vehicle, next to the image signal processor (ISP). A single-stage YOLO detector that localizes and classifies the signs in one pass needs megabytes of weights and billions of operations per frame, although the task decomposes into detection over the full frame and classification of a crop a few dozen pixels wide into 15 classes. A two-stage recognizer exploits this decomposition, and its two stages call for different reductions.

The detector carries almost all of the computation and remains on the accelerator of the SoC. We replace the SiLU activations and the sigmoid of YOLOv5n [1] by ReLU and the hard sigmoid [2] and compress the network structurally. Structured pruning can serve as a search for a compact channel configuration [3], and the weights from which a pruned network is retrained affect its accuracy [4], [5]. We therefore use iterative pruning only to identify the channels to remove, replay the recorded deletions on the task-trained parent, and recover the network in one continuous run with knowledge distillation (channel replay). The reader is small enough to leave the accelerator. We design it for placement beside the ISP, where it would process the rows of a crop as they arrive, with integer arithmetic and no DRAM traffic, and ask how few bits it needs before a circuit implementation. Since operation counts predict neither latency nor energy, we measure YOLOv5n and YOLOv8n on a Jetson AGX Orin across FP16, two TensorRT formulations of INT8, and the deep-learning accelerator (DLA). Every accuracy follows a cross-camera protocol, with the networks trained on public data and our own automotive camera held out from training.

Related work. Traffic-sign classifiers run on FPGAs and microcontrollers [6]–[8], and a class-agnostic detector with a crop classifier benefits fine-grained sign classes [9]. Channel pruning with Taylor importance [10], [11], dependency graphs [12], and isomorphic groups [13] reduces the dense computation that accelerators execute, also in YOLO detectors [14]. Integer-only inference [15], [16] leaves the softmax of box decoding [17] and the division of the IoU test in the post-processing. Closest to our reader are low-bit quantization-aware training [18], [19], streaming line-buffer dataflows on FPGAs [20], [21], and bit-accurate reference models for hardware flows [22], [23]. The deployment follows Jetson Orin benchmarks [24] and the GPU–DLA partitioning of TensorRT [25], [26].

Contributions. (1) Channel replay, a pruning procedure that removes 60.3% of the parameters of a converted YOLOv5n and keeps the accuracy of the original network, in matched five-seed comparisons (Section III). (2) A precision study and an executable integer reference model of a 12.1-KB reader, verified against its runtime, and integer-only, division-free post-processing for the YOLOv5n and YOLOv8n heads (Section IV). (3) A deployment study on the Jetson AGX Orin and end-to-end results (Sections V and VI).

References (34)

  • YOLOv5 by Ultralytics
  • Searching for MobileNetV3
  • Rethinking the value of network pruning
  • The lottery ticket hypothesis: Finding sparse, trainable neural networks
  • Comparing rewinding and fine-tuning in neural network pruning
  • MicronNet: A highly compact deep convolutional neural network architecture for real-time embedded traffic sign classification
  • A low-cost fully integer-based CNN accelerator on FPGA for real-time traffic sign recognition
  • Dynamic quantization and pruning for efficient CNN-based road sign recognition on FPGA
  • The Mapillary traffic sign dataset for detection and classification on a global scale
  • Pruning filters for efficient ConvNets
  • Importance estimation for neural network pruning
  • DepGraph: Towards any structural pruning
  • Isomorphic pruning for vision models
  • Lightweight YOLOv8 real-time object detection via progressive pruning and feature-aware knowledge distillation
  • Quantization and training of neural networks for efficient integer-arithmetic-only inference
  • HAWQ-V3: Dyadic neural network quantization
  • Generalized focal loss: Learning qualified and distributed bounding boxes for dense object detection
  • Learned step size quantization
  • PACT: Parameterized clipping activation for quantized neural networks (opens arXiv in a new tab)
  • FINN: A framework for fast, scalable binarized neural network inference
  • AoCStream: All-on-chip CNN accelerator with stream-based line-buffer architecture and accelerator-aware pruning
  • Technical report: NEMO DNN quantization for deployment model (opens arXiv in a new tab)
  • Integer intelligence: A reproducible path from training to FPGA
  • Benchmarking YOLOv8 variants for object detection efficiency on jetson orin NX for edge computing applications
  • NVIDIA TensorRT developer guide, release 8.5
  • Multi-accelerator neural network inference via TensorRT in heterogeneous embedded systems
  • Man vs. computer: Benchmarking machine learning algorithms for traffic sign recognition
  • Road traffic sign in Korea dataset
  • Traffic light / road sign recognition images (Seoul metropolitan area), AI Hub dataset no. 188
  • Ultralytics YOLOv8
  • YOLOv11: An Overview of the Key Architectural Enhancements
  • Ultralytics YOLO evolution: An overview of YOLO27, YOLO26, YOLO11, YOLOv8, and YOLOv5 object detectors for computer vision and pattern recognition (opens arXiv in a new tab)
  • Pruning convolutional neural networks for resource efficient inference
  • Distilling the Knowledge in a Neural Network