Abstract
Reinforcement learning (RL) often struggles with sample efficiency, necessitating the reuse of "off-policy" data collected by previous agent versions. However, this introduces distribution shifts that can lead to unstable updates. This paper introduces a unified framework that integrates Multiple Importance Sampling (MIS) and Per-Decision Importance Sampling (PDIS) into the Policy Optimization via Importance Sampling (POIS) framework. By optimizing a lower bound on performance that explicitly penalizes updates with high statistical uncertainty, the authors develop "risk-averse" algorithms. Experimental results on continuous control benchmarks show that these methods provide a more stable and theoretically grounded approach to policy improvement, often outperforming state-of-the-art methods like PPO and TRPO.
Introduction
Reinforcement Learning is notoriously sample-hungry. To improve efficiency, practitioners often reuse data collected by older versions of an agent. This creates a "distribution shift": the available data does not perfectly match the policy currently under optimization. The standard tool for addressing this is Importance Sampling (IS), which re-weights old samples to reflect the current policy. However, IS is prone to high variance; if the current policy diverges significantly from the behavioral policy, weights can explode, leading to unstable updates and "catastrophic forgetting."
While popular algorithms like Proximal Policy Optimization (PPO) use heuristics such as clipping to manage this variance, this paper seeks a more principled approach. By building uncertainty directly into the optimization objective, the authors aim to create a more robust framework for off-policy learning.
Methods
The authors build upon the POIS framework, which optimizes a lower bound on performance. The agent maximizes expected reward while subtracting a penalty term proportional to the variance of its importance weights. Key innovations include:
- Multiple Importance Sampling (MIS): Instead of relying only on the most recent batch of data, MIS allows the agent to utilize trajectories from multiple past policies. This increases the effective sample size without requiring additional environment interactions.
- Per-Decision Importance Sampling (PDIS): Standard IS applies a single weight to an entire trajectory. PDIS decomposes this, applying weights at each timestep. Since rewards at time $t$ only depend on actions taken up to that point, this significantly reduces variance.
- Theoretical Foundations: The authors derive new high-probability bounds using Rényi divergence to quantify the risk of off-policy updates.
- Neuron-Based Grouping (N-POIS): To scale to deep neural networks with thousands of parameters, the authors group parameters by neuron, making the optimization more manageable.
Using MIS involves a trade-off between sample efficiency and computational cost, as detailed in the table below:
Experimental Results
The algorithms were evaluated on standard continuous control benchmarks from the MuJoCo physics engine and OpenAI Gym, including Cartpole Balancing, Inverted Pendulum, Acrobot, and Swimmer.
Key Findings
- Performance: On tasks like Cartpole and Inverted Double Pendulum, POIS variants (specifically P-POIS and D-POIS) converged faster and achieved higher final rewards than industry standards like PPO and TRPO.
- Scalability: When applied to deep neural networks, A-POIS and D-POIS remained competitive with TRPO and significantly outperformed DDPG on several benchmarks.
- Variance Reduction: Empirical tests confirmed that the PDIS approach consistently lowered the variance of importance weights compared to vanilla IS, enabling stable updates even with smaller batch sizes.
Discussion and Conclusion
The research demonstrates that "pessimism is a virtue" in policy optimization. By optimizing a risk-averse objective, agents avoid taking large steps into regions of the policy space where data is unreliable, leading to smoother learning curves.
However, limitations remain. MIS introduces computational overhead, as every sample must be evaluated against every policy in the buffer. Furthermore, action-based methods still face the "curse of horizon," where variance grows exponentially with task length. Future work may explore "risk-seeking" (optimistic) versions of these objectives to drive better exploration in complex environments.
Summary updated