{"id":"1906.03393","title":"Towards Optimal Off-Policy Evaluation for Reinforcement Learning with Marginalized Importance Sampling","authors":["Tengyang Xie","Yifei Ma","Yu-Xiang Wang"],"categories":["cs.LG","cs.AI","stat.ML"],"primary_category":"cs.LG","first_posted":"2019-06-08","updated":"2020-04-01","url":"https://arxiv.vip/abs/1906.03393","arxiv_url":"https://arxiv.org/abs/1906.03393","pdf_url":"https://arxiv.org/pdf/1906.03393","comment_count":0,"abstract":"Motivated by the many real-world applications of reinforcement learning (RL) that require safe-policy iterations, we consider the problem of off-policy evaluation (OPE) - the problem of evaluating a new policy using the historical data obtained by different behavior policies - under the model of nonstationary episodic Markov Decision Processes (MDP) with a long horizon and a large action space. Existing importance sampling (IS) methods often suffer from large variance that depends exponentially on the RL horizon H. To solve this problem, we consider a marginalized importance sampling (MIS) estimator that recursively estimates the state marginal distribution for the target policy at every step. MIS achieves a mean-squared error of $ frac1n sumnolimits_t=1^HmathbbE_muleft[fracd_t^pi(s_t)^2d_t^mu(s_t)^2 Var_muleft[fracpi_t(a_t|s_t)mu_t(a_t|s_t)big( V_t+1^pi(s_t+1) + r_tbig) middle| s_tright]right] + tildeO(n^-1.5)wheremuandpiare the logging and target policies,d_t^mu(s_t)andd_t^pi(s_t)are the marginal distribution of the state attth step,His the horizon,nis the sample size andV_t+1^piis the value function of the MDP underpi. The result matches the Cramer-Rao lower bound in citetjiang2016doubly up to a multiplicative factor ofH. To the best of our knowledge, this is the first OPE estimation error bound with a polynomial dependence onH$. Besides theory, we show empirical superiority of our method in time-varying, partially observable, and long-horizon RL environments.","arxiv_comments":"Published at the Neural Information Processing Systems (NeurIPS) 2019","journal_ref":null,"doi":null,"license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","versions":4,"discussion_url":"https://arxiv.vip/abs/1906.03393#discussion"}