[Paper Review] Understanding the Curse of Horizon in Off-Policy Evaluation via Conditional Importance Sampling
This paper provides a theoretical analysis of off-policy evaluation via conditional importance sampling, showing that per-decision and stationary importance sampling do not always reduce variance over vanilla importance sampling in finite-horizon MDPs. Surprisingly, it proves that under certain conditions, these estimators can have exponentially higher variance than crude IS, but asymptotically, they can achieve polynomial variance growth, explaining their empirical success in long-horizon settings.
Off-policy policy estimators that use importance sampling (IS) can suffer from high variance in long-horizon domains, and there has been particular excitement over new IS methods that leverage the structure of Markov decision processes. We analyze the variance of the most popular approaches through the viewpoint of conditional Monte Carlo. Surprisingly, we find that in finite horizon MDPs there is no strict variance reduction of per-decision importance sampling or stationary importance sampling, comparing with vanilla importance sampling. We then provide sufficient conditions under which the per-decision or stationary estimators will provably reduce the variance over importance sampling with finite horizons. For the asymptotic (in terms of horizon $T$) case, we develop upper and lower bounds on the variance of those estimators which yields sufficient conditions under which there exists an exponential v.s. polynomial gap between the variance of importance sampling and that of the per-decision or stationary estimators. These results help advance our understanding of if and when new types of IS estimators will improve the accuracy of off-policy estimation.
Motivation & Objective
- To understand why stationary importance sampling (SIS) and per-decision importance sampling (PDIS) sometimes fail to reduce variance in off-policy evaluation despite theoretical expectations.
- To formalize the relationship between IS, PDIS, and SIS through the lens of extended conditional Monte Carlo estimators.
- To derive sufficient conditions under which PDIS and SIS provably reduce variance compared to vanilla IS in finite-horizon MDPs.
- To establish asymptotic upper and lower bounds on the variance of IS, PDIS, and SIS, showing polynomial vs. exponential dependence on horizon T.
- To reconcile theoretical findings with empirical successes of SIS in long-horizon domains by identifying conditions under which variance reduction occurs.
Proposed method
- Formalizes IS, PDIS, and SIS as instances of conditional Monte Carlo estimators by conditioning on different statistics (e.g., state-action sequences, rewards).
- Applies the law of total variance to analyze the variance of conditional estimators, showing that variance reduction is not guaranteed due to covariances between summands.
- Derives sufficient conditions for variance reduction in Theorems 1 and 2, based on the structure of the MDP and the choice of conditioning statistics.
- Uses concentration inequalities for martingales to derive asymptotic variance bounds for all three estimators under general state spaces.
- Compares the asymptotic variance growth rates: shows that under certain conditions, SIS and PDIS have polynomial (e.g., O(T²)) dependence on horizon T, while vanilla IS has exponential dependence.
- Demonstrates that a reward-conditioned estimator in the batch setting is equivalent to vanilla IS, highlighting differences between online and batch learning.
Experimental results
Research questions
- RQ1Under what conditions does per-decision importance sampling (PDIS) reduce variance compared to vanilla importance sampling (IS) in finite-horizon MDPs?
- RQ2Can stationary importance sampling (SIS) provably reduce variance over PDIS and IS, and if so, what are the sufficient conditions?
- RQ3Why do empirical results show SIS outperforming IS in long-horizon domains, despite theoretical risks of higher variance?
- RQ4What is the asymptotic variance behavior of IS, PDIS, and SIS as the horizon T grows, and how do they compare in terms of growth rate?
- RQ5How does conditioning on different statistics (e.g., rewards, state-action pairs) affect the variance of importance sampling estimators in off-policy evaluation?
Key findings
- In finite-horizon MDPs, per-decision and stationary importance sampling do not always reduce variance compared to vanilla IS; counterexamples exist where IS has lower variance.
- The variance of the conditional importance sampling estimator is not guaranteed to be lower than crude IS due to covariances between summands in the trajectory sum.
- Sufficient conditions for variance reduction in PDIS and SIS are derived in Theorems 1 and 2, based on the MDP structure and the choice of conditioning statistics.
- Asymptotically, under certain conditions, the variance of SIS grows as O(T²), while vanilla IS can grow exponentially with T, explaining SIS’s empirical success in long-horizon settings.
- Corollary 4 shows that under mild assumptions, the variance of SIS is provably lower than that of PDIS, providing theoretical support for SIS’s superiority in some regimes.
- A reward-conditioned estimator in the batch setting is shown to be equivalent to vanilla IS, indicating that such conditioning does not inherently reduce variance in batch off-policy evaluation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.