跳到正文
arXiv (AI + Vision + Imaging)· Rolf Findeisen, Sebastian Hirt, Hoang Hai Nguyen, Grace Li Zhang, Hendrik Alsmeier·· 8 天前AI 评分22

用多项式安全层在神经网络中强制椭球约束

Enforcing Ellipsoidal Constraints in Neural Networks with a Polynomial Safety Layer

AI 导读

研究提出将神经网络输出投影到安全椭球上的安全层,通过展开保可行性多项式惩罚迭代求解QCQP,使训练时梯度可从可行输出回传至网络参数。基于LiDAR的策略在仿真狭窄迷宫训练各阶段均未撞墙,而未过滤策略在初始化时即撞墙。Arm Cortex-M4F上的策略与安全层约占36 KiB flash、RAM低于5 KiB。

正文 · 原文

arXiv:2611.19366v1 Announce Type: cross Abstract: Often the output of a learned mapping must satisfy prescribed constraints. In the control of autonomous systems, for example, the chosen action must keep the system within a collision-free region. We consider the case in which a proposed output is corrected by projection onto a safety ellipsoid. Computing this projection amounts to solving a quadratically constrained quadratic program (QCQP). We construct a neural-network safety layer by unrolling a feasibility-preserving polynomial penalty iteration. The unrolled structure allows the loss gradient to propagate from the feasible output through the safety layer to the network parameters during training. We show how to choose the layer parameters so that every iterate is feasible and give a computable bound on its distance to the exact projection at any prescribed depth. We illustrate the method by training a LiDAR-based policy to control an unmanned aerial vehicle. A privileged model predictive control expert uses the map and the measured vehicle state to generate the training data. In the simulated narrow mazes, the filtered policy avoided wall contact at every tested stage of training, including at initialization, when every unfiltered flight hit a wall. A representative build of the learned policy and its safety layer for an Arm Cortex-M4F microcontroller occupies about 36 KiB of flash, with a RAM budget below 5 KiB.

来源:arXiv (AI + Vision + Imaging) · arxiv.org