面向工业缺陷检测的异构多处理器动态DNN调度

Dynamic DNN Scheduling on Heterogeneous Multiprocessors for Industrial Defect Detection

  • 摘要: 工业缺陷检测中深度神经网络(DNN)计算开销大,难以满足边缘设备的硬实时约束,且现有方法局限于单维伸缩并缺乏异构多核联合优化。为此,本文提出一种面向异构多处理器系统的动态DNN联合优化与调度框架。网络层设计支持深度、宽度与分辨率3维协同伸缩的动态DNN架构及增量式训练策略,大幅提升了模型的推理精度与训练效率;调度层引入图像分块加权的优先级双队列机制,将异构任务调度建模为多等级广义分配问题,并提出基于线性松弛与双向动态调整的启发式算法(LRBDA)解决异构调度问题。实验表明,所提混合缩放架构在精度与计算量权衡上显著优于单维度缩放策略及现有多分支动态网络,在同等检测精度下计算开销最多可降低 23.54%;LRBDA算法较混合关键度EKG调度算法(MC-EKG)基线算法突破了长周期性能瓶颈,在严苛计算约束下显著提升了系统平均准确率与调度范围。

     

    Abstract: In industrial defect detection, the massive computational overhead of deep neural networks (DNNs) makes it difficult to satisfy the hard real-time constraints of edge devices. Furthermore, existing methods are typically limited to single-dimensional scaling and lack joint optimization for heterogeneous multi-core architectures. To address this issue, we propose a joint optimization and scheduling framework for dynamic DNNs oriented toward heterogeneous multiprocessor systems. At the network layer, we design a dynamic DNN architecture that supports the three-dimensional collaborative scaling of depth, width, and resolution, alongside an incremental training strategy. This significantly enhances both the model's inference accuracy and training efficiency. At the scheduling layer, a priority dual-queue mechanism based on image block weighting is introduced. The heterogeneous task scheduling is formulated as a multi-level generalized assignment problem, and a heuristic algorithm based on linear relaxation and bidirectional dynamic adjustment (LRBDA) is proposed to solve the heterogeneous scheduling problem. Experimental results demonstrate that the proposed hybrid-scaling architecture significantly outperforms single-dimensional scaling strategies and existing multi-branch dynamic networks in balancing accuracy and computational cost, reducing the computational overhead by up to 23.54% under the same detection accuracy. Furthermore, compared to the mixed-criticality EKG scheduling algorithm (MC-EKG) algorithm, the LRBDA algorithm overcomes the performance bottleneck associated with long periods, significantly improving the average system accuracy and schedulability range under stringent computational constraints.

     

/

返回文章
返回