TL;DR
This paper introduces a "dual policy" agent that uses a separate, distilled policy network as a "self-model" for planning, in addition to its primary model-free policy. This approach stabilizes training, speeds up planning, and improves exploration compared to using the model-free policy for both tasks, offering a more comprehensive understanding of the agent's own behavior.
What Problem Does This Paper Address?
Planning is a crucial decision-making strategy where an agent explores potential future states to find optimal actions. However, in environments with large or high-dimensional action spaces, exploring all possibilities becomes computationally infeasible. To address this, agents need a "self-model" – a way to predict which actions they might take in future states, thereby limiting the search space. While self-models are implicitly used in conjunction with world models, the optimal design for these self-models remains unclear. Existing approaches often use the agent's primary model-free policy as the self-model, but this paper questions whether a specialized self-model could offer further benefits, drawing inspiration from neuroscience's distinction between habitual and goal-directed behaviors.
Methods
The core contribution is the introduction of the "dual policy agent." This agent comprises three main components:
- World Model: Predicts the next state and reward given the current state and action.
- Model-Free Policy: Learns to select actions that maximize future rewards through standard reinforcement learning (Proximal Policy Optimization - PPO). This policy is used for direct action execution.
- Distilled Policy (Self-Model): A separate, often smaller, policy network trained to mimic the actions of the model-free policy. This network is exclusively used for generating candidate actions during the planning phase.
The paper compares this dual policy agent against a "shared policy agent" (which uses the model-free policy for both action execution and planning) and a "simple agent" (which only uses the model-free policy without planning). Planning is performed using Monte Carlo Tree Search (MCTS), with candidate actions for exploration being sampled from the self-model.
Datasets
The experiments were conducted in a custom-designed, ecologically relevant predator/prey environment. This environment is parameterized, allowing for variations in map size and other settings to test the agents' capabilities. No standard public datasets were used; the environment itself served as the benchmark.
Key Insights and Ideas
- Specialized Self-Model for Planning: A dedicated "self-model" (the distilled policy) can be more effective for planning than using the agent's primary model-free policy. This is because the distilled policy can learn to generate a broader range of actions, including those that might be sub-optimal for direct execution but useful for exploring future possibilities.
- Neuroscience Inspiration: The distinct roles of the prefrontal cortex (goal-directed planning) and basal ganglia (habitual actions) in the brain provide a biological rationale for separating planning and direct action policies.
- Stabilized Training: The dual policy agent demonstrated more stable training, evidenced by smaller standard deviations in performance metrics, suggesting that having separate networks for different functions can lead to more robust learning.
- Faster Inference: A smaller distilled policy network can lead to faster planning inference times compared to using a larger model-free policy for the same task.
- Enhanced Exploration: The dual policy agent showed improved exploration capabilities, particularly in larger and more complex environments, allowing it to discover more rewarding strategies.
- Handling Reflexive Behaviors: The dual policy agent was better at reconciling discrepancies between learned policies and innate "reflexive" behaviors (like freezing or fleeing), leading to more robust performance in critical situations.
Key Results
- Performance: The dual policy agent achieved performance comparable to the shared policy agent in terms of success rates, but with significantly lower variance, indicating more stable training.
- Inference Speed: By using smaller distilled policy networks, the dual policy agent achieved faster planning inference.
- Exploration: In larger map environments, the dual policy agent's success rate was substantially higher than the shared policy agent, demonstrating its superior exploration capabilities.
- Reflexive Behavior: The dual policy agent significantly outperformed the shared policy agent when dealing with detrimental reflexive behaviors (like freezing), suggesting it can better integrate learned and innate responses.
Limitations and Future Work
- Environment Specificity: The findings were validated in a single, albeit complex, predator/prey environment. The generalizability of these results to a wider range of environments needs further investigation.
- Temporal Abstraction: The paper suggests exploring temporal abstraction within the dual policy framework, which could lead to more efficient hierarchical planning.
- Retraining/Lesion Stability: Investigating the use of the distilled policy to retrain a "damaged" model-free policy could offer insights into ensuring robustness and recovery under disruptions.
- Multi-Agent Settings: Extending the dual policy concept to multi-agent scenarios to develop "theory of mind" capabilities—understanding and predicting other agents' behaviors—is a promising future direction.
Summary updated