Transfer Reinforcement Learning across Environment Dynamics with Multiple Advisors

Hélène Plisnier, Denis Steckelmacher, Diederik M. Roijers, Ann NowéBNAIC/BENELEARN 2019

Introduction

Reinforcement Learning (RL) has demonstrated remarkable success in mastering complex tasks, yet it remains notoriously "sample-hungry." For applications involving physical robots or high-fidelity simulators, the requirement for millions of interactions is often a prohibitive barrier. Transfer Learning (TL) offers a solution by reusing knowledge from previously mastered "source" tasks to accelerate learning in a new "target" task.

However, traditional TL methods face two significant hurdles. First, they often suffer from Single-Advisor Bias, relying on a single source policy that may lead the agent astray if the source and target tasks differ. Second, most research focuses on changing goals while keeping environment physics constant. In reality, agents often face changing transition dynamics—such as a robot navigating different office layouts where the fundamental physics are the same, but the placement of obstacles varies.

This paper introduces a novel approach that leverages multiple expert "advisors" to navigate these challenges, providing a robust framework for transferring knowledge across varying environment dynamics.

Methodology

The proposed method is built upon Bootstrapped Dual Policy Iteration (BDPI), an actor-critic algorithm known for its high sample efficiency. The authors extend this framework with two primary innovations:

1. Policy Shaping with Multiple Advisors

Instead of attempting to identify a single "best" previous expert, the agent aggregates advice from a pool of $N$ advisors. The core intuition is that in regions of the state space where tasks are consistent (e.g., "avoiding walls"), advisors will agree, creating a strong, low-entropy signal. Conversely, in regions where dynamics have changed (e.g., a door has moved), advisors will disagree, resulting in a high-entropy signal. This naturally signals to the agent that it should rely on its own exploration rather than the advisors' conflicting suggestions.

2. Learning Correction Mechanism

To prevent the agent from being permanently limited by outdated advice, the authors implement a mathematical "pull-away" mechanism in the actor’s learning rule. If the advisors' suggestions contradict the agent’s own learned critics, this correction allows the actor to diverge from the advisors. This ensures that the agent can eventually reach an optimal policy even if the source advisors are imperfect or irrelevant to the specific target configuration.

Experimental Setup: The Five Rooms Environment

The researchers evaluated their approach using a "Five Rooms" grid world ($29 \times 28$ cells). The agent's task is to navigate from a start cell to a goal cell. To isolate the challenge of transferring across transition dynamics, the researchers kept the goal and rewards identical but varied the internal layout.

By moving two internal doors across 26 possible positions each, they created a total of 676 unique environment configurations. This setup forces the agent to adapt to different spatial constraints while the underlying objective remains constant.

Key Insights and Results

The Wisdom of the Crowd

The study reveals that averaging advisors acts as an inherent safety mechanism. While a single advisor might be "confidently wrong" about a path that is now blocked, a group of advisors will only show high confidence where the underlying structure of the problem is truly consistent. Interestingly, the research found that averaging four randomly chosen advisors often yielded better long-term results than hand-picking the single "best" advisor, reducing the computational overhead of source task selection.

Performance and Scalability

  • Significant Jumpstart: Agents utilizing 50 advisors showed a massive increase in initial rewards compared to agents learning from scratch, demonstrating immediate knowledge transfer.
  • Stability: Performance remained remarkably stable across different pool sizes. Even a small pool of four advisors provided a substantial boost over a single-advisor setup.
  • Robustness: The learning correction mechanism proved essential. Without it, high advisor influence ($\rho$) prevented the agent from "breaking away" from outdated maps, leading to sub-optimal performance.

Conclusion and Future Work

This multi-advisor approach provides a scalable and robust method for Transfer Learning in environments with shifting dynamics. By using the entropy of advisor agreement as a signal for uncertainty, the agent can intelligently decide when to trust prior knowledge and when to explore.

While the current results in discrete grid worlds are promising, future work will focus on scaling these mathematical principles to continuous state spaces (such as raw video input) and testing the framework on physical robotic systems, such as smart wheelchairs, where safety and efficiency are paramount.

Summary updated

BibTeX
@inproceedings{plisnier2019transfer,
  author = {Hélène Plisnier and Denis Steckelmacher and Diederik M. Roijers and Ann Nowé},
  title = {{Transfer Reinforcement Learning across Environment Dynamics with Multiple Advisors}},
  booktitle = {BNAIC/BENELEARN},
  year = {2019},
  url = {https://openreview.net/forum?id=zEOyMqCDhJj},
}
Figure