Introduction
In Reinforcement Learning (RL), the goal is to update a policy to maximize rewards. Traditionally, practitioners have faced a stark choice when estimating the performance of a new "target" policy using data from an old "behavior" policy.
On one hand, Pure Importance Sampling (IS) provides an unbiased estimate but suffers from "variance explosion." Because it multiplies importance ratios across an entire trajectory, the variance grows exponentially with the time horizon, leading to unstable optimization. On the other hand, Surrogate Objectives used in popular algorithms like TRPO and PPO avoid this variance by only considering the importance ratio of the current step. While stable, this approach introduces bias by ignoring how policy changes affect the distribution of states the agent visits (the state occupancy measure).
Bridging the Gap: Approximate Importance Sampling
This paper identifies a "missing middle" between these two extremes. The authors propose a novel objective that allows for a tunable trade-off between bias and variance. By introducing a parameter vector ($\alpha_t$), they create a mathematical spectrum where PPO and Pure IS are simply the endpoints.
The core innovation is the Approximate Importance Sampling objective. Instead of using a single ratio or a full trajectory product, the authors use a weighted product of ratios:
$$f^\alpha(s_{0:t}, a_{0:t}) := \prod_{i=1}^t \left(\frac{\pi_{new}(a_i|s_i)}{\pi_{old}(a_i|s_i)}\right)^{\alpha_i^t} A^\pi(s_t, a_t)$$
By choosing intermediate values for $\alpha_t$ (e.g., smoothing the last few steps), the algorithm can "look back" into the trajectory's history to correct for occupancy bias without letting variance spiral out of control. This method is integrated into a practical algorithm that retains PPO's clipping mechanism for added stability.
Experimental Results and Key Insights
The authors evaluated their approach on the MuJoCo benchmark suite, focusing on high-dimensional continuous control tasks. The results demonstrate that incorporating even a small amount of trajectory history can lead to significant gains in sample efficiency.
Key Findings:
- Sample Efficiency: On the challenging Humanoid task, the proposed method achieved a 48% improvement in sample efficiency over standard PPO. Across eight environments, it showed an average improvement of 20% in the majority of cases.
- Robustness: The method proved more robust to hyperparameters. In scenarios where the "clip range" was set too high—a condition that typically causes PPO to collapse—the Approximate IS method maintained stable learning curves.
- Theoretical Unification: The paper provides a new "Value Dependency Equality" that unifies several previous theoretical bounds (including those for TRPO and CPO) into a single framework defined by the $\alpha$ vector.
Conclusion and Future Work
By treating the occupancy bias as a tunable parameter rather than an unavoidable consequence of stability, this work provides a powerful new tool for policy optimization. While the current study uses fixed, manually chosen schemes for $\alpha$, future work could explore adaptive methods to dynamically balance bias and variance during training, potentially unlocking even greater performance in long-horizon tasks.
Summary updated