CertRL:形式化Coq中值和策略迭代的收敛性证明
CertRL: Formalizing Convergence Proofs for Value and Policy Iteration in Coq
摘要:
强化学习算法通过优化长期奖励来解决概率环境中的顺序决策问题。在安全关键设置中使用强化学习的愿望激发了最近的正式约束强化学习的工作;然而,这些方法将学习算法的实现放在其可信计算基础上。这些实现的关键正确性属性是学习算法收敛到最优策略的保证。本文通过开发两个规范的强化学习算法:有限状态马尔可夫决策过程的值和策略迭代的Coq形式化,开始了缩小这一差距的工作。中心的结果是贝尔曼的最优性原理及其证明的形式化,它使用了贝尔曼最优性算子的收缩性质来建立一个序列收敛于无限视界极限。CertRL的开发说明了Giry monad和机械化度量共归纳如何简化强化学习算法的最优性证明。CertRL库提供了一个通用框架,用于证明马尔可夫决策过程和强化学习算法的属性,为进一步开展强化学习算法的形式化工作铺平了道路。
英文摘要:
Reinforcement learning algorithms solve sequential decision-making problems in probabilistic environments by optimizing for long-term reward. The desire to use reinforcement learning in safety-critical settings inspires a recent line of work on formally constrained reinforcement learning; however, these methods place the implementation of the learning algorithm in their Trusted Computing Base. The crucial correctness property of these implementations is a guarantee that the learning algorithm converges to an optimal policy. This paper begins the work of closing this gap by developing a Coq formalization of two canonical reinforcement learning algorithms: value and policy iteration for finite state Markov decision processes. The central results are a formalization of Bellman's optimality principle and its proof, which uses a contraction property of Bellman optimality operator to establish that a sequence converges in the infinite horizon limit. The CertRL development exemplifies how the Giry monad and mechanized metric coinduction streamline optimality proofs for reinforcement learning algorithms. The CertRL library provides a general framework for proving properties about Markov decision processes and reinforcement learning algorithms, paving the way for further work on formalization of reinforcement learning algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。