ACCURACY-AWARE MODEL COMPRESSION FOR REAL-TIME VISUAL PERCEPTION UNDER RESOURCE CONSTRAINTS
檔案
本條目沒有附加檔案。
日期
2022-12-04
類型
系所
期刊名稱
Journal of Computer Science and Electrical Engineering
卷期與頁次
第 4 卷第 1 期,頁 45–52
ISSN
2663-1938
2663-1946
語言
英文
摘要
Deploying real-time visual perception models on CPU-only edge devices requires compression that respects measured latency while preserving task accuracy. Uniform quantization and pruning ignore the uneven sensitivity of network components, and existing allocation methods optimize a single compression dimension with additive per-layer cost models that miss the precision-switch overheads of CPU inference runtimes. This paper presents ACORN, a post-training, accuracy-aware compression framework that jointly allocates channel-pruning ratios and numerical precision to the components of a pretrained detector under explicit latency and memory budgets. ACORN estimates the accuracy cost of every option as a perturbation of the uniformly quantized deployment model with a confidence-weighted discrepancy restricted to task-relevant categories, predicts latency from per-node profiles of the runtime-optimized graph augmented with pairwise quantize/dequantize costs, prunes channels without training through ridge least-squares reconstruction, and solves the allocation exactly as an integer linear program. On YOLOv8n deployed for PASCAL VOC detection on a single CPU core with ONNX Runtime, ACORN reaches 63.47% mAP@[.5:.95] at the latency of uniform INT8 quantization (62.77%), within 0.07 points of the FP32 model while running 2.28× faster with a 3.6× smaller model. At a 2.51× speedup it retains 63.17%, whereas latency-aware knapsack pruning and uniform DepGraph pruning at similar latency fall to 52.54% and 30.33%. The complete allocation uses 32 unlabeled images and about ten minutes of single-core computation.