Introduction
Reinforcement Learning (RL) agents often struggle with sample inefficiency, requiring extensive interaction with an environment before achieving competent performance. Two established techniques to mitigate this are Reward Shaping, which provides heuristic "hints" to the agent, and Ensembles, which combine multiple policies to improve decision-making. However, integrating these approaches is challenging; naively combining different shaping rewards can lead to conflicting signals, and learning multiple policies simultaneously often requires unstable off-policy learning.
This paper introduces a novel ensemble architecture that learns multiple policies in parallel from a single stream of experience. By leveraging the Horde architecture alongside potential-based reward shaping (PBRS) and a robust rank-voting mechanism, the authors develop an agent capable of utilizing diverse domain knowledge without the risk of divergent behavior.
Proposed Architecture
The proposed system is built upon three foundational pillars designed to ensure mathematical stability and real-time performance:
- Horde Architecture & Greedy-GQ($\lambda$): The framework uses independent learning units, termed "demons," to learn various value functions in parallel from the same data stream. To prevent the "deadly triad" of instability (off-policy learning, function approximation, and bootstrapping), the authors employ Greedy-GQ, a Gradient Temporal-Difference (GTD) method with convergence guarantees.
- Potential-Based Reward Shaping (PBRS): Each demon is assigned a unique shaping potential ($\Phi$). PBRS ensures that the added rewards do not alter the optimal policy of the underlying task, preserving the integrity of the original goal.
- Rank Voting Ensemble: To aggregate the demons' preferences, the system avoids averaging raw Q-values, which may have inconsistent scales. Instead, each demon ranks available actions, and the ensemble selects the action with the highest cumulative rank.
Experimental Setup
The architecture was evaluated using the Mountain Car domain, a classic RL benchmark where an underpowered car must oscillate to build momentum and reach a goal atop a steep hill. The state space (position and velocity) was handled via tile-coding function approximation. Crucially, the agent learned "off-policy" while following a uniform random behavior policy, testing its ability to extract knowledge from latent experience.
Key Results and Insights
The researchers tested the ensemble against various individual shaping heuristics, including "Right" shaping (encouraging rightward movement), "Height" shaping (encouraging climbing), and "Speed" shaping (encouraging velocity).
- Synergistic Learning: In scenarios with comparable shapings (Right and Height), the ensemble successfully transitioned its preference between heuristics as the task progressed, ultimately outperforming any single demon. In this setup, the combination policy achieved a cumulative reward of -211.2, significantly better than the "No shaping" baseline of -336.3.
- Robustness to Heuristic Quality: When a highly effective "Speed" shaping was introduced, the ensemble was capable of identifying and matching its superior performance rather than being degraded by less effective heuristics.
- Knowledge Propagation: The results demonstrate that even when behavior is fixed (latent learning), reward shaping accelerates the propagation of value information across the state space, allowing the agent to "fill in" its knowledge base faster.
Conclusion and Future Work
This work provides a sound, real-time architecture for learning from multiple heuristic sources simultaneously. While currently limited to fixed or slowly changing behavior policies to maintain convergence guarantees, the authors suggest that future iterations could incorporate "meta-learning" to automatically weight demons based on their reliability at different stages of learning. Additionally, the architecture is designed to scale, potentially supporting thousands of demons to automatically find the optimal scaling factors for various domain heuristics.
Summary updated