Abstract
State-of-the-art meta reinforcement learning algorithms typically assume the setting of a single agent interacting with its environment in a sequential manner. A negative side-effect of this sequential execution paradigm is that, as the environment becomes more and more challenging, and thus requiring more interaction episodes for the meta-learner, it needs the agent to reason over longer and longer time-scales. To combat the difficulty of long time-scale credit assignment, we propose an alternative parallel framework, which we name "Concurrent Meta-Reinforcement Learning" (CMRL), that transforms the temporal credit assignment problem into a multi-agent reinforcement learning one. In this multi-agent setting, a set of parallel agents are executed in the same environment and each of these "rollout" agents are given the means to communicate with each other. The goal of the communication is to coordinate, in a collaborative manner, the most efficient exploration of the shared task the agents are currently assigned. This coordination therefore represents the meta-learning aspect of the framework, as each agent can be assigned or assign itself a particular section of the current task's state space. This framework is in contrast to standard RL methods that assume that each parallel rollout occurs independently, which can potentially waste computation if many of the rollouts end up sampling the same part of the state space. Furthermore, the parallel setting enables us to define several reward sharing functions and auxiliary losses that are non-trivial to apply in the sequential setting. We demonstrate the effectiveness of our proposed CMRL at improving over sequential methods in a variety of challenging tasks.
Introduction
Standard Meta-Reinforcement Learning (Meta-RL) algorithms, such as $RL^2$, typically operate within a sequential "meta-episode" structure. In this paradigm, an agent interacts with an environment over several discrete episodes, utilizing internal memory (e.g., an LSTM) to adapt to the task before entering a final exploitation phase. While effective for simple tasks, this approach suffers from two primary limitations: the Horizon Problem and the Risk-Aversion Trap.
The Horizon Problem arises because harder tasks require more exploration episodes, leading to extremely long sequences for Backpropagation Through Time (BPTT). This often results in vanishing or exploding gradients, making long-term credit assignment nearly impossible. The Risk-Aversion Trap occurs in environments where exploration carries high penalties (e.g., "bombs"). In a sequential setting, if the first few trials result in significant negative rewards, the meta-learner may converge on a "do-nothing" policy to avoid further loss, failing to ever discover the goal.
Methods: Concurrent Meta-Reinforcement Learning
To address these issues, we introduce Concurrent Meta-Reinforcement Learning (CMRL). CMRL replaces the $K$ sequential episodes of traditional Meta-RL with $K$ "rollout" agents operating in parallel within the same environment.
Communication and Architecture
Unlike standard parallel RL where rollouts are independent, CMRL agents communicate in real-time. We explore two primary architectures:
- Central-LSTM: A monolithic model that treats the entire team of agents as a single entity, outputting actions for all agents simultaneously.
- Meta-LSTM: A hierarchical structure where each agent maintains its own "Rollout-LSTM" for local state processing, while a central "Meta-LSTM" aggregates these features to provide a global context signal back to each agent.
Exploration Incentives
CMRL enables novel reward sharing and auxiliary losses. Max-Until-Exploit rewards explorers based on the best performance within the team, while StDev-Until-Exploit encourages diverse outcomes. Additionally, a Divergence Loss penalizes agents for taking identical actions in similar states, forcing the team to cover a broader area of the state space.
Experimental Evaluation
We evaluated CMRL against sequential baselines on three environments designed to test exploration and risk management.
- N-Monty-Hall: A high-risk MDP where $N$ doors hide either a small reward or a large negative "bomb." This environment specifically targets the risk-aversion trap.
- N-Color-Choice: A partially-observable 2D grid world requiring agents to identify a specific colored goal among several candidates.
- N-Reacher: A discretized robotic arm task where the agent must reach one of several potential target locations.
Results and Discussion
CMRL demonstrated significant improvements in both success rate and sample efficiency. In the 10-Monty-Hall task, the sequential $RL^2$ baseline failed completely (0% success) due to extreme risk aversion. In contrast, CMRL achieved a 100% success rate, as the parallel structure allowed the meta-learner to process "failures" (hitting a bomb) as informative data points for the rest of the team without paralyzing the entire learning process.
In the Reacher task, CMRL reached a 40% success rate in approximately 4,000 updates, significantly outperforming the ERL2 baseline, which required over 11,000 updates to reach a lower performance threshold. Heatmap analysis confirmed that CMRL agents achieve superior state-space coverage, driven by the divergence losses and parallel coordination.
Conclusion
CMRL transforms the challenge of long-term temporal credit assignment into a more manageable multi-agent coordination problem. By shifting the focus from sequential trials to concurrent exploration, CMRL avoids the pitfalls of risk aversion and gradient instability in long-horizon tasks. Future work will explore extending this framework to asynchronous agent actions and scaling the communication protocols to larger agent populations.
Summary updated