Uncertainties in machine learning are a significant roadblock for its application in safety-critical cyber-physical systems (CPS). One source of uncertainty arises from distribution shifts in the input data between training and test scenarios. Detecting such distribution shifts in real-time is an emerging approach to address the challenge. The high dimensional input space in CPS applications involving imaging adds extra difficulty to the task. Generative learning models are widely adopted for the task, namely out-of-distribution (OoD) detection. To improve the state-of-the-art, we studied existing proposals from both machine learning and CPS fields. In the latter, safety monitoring in real-time for autonomous driving agents has been a focus. Exploiting the spatiotemporal correlation of motion in videos, we can robustly detect hazardous motion around autonomous driving agents. Inspired by the latest advances in the Variational Autoencoder (VAE) theory and practice, we tapped into the prior knowledge in data to further boost OoD detection's robustness. Comparison studies over nuScenes and Synthia data sets show our methods significantly improve detection capabilities of OoD factors unique to driving scenarios, 42% better than state-of-the-art approaches. Our model also generalized near-perfectly, 97% better than the state-of-the-art across the real-world and simulation driving data sets experimented. Finally, we customized one proposed method into a twin-encoder model that can be deployed to resource limited embedded devices for real-time OoD detection. Its execution time was reduced over four times in low-precision 8-bit integer inference, while detection capability is comparable to its corresponding floating-point model.
翻译:机器学习的不确定性是其应用于安全临界网络物理系统(CPS)的一个重大障碍。 不确定性的一个来源来自培训和测试情景之间投入数据的分布变化。 实时检测这种分布变化是一种应对挑战的新兴方法。 包含成像的CPS应用中的高度输入空间增加了任务的额外困难。 生成学习模型被广泛用于这项任务, 即超出分配( OoD) 的检测。 为了改进最新水平, 我们研究了来自机器学习和 CPS 字段的现有建议。 在后一种情况下, 自动驱动剂实时的安全监测一直是一个焦点。 展示视频运动的波形时相相关性, 我们可以强有力地探测到自动驱动器周围的危险动作。 由Variational Autoencoder(VaE) 理论和实践的最新进展所激励, 我们利用了数据模型的先前模型来进一步提升 OOD 的智能部署能力。 对 NUSC 和 Synthia 数据组的比较研究显示, 我们的实时安全监测方法在接近42- 时间段之间, 我们的精确的精确度 数据运行能力在97 上,我们比 的精确的精确的精确的精确的精确度 数据 。