arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.17467math.OC
收藏

无限时域摆起倒立摆最优值函数的非光滑几何与神经逼近

On the Nonsmooth Geometry and Neural Approximation of the Optimal Value Function of Infinite-Horizon Pendulum Swing-up

Haoyu Han, Heng Yang

AI总结:

本文研究无限时域倒立摆摆起问题的最优值函数,利用对称性证明其非光滑性,并通过反向求解 PMP 方程构造分段 C^1 值函数,经 HJB 残差认证其最优性,最终将其提炼为神经网络。

摘要:

我们重新审视倒立摆问题,目标是理解并计算真实的最优值函数。我们首先观察到,由于问题的对称性,真实的最优值函数必然是非光滑的(即不是全局 C^1 的)。随后我们给出一个结果,能够对候选的分段 C^1 值函数的最优性进行认证。进一步地,对于通过数值逼近获得的候选值函数,我们基于其 Hamilton-Jacobi-Bellman (HJB) 方程残差给出了次优性界。受 Holzhuter (2004) 启发,我们设计了一种算法,从局部最优 LQR 值函数提供的终端条件出发,反向求解 Pontryagin 最小值原理 (PMP) 常微分方程。该数值过程得到一个分段 C^1 值函数,其非光滑区域包含周期性的螺旋线,光滑区域达到约 10^{-4} 的 HJB 残差,因此除微小的数值误差外,可被认证为最优值函数。该最优值函数验证了最优性的威力:(i) 它位于一个多项式下界之上;(ii) 其诱导的控制器能够全局摆起并稳定倒立摆;(iii) 获得的轨迹代价低于能量整形、模型预测控制 (MPC) 和近端策略优化等基线方法(其中 MPC 达到几乎相同的代价)。最后,我们将最优值函数提炼为一个简单的神经网络。我们的代码可在 https://github.com/ComputationalRobotics/InvertedPendulumOptimalValue 获取。

英文摘要:

We revisit the inverted pendulum problem with the goal of understanding and computing the true optimal value function. We start with an observation that the true optimal value function must be nonsmooth ($i.e.$, not globally $C^1$) due to the symmetry of the problem. We then give a result that can certify the optimality of a candidate $\textit{piece-wise}$ $C^1$ value function. Further, for a candidate value function obtained via numerical approximation, we provide a bound of suboptimality based on its Hamilton-Jacobi-Bellman (HJB) equation residuals. Inspired by Holzhuter (2004), we then design an algorithm that solves backward the Pontryagin's minimum principle (PMP) ODE from terminal conditions provided by the locally optimal LQR value function. This numerical procedure leads to a piece-wise $C^1$ value function whose nonsmooth region contains periodic $\textit{spiral lines}$ and smooth regions attain HJB residuals about $10^{-4}$, hence certified to be the optimal value function up to minor numerical inaccuracies. This optimal value function checks the power of optimality: (i) it sits above a polynomial lower bound; (ii) its induced controller globally swings up and stabilizes the pendulum, and (iii) attains lower trajectory cost than baseline methods such as energy shaping, model predictive control (MPC), and proximal policy optimization (with MPC attaining almost the same cost). We conclude by distilling the optimal value function into a simple neural network. Our code is avilable in https://github.com/ComputationalRobotics/InvertedPendulumOptimalValue.

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

↑