[Paper Review] Importance Sampling Policy Evaluation with an Estimated Behavior Policy
This paper proposes regression importance sampling (RIS), a method that estimates the behavior policy from the same dataset used for off-policy evaluation, reducing mean squared error (MSE) in importance sampling. By correcting for sampling error in action-space likelihoods, RIS achieves lower MSE than ordinary importance sampling—even when the true behavior policy is Markovian—especially in large samples and with non-Markovian behavior policy estimates.
We consider the problem of off-policy evaluation in Markov decision processes. Off-policy evaluation is the task of evaluating the expected return of one policy with data generated by a different, behavior policy. Importance sampling is a technique for off-policy evaluation that re-weights off-policy returns to account for differences in the likelihood of the returns between the two policies. In this paper, we study importance sampling with an estimated behavior policy where the behavior policy estimate comes from the same set of data used to compute the importance sampling estimate. We find that this estimator often lowers the mean squared error of off-policy evaluation compared to importance sampling with the true behavior policy or using a behavior policy that is estimated from a separate data set. Intuitively, estimating the behavior policy in this way corrects for error due to sampling in the action-space. Our empirical results also extend to other popular variants of importance sampling and show that estimating a non-Markovian behavior policy can further lower large-sample mean squared error even when the true behavior policy is Markovian.
Motivation & Objective
- To address high variance and sampling error in off-policy evaluation using importance sampling.
- To investigate whether estimating the behavior policy from the same dataset improves estimation accuracy.
- To evaluate whether non-Markovian behavior policy estimation can reduce asymptotic MSE even when the true policy is Markovian.
- To demonstrate the consistency and lower asymptotic variance of RIS compared to ordinary importance sampling.
- To explore the practical benefits of combining RIS with existing variance reduction techniques.
Proposed method
- RIS estimates the behavior policy $\pi_{\mathcal{D}}$ from the dataset $\mathcal{D}$ using empirical action frequencies in each state, replacing the true $\pi_b$ in importance sampling.
- The method computes importance weights as $\frac{\pi_e(a|s)}{\pi_{\mathcal{D}}(a|s)}$, where $\pi_{\mathcal{D}}$ is estimated from observed state-action frequencies in $\mathcal{D}$.
- RIS uses the same dataset $\mathcal{D}$ to both estimate $\pi_{\mathcal{D}}$ and compute the importance sampling estimate, correcting for sampling-induced bias.
- The approach is extended to non-Markovian behavior policies by conditioning on trajectory segments, not just the current state.
- RIS is combined with existing variance reduction techniques such as control variates, normalized weights, and clipping for further improvement.
- Theoretical analysis shows RIS is consistent and has asymptotically lower variance than ordinary importance sampling when the policy class includes the true behavior policy.
Experimental results
Research questions
- RQ1Does estimating the behavior policy from the same dataset as the importance sampling estimate reduce mean squared error in off-policy evaluation?
- RQ2Can estimating a non-Markovian behavior policy further reduce large-sample MSE when the true behavior policy is Markovian?
- RQ3How does RIS compare to ordinary importance sampling in terms of bias, variance, and MSE across discrete and continuous action spaces?
- RQ4What is the impact of combining RIS with standard variance reduction techniques?
- RQ5Under what conditions does RIS achieve lower asymptotic variance than using the true behavior policy?
Key findings
- RIS consistently reduces mean squared error compared to ordinary importance sampling (OIS), even when the true behavior policy is Markovian.
- Estimating the behavior policy from the same dataset corrects for sampling error in action-space likelihoods, leading to lower MSE.
- RIS with non-Markovian behavior policy estimation further reduces large-sample MSE, even when the true policy is Markovian.
- RIS is consistent and has asymptotically lower variance than OIS when the estimated policy class includes the true behavior policy.
- The method is empirically effective across both discrete and continuous action space environments.
- RIS is complementary to existing variance reduction techniques, and combining them yields further MSE reduction.
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.