In many reinforcement learning (RL) applications, we want policies that reach desired states and then keep the controlled system within an acceptable region around the desired states over an indefinite period of time. This latter objective is called stability and is especially important when the state space is unbounded, such that the states can be arbitrarily far from each other and the agent can drift far away from the desired states. For example, in stochastic queuing networks, where queues of waiting jobs can grow without bound, the desired state is all-zero queue lengths. Here, a stable policy ensures queue lengths are finite while an optimal policy minimizes queue lengths. Since an optimal policy is also stable, one would expect that RL algorithms would implicitly give us stable policies. However, in this work, we find that deep RL algorithms that directly minimize the distance to the desired state during online training often result in unstable policies, i.e., policies that drift far away from the desired state. We attribute this instability to poor credit-assignment for destabilizing actions. We then introduce an approach based on two ideas: 1) a Lyapunov-based cost-shaping technique and 2) state transformations to the unbounded state space. We conduct an empirical study on various queueing networks and traffic signal control problems and find that our approach performs competitively against strong baselines with knowledge of the transition dynamics. Our code is available here: https://github.com/Badger-RL/STOP.
Stable Reinforcement Learning with Unbounded State Space
MIT(麻省理工学院);Cornell University(康奈尔大学)
本文考虑了由调度网络中的经典调度问题所激发的具有无界状态空间的强化学习(RL)问题。传统的策略以及为有限、有界或紧凑状态空间设计的误差度量需要无限样本来为无界状态空间提供任何有意义的性能保证(例如,$\ell_\infty$误差)。也就是说,我们需要一个新的性能度量概念。作为这项工作的主要贡献,在排队系统与控制理论的文献的启发下,我们提出了稳定性的概念“善良”的状态动态下的政策应保持在一个有界区域的高概率。作为概念的证明,我们提出了一个RL政策,使用稀疏采样为基础的Monte Carlo Oracle,并认为它满足稳定性,只要系统动力学下的最优策略尊重李雅普诺夫函数。存在李雅普诺夫函数的假设不是限制性的,因为它等价于任何马尔可夫链的正递归或稳定性,即,如果有任何政策可以稳定系统,那么它必须拥有一个李雅普诺夫函数。而且,我们的政策不利用知识的具体李雅普诺夫函数。为了使我们的方法样本效率,我们提供了一个改进的,样本效率的稀疏采样的蒙特卡罗Oracle与Lipschitz价值函数,可能是在自己的权利感兴趣。此外,我们设计了一个自适应版本的算法,精心构造的统计测试,自动找到正确的调整参数的基础上。
Algorithm Selection as a Bandit Problem with Unbounded Losses
IDSIA / USI-SUPSI Istituto Dalle Molle di studi sull’intelligenza artificiale(IDSIA / USI-SUPSI 达莱莫莱人工智能研究所);Università della Svizzera italiana (USI)(瑞士意大利语区大学);University of Lugano(卢加诺大学);TU Munich(慕尼黑工业大学)