[Paper Review] Imagination-Augmented Agents for Deep Reinforcement Learning
Imagination-Augmented Agents (I2As) augment model-free reinforcement learning with imagined futures from a learned environment model, improving data efficiency and robustness to model imperfection, demonstrated on Sokoban and MiniPacman.
We introduce Imagination-Augmented Agents (I2As), a novel architecture for deep reinforcement learning combining model-free and model-based aspects. In contrast to most existing model-based reinforcement learning and planning methods, which prescribe how a model should be used to arrive at a policy, I2As learn to interpret predictions from a learned environment model to construct implicit plans in arbitrary ways, by using the predictions as additional context in deep policy networks. I2As show improved data efficiency, performance, and robustness to model misspecification compared to several baselines.
Motivation & Objective
- Motivate combining model-free and model-based RL to improve data efficiency and generalization.
- Develop a learnable imagination mechanism that interprets imperfect environment predictions.
- Design an end-to-end architecture that fuses model-based rollouts with a model-free policy.
- Evaluate robustness to model misspecification and compare with planning baselines.
Proposed method
- Introduce an imagination core (IC) that rolls out an environment model conditioned on actions from a rollout policy.
- Encode imagined trajectories with a rollout encoder, then aggregate into an imagination code c_ia.
- Combine c_ia with a model-free path’s features to produce the final policy and value estimates.
- Pretrain the environment model and train the agent end-to-end with A3C, plus an auxiliary loss distilling the imagination-aware policy to the rollout policy.
- Experiment with rollouts of varying length (unrolling steps) to assess information gain and compute efficiency.
- Compare I2A against baselines (standard model-free, copy-model) and analyze performance under imperfect models.
Experimental results
Research questions
- RQ1Does integrating imagined trajectories from a learned environment model improve data efficiency and performance over model-free baselines?
- RQ2Can I2As robustly utilize imperfect environment models without suffering from model error accumulation?
- RQ3How does imagination depth (rollout length) affect learning speed and final performance?
- RQ4How does I2A compare to planning methods (e.g., MCTS) in terms of performance and required model queries?
- RQ5To what extent can the I2A architecture generalize across tasks and environments?
Key findings
- I2A outperforms a standard model-free agent on Sokoban, solving up to 85% of levels versus under 60% for the baseline.
- With increased capacity, the standard baseline reaches ~70% of levels, still below I2A.
- Longer imagination (rollout) lengths improve performance, with 5-step rollouts achieving >90% levels solved in Sokoban.
- I2A remains effective even when the environment model is imperfect or noisy, outperforming encoder-free Monte Carlo baselines under model misspecification.
- I2A demonstrates data efficiency, solving levels after roughly 3e8 frames when accounting for environment-model pretraining (<1e8 frames for pretraining).
- In MiniPacman, a single shared environment model enables I2A to outperform standard and copy-model baselines across tasks with sparse rewards.
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.