Decoupling Exploration and Exploitation for Meta-Reinforcement Learning\n without Sacrifices

Evan Zheran Liu, Aditi Raghunathan, Percy Liang, Chelsea Finn · DOI

Abstract

The goal of meta-reinforcement learning (meta-RL) is to build agents that can quickly learn new tasks by leveraging prior experience on related tasks. Learning a new task often requires both exploring to gather task-relevant information and exploiting this information to solve the task. In principle, optimal exploration and exploitation can be learned end-to-end by simply maximizing task performance. However, such meta-RL approaches struggle with local optima due to a chicken-and-egg problem: learning to explore requires good exploitation to gauge the exploration's utility, but learning to exploit requires information gathered via exploration. We introduce DREAM, which decouples exploration and exploitation by constructing an exploitation objective that automatically identifies task-relevant information and an exploration objective to recover only this information. DREAM substantially outperforms existing approaches on complex meta-RL problems, such as sparse-reward 3D visual navigation.

Introduction: The Coupling Problem in Meta-RL

Meta-Reinforcement Learning (Meta-RL) aims to create agents capable of rapid adaptation to new environments. Consider a robot chef tasked with cooking in a new kitchen: it must first explore to locate ingredients and then exploit that knowledge to prepare a meal.

Standard Meta-RL methods attempt to learn both behaviors simultaneously by maximizing total reward. This creates a fundamental coupling problem:

  1. Exploration needs Exploitation: To learn an effective exploration strategy (e.g., finding ingredients), the agent needs a competent exploitation strategy to evaluate the utility of the discovered information.
  2. Exploitation needs Exploration: To learn a good exploitation strategy (e.g., cooking), the agent requires the exploration strategy to have already provided the necessary task-specific information.

When both strategies start from zero, agents often converge to local optima, failing to learn meaningful exploration because they do not yet know how to utilize the information they might find.

The DREAM Approach: Decoupling for Success

The authors propose DREAM (Decoupling exPloRation and ExploitAtion in Meta-RL) to break this dependency cycle. The key innovation is leveraging unique Problem IDs (e.g., a specific kitchen or user ID) available during the meta-training phase to provide a target for exploration.

1. Learning to Exploit with Task-Relevant Information

During training, the agent is provided with the Problem ID. An encoder $F_\psi$ transforms this ID into a latent representation $z$. The exploitation policy is then trained to solve the task using $z$. To ensure the agent doesn't memorize irrelevant details, an information bottleneck is applied, forcing $z$ to contain only the information strictly necessary for maximizing rewards.

2. Learning to Explore

With the "relevant" $z$ identified, a separate exploration policy is trained. Its goal is to produce trajectories that allow a decoder to reconstruct the target $z$. This makes the exploration "task-aware"—it focuses solely on gathering information that has been proven useful for exploitation, rather than simply visiting novel states (curiosity-based exploration).

3. Theoretical Consistency

The authors prove that these decoupled objectives are consistent with the ideal end-to-end objective. If optimized perfectly, DREAM reaches the same global optimum but avoids the optimization hurdles of simultaneous training. Theoretical analysis shows that in simple settings, DREAM's sample complexity is exponentially better than standard end-to-end approaches like RL$^2$.

Experimental Evaluation

DREAM was evaluated on several benchmarks designed to test exploration capabilities, including didactic grid worlds with distractors, cooking tasks with randomized ingredients, and sparse-reward 3D visual navigation.

Key Results

  • Superior Performance: In the 3D Visual Navigation task, DREAM was the only method able to learn the task. Baselines like PEARL, VARIBAD, and IMPORT remained at zero reward, unable to overcome the coupling problem.
  • Efficiency: On cooking and navigation tasks, DREAM achieved up to 90% higher returns than the best-performing baselines.
  • Robustness: In the "Distracting Bus" task, DREAM successfully ignored unhelpful distractors, whereas versions without the information bottleneck wasted time exploring irrelevant targets.

Conclusion

DREAM provides a robust framework for Meta-RL by explicitly separating the "what to find" from the "how to use it." By leveraging Problem IDs and information bottlenecks, it avoids the local optima common in end-to-end training without sacrificing the quality of the final policy. While it currently relies on task identifiers during training, it represents a significant step forward in solving complex, sparse-reward tasks.

Summary updated

BibTeX
@inproceedings{liu2021decoupling,
  author = {Evan Zheran Liu and Aditi Raghunathan and Percy Liang and Chelsea Finn},
  title = {{Decoupling Exploration and Exploitation for Meta-Reinforcement Learning\textbackslash\{\}n without Sacrifices}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure