Reinforcement Learning (RL) methods are typically sample-inefficient, making it challenging to train and deploy RL-policies in real world robots. Even a robust policy trained in simulation requires a real-world deployment to assess their performance. This paper proposes a new approach to evaluate the real-world performance of agent policies prior to deploying them in the real world. Our approach incorporates a simulator along with real-world offline data to evaluate the performance of any policy using the framework of Marginalized Importance Sampling (MIS). Existing MIS methods face two challenges: (1) large density ratios that deviate from a reasonable range and (2) indirect supervision, where the ratio needs to be inferred indirectly, thus exacerbating estimation error. Our approach addresses these challenges by introducing the target policy's occupancy in the simulator as an intermediate variable and learning the density ratio as the product of two terms that can be learned separately. The first term is learned with direct supervision and the second term has a small magnitude, thus making it computationally efficient. We analyze the sample complexity as well as error propagation of our two step-procedure. Furthermore, we empirically evaluate our approach on Sim2Sim environments such as Cartpole, Reacher, and Half-Cheetah. Our results show that our method generalizes well across a variety of Sim2Sim gap, target policies and offline data collection policies. We also demonstrate the performance of our algorithm on a Sim2Real task of validating the performance of a 7 DoF robotic arm using offline data along with the Gazebo simulator.
Low Variance Off-policy Evaluation with State-based Importance Sampling
Agency for Science, Technology and Research(新加坡科技研究局);Manning College of Information and Computer Sciences(曼宁信息与计算机科学学院);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)
Asymptotically Efficient Off-Policy Evaluation for Tabular Reinforcement Learning
UC Santa Barbara(加州大学圣巴巴拉分校)
我们考虑了强化学习的离线策略评估问题,其目标是使用通过运行日志策略$μ$收集的离线数据来估计目标策略$π$的预期奖励。标准的基于重要性抽样的方法在这个问题上受到方差的影响,该方差随时间范围$H$呈指数级增长,这激发了人们对打破“地平线诅咒”的替代方案的兴趣(Liu et al. 2018,Xie et al. 2019)。特别是,它表明,边缘化的重要性采样(MIS)的方法可以用来实现估计误差的顺序$O(H^3/ n)$的均方误差(MSE)下的情节马尔可夫决策过程模型与有限的状态和潜在的无限的行动。然而,MSE界仍然是$H$的因子,远离$Ω(H^2/n)$阶的Cramer-Rao下界。在本文中,我们证明了一个简单的修改MIS估计,我们可以渐近地达到Cramer-Rao下界,只要作用空间是有限的。我们还提供了一个一般的方法来构建MIS估计与高概率误差界。
MaPP: A Unified Marginalized Posterior-Predictive Framework for Data-Efficient RLVR
Beihang University(北京航空航天大学);Zhongguancun Academy(中关村学院);Communication University of China(中国传媒大学);Nanyang Technological University(南洋理工大学);Lobachebsky University(罗巴切夫斯基大学);Peking University(北京大学);Hangzhou Innovation Institute of Beihang University(北京航空航天大学杭州创新研究院)
Relative Importance Sampling for off-Policy Actor-Critic in Deep Reinforcement Learning
CAS Key Laboratory of Network Data Science and Technology, Institute of Computing Technology, CAS, Beijing, 100190, China(中国科学院网络数据科学与技术重点实验室,计算技术研究所,中国科学院,北京);University of Chinese Academy of Sciences, Beijing, 101408, China(中国科学院大学,北京);School of Computer and Information Engineering, Hanshan Normal University, Guangdong, 521041, China(韩山师范学院计算机与信息工程学院,广东);School of Physics and Electronic Engineering, Hanshan Normal University, Guangdong, 521000, China(韩山师范学院物理与电子工程学院,广东);School of Data Science, Capital University of Economics and Business, Beijing, 100070, China(首都经济贸易大学数据科学学院,北京)
Kernel weighted importance sampling for off-policy evaluation in contextual bandits
Institute of Child Health, University College London(伦敦大学学院儿童健康研究所);Strive Health Ltd.(奋进健康有限公司);National Institute for Health Research(国家卫生研究院);University College London, Biomedical Research Council(伦敦大学学院生物医学研究委员会);Great Ormond Street Hospital(大奥蒙德街医院);McGill University(麦吉尔大学)
Dimension-Wise Importance Sampling Weight Clipping for Sample-Efficient Reinforcement Learning
KAIST(韩国科学技术院)
在诸如近端策略优化(PPO)的基于重要性采样(IS)的强化学习算法中,IS权重通常被裁剪以避免学习中的大方差。然而,从裁剪统计的政策更新引起大的偏见,在任务中具有高的动作维度,和偏见裁剪使得它很难重用旧的样本与大的IS权重。在本文中,我们认为PPO,一个代表性的政策算法,并提出了其改进的维度上的IS权重裁剪,分别剪辑每个动作维度的IS权重,以避免大的偏见,并自适应地控制IS权重绑定从当前策略的策略更新。这种新技术能够有效地学习高动作维度的任务,并重复使用旧的样本,如在离策略学习,以提高样本效率。数值实验结果表明,该算法在各种Open AI Gym任务中的性能优于PPO和其他RL算法。
From Importance Sampling to Doubly Robust Policy Gradient
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
我们表明,对政策的策略梯度(PG)和它的方差减少变量可以通过采取有限差分的功能评估提供的估计从重要性采样(IS)家庭的政策外评估(OPE)。从双重稳健(DR)估计量(Jiang & Li,2016)开始,我们提供了一种非常通用和灵活的PG形式的简单推导,其中包含了最先进的方差缩减技术(Cheng et al.,2019年)作为其特例,并立即暗示了现有文献所忽视的进一步降低方差的机会。我们分析了新的DR-PG估计的方差,将其与现有的方法以及策略梯度的Cramer-Rao下界进行了比较,并实证表明了其有效性。
DOLCE: Decomposing Off-Policy Evaluation/Learning into Lagged and Current Effects
Department of Multidisciplinary Sciences, Graduate School of Arts and Sciences, The University of Tokyo(东京大学艺术及科学研究生院多学科科学系);Department of Epidemiology, National Institute of Infectious Diseases, Japan Institute for Health Security(日本国立感染症研究所健康安全研究所流行病学系)