论文标题

实时网络物理系统中深层分布检测器的设计方法

Design Methodology for Deep Out-of-Distribution Detectors in Real-Time Cyber-Physical Systems

论文作者

Yuhas, Michael, Ng, Daniel Jun Xian, Easwaran, Arvind

论文摘要

当机器学习(ML)模型提供其训练分布以外的数据时,他们更有可能做出不准确的预测。在网络物理系统(CPS)中,这可能导致灾难性系统故障。为了减轻这种风险,分布(OOD)检测器可以与ML模型和标志输入并行运行,这可能导致不良结果。尽管OOD探测器在准确性方面进行了很好的研究,但对资源约束CPS的部署的关注较少。在这项研究中,提出了一种设计方法来调整深层OOD检测器,以满足嵌入式应用的准确性和响应时间要求。该方法使用遗传算法来优化检测器的预处理管道,并选择一种平衡鲁棒性和响应时间的量化方法。它还标识了机器人操作系统(ROS)下的几个候选任务图,以部署所选设计。该方法在两个嵌入式平台的文献中的两个基于变异的自动编码器的OOD检测器上进行了证明。提供了对设计过程中发生的权衡的洞察力,并表明这种设计方法可以导致相对于不偏位的OOD检测器的响应时间急剧减少,同时保持可比较的精度。

When machine learning (ML) models are supplied with data outside their training distribution, they are more likely to make inaccurate predictions; in a cyber-physical system (CPS), this could lead to catastrophic system failure. To mitigate this risk, an out-of-distribution (OOD) detector can run in parallel with an ML model and flag inputs that could lead to undesirable outcomes. Although OOD detectors have been well studied in terms of accuracy, there has been less focus on deployment to resource constrained CPSs. In this study, a design methodology is proposed to tune deep OOD detectors to meet the accuracy and response time requirements of embedded applications. The methodology uses genetic algorithms to optimize the detector's preprocessing pipeline and selects a quantization method that balances robustness and response time. It also identifies several candidate task graphs under the Robot Operating System (ROS) for deployment of the selected design. The methodology is demonstrated on two variational autoencoder based OOD detectors from the literature on two embedded platforms. Insights into the trade-offs that occur during the design process are provided, and it is shown that this design methodology can lead to a drastic reduction in response time in relation to an unoptimized OOD detector while maintaining comparable accuracy.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源