arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.13072cs.AIcs.ROcs.SYeess.SY
收藏

神经网络控制自主系统的形式验证

Formal Verification of Neural Network Controlled Autonomous Systems

Department of Electrical;Computer Engineering University of Maryland, College Park

Xiaowu Sun, Haitham Khedr, Yasser Shoukry

AI总结:

本文研究了如何形式验证配备神经网络控制器的自主机器人在LiDAR图像处理中安全性的核心问题,通过构建有限状态抽象并利用可达性分析计算安全的初始条件,提出了一种多项式时间算法来分区工作空间并计算对应的仿射成像函数,同时利用SMC编码分析神经网络行为,通过数值模拟验证了算法的效率。

摘要:

在本文中,我们考虑了正式验证配备神经网络(NN)控制器的自主机器人在处理LiDAR图像以产生控制动作时的安全性问题。给定一个由一组多边形障碍物特征化的工作空间,我们的目标是计算一组安全的初始条件,使得从这些初始条件出发的机器人轨迹能够保证避开障碍物。我们的方法是构建系统的有限状态抽象,并利用标准的可达性分析在有限状态抽象上计算安全的初始状态集。计算有限状态抽象的第一个技术问题是数学建模将机器人位置映射到LiDAR图像的成像函数。为此,我们引入了成像适应集的概念,作为工作空间的分区,在这些分区中,成像函数被保证为仿射的。我们开发了一种多项式时间算法,用于将工作空间划分为成像适应集并计算相应的仿射成像函数。给定这种工作空间分区,机器人的离散时间线性动力学以及一个预训练的具有修正线性单元(ReLU)非线性的神经网络控制器,第二个技术挑战是分析神经网络的行为。为此,我们利用满足模凸(SMC)编码来枚举所有可能的ReLU段落。SMC求解器随后使用布尔可满足性求解器和凸优化求解器,将问题分解为更小的子问题。为了加速这个过程,我们开发了一种预处理算法,可以快速修剪可行的ReLU段落。最后,我们通过数值模拟验证了所提出算法的效率,模拟中神经网络控制器的复杂性逐渐增加。

英文摘要:

In this paper, we consider the problem of formally verifying the safety of an autonomous robot equipped with a Neural Network (NN) controller that processes LiDAR images to produce control actions. Given a workspace that is characterized by a set of polytopic obstacles, our objective is to compute the set of safe initial conditions such that a robot trajectory starting from these initial conditions is guaranteed to avoid the obstacles. Our approach is to construct a finite state abstraction of the system and use standard reachability analysis over the finite state abstraction to compute the set of the safe initial states. The first technical problem in computing the finite state abstraction is to mathematically model the imaging function that maps the robot position to the LiDAR image. To that end, we introduce the notion of imaging-adapted sets as partitions of the workspace in which the imaging function is guaranteed to be affine. We develop a polynomial-time algorithm to partition the workspace into imaging-adapted sets along with computing the corresponding affine imaging functions. Given this workspace partitioning, a discrete-time linear dynamics of the robot, and a pre-trained NN controller with Rectified Linear Unit (ReLU) nonlinearity, the second technical challenge is to analyze the behavior of the neural network. To that end, we utilize a Satisfiability Modulo Convex (SMC) encoding to enumerate all the possible segments of different ReLUs. SMC solvers then use a Boolean satisfiability solver and a convex programming solver and decompose the problem into smaller subproblems. To accelerate this process, we develop a pre-processing algorithm that could rapidly prune the space feasible ReLU segments. Finally, we demonstrate the efficiency of the proposed algorithms using numerical simulations with increasing complexity of the neural network controller.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑