自适应压力测试:使用强化学习发现可能的失败事件
Adaptive Stress Testing: Finding Likely Failure Events with Reinforcement Learning
摘要:
找到一组故障状态的最可能路径对于分析在一系列时间步长内运行的安全关键系统(如飞机防撞系统和自动驾驶汽车)非常重要。在自动驾驶等许多应用中,由于系统运行的复杂随机环境,故障无法完全消除。因此,安全性验证不仅关注是否会发生故障,还关注发现哪些故障最有可能发生。本文介绍了自适应压力测试(AST),这是一个用于在仿真中找到最可能的失败事件路径的框架。我们考虑一个一般的黑箱设置的部分可观测和连续值的系统在随机干扰的环境中运行。我们将问题描述为一个马尔可夫决策过程,并使用强化学习来优化它。该方法是基于仿真的,不需要系统的内部知识,使其适合大型系统的黑盒测试。我们提出了完全可观测和部分可观测系统的配方。在后一种情况下,我们提出了一个修改后的蒙特卡罗树搜索算法,只需要访问模拟器的伪随机数发生器,以克服部分可观性。我们还提出了一个扩展的框架,称为差分自适应压力测试(DAST),可以找到故障发生在一个系统,但不是在另一个。这种类型的差异分析在回归测试等应用中很有用,在回归测试中,我们关注的是找到与基线相比相对薄弱的区域。我们证明了该方法的有效性的飞机防撞应用程序,其中原型飞机防撞系统进行压力测试,以找到最有可能的情况下,近空中碰撞。
英文摘要:
Finding the most likely path to a set of failure states is important to the analysis of safety-critical systems that operate over a sequence of time steps, such as aircraft collision avoidance systems and autonomous cars. In many applications such as autonomous driving, failures cannot be completely eliminated due to the complex stochastic environment in which the system operates. As a result, safety validation is not only concerned about whether a failure can occur, but also discovering which failures are most likely to occur. This article presents adaptive stress testing (AST), a framework for finding the most likely path to a failure event in simulation. We consider a general black box setting for partially observable and continuous-valued systems operating in an environment with stochastic disturbances. We formulate the problem as a Markov decision process and use reinforcement learning to optimize it. The approach is simulation-based and does not require internal knowledge of the system, making it suitable for black-box testing of large systems. We present formulations for fully observable and partially observable systems. In the latter case, we present a modified Monte Carlo tree search algorithm that only requires access to the pseudorandom number generator of the simulator to overcome partial observability. We also present an extension of the framework, called differential adaptive stress testing (DAST), that can find failures that occur in one system but not in another. This type of differential analysis is useful in applications such as regression testing, where we are concerned with finding areas of relative weakness compared to a baseline. We demonstrate the effectiveness of the approach on an aircraft collision avoidance application, where a prototype aircraft collision avoidance system is stress tested to find the most likely scenarios of near mid-air collision.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。