This study optimizes the YOLOv8n model for the RISC-V K230 platform with a differential precision scheduling strategy, which allocates data bit widths based on path semantics, maximizing RVV throughput while preserving accuracy, thereby optimizing the accuracy-throughput trade-off under RVV bandwidth constraints.
Abstract
To address the challenges of deploying deep neural networks (DNNs) on heterogeneous edge platforms for industrial defect detection, this study optimizes the YOLOv8n model for the RISC-V K230 platform. Microbenchmarking and pipeline analysis reveal three primary bottlenecks impeding lightweight deployment: memory bandwidth limitations, computational granularity mismatch, and pipeline stalls. To address these bottlenecks, we propose HSA-YOLO, a hardware-spectrum-aware hierarchical optimization network. The model features a three-tier optimization architecture. At the shallow layer, we developed a hardware-decoupled KPU adaptation unit (HDKU) by aligning operator granularity with hardware parallelism, employing operator fusion, and reusing memory access. This approach reduces computational fragmentation and enhances feature expression for small targets, enhancing KPU utilization without compromising detection accuracy. At the middle layer, we introduced a differential precision scheduling (DPS) strategy, which allocates data bit widths based on path semantics, maximizing RVV throughput while preserving accuracy, thereby optimizing the accuracy-throughput trade-off under RVV bandwidth constraints. At the deep layer, we implemented a static cache residency module (SCRB), confining intermediate feature activations within the L2 cache and employing channel compression to reduce off-chip memory access and alleviate memory bandwidth pressure. Experimental results demonstrate that, compared to the baseline YOLOv8n, the optimized M3 model achieves an mAP@0.5 of 96.62% with an end-to-end latency of 33.59 ms. The complete HSA-YOLO model trades a small amount of accuracy and latency for an 11.3% reduction in parameters and improved memory access efficiency, ultimately achieving an mAP@0.5 of 95.50%, reducing end-to-end inference latency by 71.4%, and increasing throughput by $3.5\times $ , meeting the requirements of edge industrial detection scenarios with different constraints.
Industrial AIoT deployments require real-time person detection under strict latency, bandwidth, and cost constraints. Hierarchical inference architectures (Device-Edge-Fog) are commonly adopted under the implicit assumption that highertier nodes provide higher accuracy at the expense of latency, while lower-tier accele...
Jorge Zafrilla-Muñoz, J. Silvestre-Blanes, Teresa Albero-Albero· IEEE International Conferenc...· 0 citations
We present the enablement, correctness recovery, and performance engineering of DeepSeek-V4-Flash inference on AMD Instinct MI250 GPUs using the gfx90a/CDNA2 architecture. The system integrates native safetensors loading, tensor and expert parallelism, FP4 routed mixture-of-experts computation, FP8 dense projections, s...
Deploying Vision Transformers (ViTs) on low-power edge devices is challenging due to high computational demands. Conventional pruning frameworks require a separate compiled binary for each sparsity level, increasing storage overhead and limiting runtime adaptability. This paper presents an end-to-end deployment pipelin...
PS Vishnu, M. AjayKumar, Yi-Ke Li et al.· 0 citations
The proliferation of Internet of Things (IoT) devices and the demand for real-time processing have positioned edge computing as critical infrastructure for deploying deep learning models near the data source. Hardware constraints, including limited memory, narrow computational budgets, and strict power limits, challeng...
As CPUs alone are often insufficiently efficient for running Vision Transformers (ViTs), contemporary computing platforms, particularly edge systems, increasingly adopt heterogeneous architectures that combine CPUs with GPUs and Neural Processing Units (NPUs). This paper presents a detailed energy assessment of individ...
Li-Xian Ho, C. Kachris· Applied Sciences· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.