arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.08336cs.LGcs.RO
收藏

RAYEN:在神经网络中施加硬凸约束

RAYEN: Imposition of Hard Convex Constraints on Neural Networks

Institute for Research in Technology, ICAI School of Engineering, Comillas Pontifical University(技术研究 institute,ICAI 工程学院,Comillas 大学);Aerospace Controls Laboratory, Massachusetts Institute of Technology(航空航天控制实验室,麻省理工学院)

Jesus Tordesillas, Victor Klemm, Jonathan P. How, Marco Hutter

AI总结:

RAYEN通过高效方法在神经网络输出或潜在变量中施加硬凸约束,保证训练和测试时的约束满足,支持多种约束类型,显著提升性能。

摘要:

尽管凸约束在机器人领域有广泛应用,但在基于学习的框架中施加仍具挑战性。现有方法要么无法保证始终满足,要么计算成本过高。本文提出RAYEN框架,用于在神经网络的输出或潜在变量上施加硬凸约束。RAYEN确保在训练和测试过程中,无论输入和网络权重如何,约束始终满足。与以往方法不同,RAYEN避免了计算昂贵的正交投影、软约束、可行集的保守近似以及缓慢的迭代修正。RAYEN支持任何线性、凸二次、二次锥(SOC)和线性矩阵不等式(LMI)约束,其开销与无约束网络相比极小。例如,对1K维变量施加1K个二次约束,仅需8ms开销;对10K维变量施加300x300密集矩阵的LMI约束,仅需12ms开销。当用于近似受约束轨迹优化问题的解时,RAYEN比最先进算法快20至7468倍,同时保证约束始终满足并实现接近最优的成本(<1.5%的最优差距)。最后,通过在四足机器人上进行仿真和现实实验验证,展示了RAYEN在施加执行器约束方面的有效性。代码可在https://github.com/leggedrobotics/rayen获取。

英文摘要:

Despite the numerous applications of convex constraints in Robotics, enforcing them within learning-based frameworks remains an open challenge. Existing techniques either fail to guarantee satisfaction at all times, or incur prohibitive computational costs. This paper presents RAYEN, a framework for imposing hard convex constraints on the output or latent variables of a neural network. RAYEN guarantees constraint satisfaction during both training and testing, for any input and any network weights. Unlike prior approaches, RAYEN avoids computationally expensive orthogonal projections, soft constraints, conservative approximations of the feasible set, and slow iterative corrections. RAYEN supports any combination of linear, convex quadratic, second-order cone (SOC), and linear matrix inequality (LMI) constraints, with negligible overhead compared to unconstrained networks. For instance, it imposes 1K quadratic constraints on a 1K-dimensional variable with only 8 ms of overhead compared to a network that does not enforce these constraints. An LMI constraint with 300x300 dense matrices on a 10K-dimensional variable can be guaranteed with only 12 ms additional overhead. When used in neural networks that approximate the solution of constrained trajectory optimization problems, RAYEN runs 20 to 7468 times faster than state-of-the-art algorithms, while guaranteeing constraint satisfaction at all times and achieving a near-optimal cost. Finally, we demonstrate RAYEN's ability to enforce actuator constraints on a learned locomotion policy by validating constraint satisfaction in both simulation and real-world experiments on a quadruped robot. The code is available at https://github.com/leggedrobotics/rayen

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

↑