[Paper Review] Iterative Amortized Policy Optimization
This paper proposes iterative amortized policy optimization (IAPO), a method that improves deep reinforcement learning in continuous control by iteratively refining policy estimates through gradient-based updates, reducing the amortization gap and enabling multiple policy modes. It outperforms direct amortization and standard SAC on MuJoCo benchmarks, especially in multi-modal action spaces.
Policy networks are a central feature of deep reinforcement learning (RL) algorithms for continuous control, enabling the estimation and sampling of high-value actions. From the variational inference perspective on RL, policy networks, when used with entropy or KL regularization, are a form of extit{amortized optimization}, optimizing network parameters rather than the policy distributions directly. However, extit{direct} amortized mappings can yield suboptimal policy estimates and restricted distributions, limiting performance and exploration. Given this perspective, we consider the more flexible class of extit{iterative} amortized optimizers. We demonstrate that the resulting technique, iterative amortized policy optimization, yields performance improvements over direct amortization on benchmark continuous control tasks.
Motivation & Objective
- Address the amortization gap in deep reinforcement learning, where direct policy network mappings yield suboptimal action distributions.
- Overcome limitations of direct amortization, such as restricted exploration and single-estimate outputs.
- Enable more accurate and flexible policy optimization by leveraging iterative gradient updates during inference.
- Explore the generalization and multi-modality benefits of iterative amortization in complex control environments.
- Demonstrate that iterative refinement during training improves asymptotic performance beyond test-time optimization.
Proposed method
- Formulate policy optimization as iterative amortized inference, where a policy network is refined through multiple gradient steps per state.
- Use a differentiable, differentiable policy network to output action distribution parameters (mean and variance) that are iteratively updated via gradient ascent on the policy objective.
- Apply gradient updates to the policy network parameters using the policy gradient objective, with gradients computed from the Q-value function.
- Introduce stochasticity in initialization and optimization to enable multiple distinct policy estimates per state, enhancing exploration.
- Train the policy network end-to-end using standard RL algorithms (e.g., SAC), but with iterative refinement during both training and evaluation.
- Use a variational inference framework to interpret the policy as an amortized optimizer, with iterative updates reducing the gap between approximate and true optimal policies.
Experimental results
Research questions
- RQ1Can iterative amortized optimization reduce the amortization gap in deep reinforcement learning compared to direct amortization?
- RQ2Does iterative refinement enable multiple policy estimates per state, improving exploration in multi-modal action spaces?
- RQ3How does iterative optimization during training affect final performance compared to test-time refinement?
- RQ4Can iterative amortization generalize to new objectives or value functions without retraining?
- RQ5What is the trade-off between increased computation (multiple iterations) and performance gains in continuous control tasks?
Key findings
- Iterative amortized policy optimization reduces the amortization gap significantly, especially in environments like Walker2d-v2 and Ant-v2, where multi-modality is critical.
- On Hopper-v2, HalfCheetah-v2, and Walker2d-v2, IAPO outperforms direct amortization and standard SAC, with consistent improvements in final return.
- Even with a single iteration, IAPO surpasses direct amortization, indicating that iterative refinement captures multi-modal behavior effectively.
- Additional iterations during evaluation do not improve environment performance, suggesting that value function inaccuracies limit gains from test-time refinement.
- During training, increasing the number of iterative steps (e.g., 5 vs. 1) leads to better asymptotic performance and reduced amortization gap, confirming training-time refinement is more effective.
- Multiple policy estimates are observed across 10 optimization runs per state, with L2 distances between policy means indicating persistent multi-modality in action spaces, particularly on Walker2d-v2 and Ant-v2.
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.