TGRL: An Algorithm for Teacher Guided Reinforcement Learning
Idan Shenfeld, Zhang-Wei Hong, Aviv Tamar, Pulkit Agrawal
TL;DR
TGRL tackles the problem of when to trust a teacher during reinforcement learning by constraining a joint reward+imitation objective with a reward-only auxiliary policy. It uses a dual optimization with a Lagrange multiplier $λ$ to adaptively weight teacher guidance, implemented in an off-policy, two-critic, two-actor architecture to allow efficient learning and reuse of data. The method achieves strong results across diverse domains, including highly observable and severely partially observable tasks, and can surpass sub-optimal teachers without task-specific hyperparameter tuning. This yields a practical framework for leveraging teacher knowledge in challenging RL problems, particularly where teachers are imperfect or have privileged information.
Abstract
Learning from rewards (i.e., reinforcement learning or RL) and learning to imitate a teacher (i.e., teacher-student learning) are two established approaches for solving sequential decision-making problems. To combine the benefits of these different forms of learning, it is common to train a policy to maximize a combination of reinforcement and teacher-student learning objectives. However, without a principled method to balance these objectives, prior work used heuristics and problem-specific hyperparameter searches to balance the two objectives. We present a $\textit{principled}$ approach, along with an approximate implementation for $\textit{dynamically}$ and $\textit{automatically}$ balancing when to follow the teacher and when to use rewards. The main idea is to adjust the importance of teacher supervision by comparing the agent's performance to the counterfactual scenario of the agent learning without teacher supervision and only from rewards. If using teacher supervision improves performance, the importance of teacher supervision is increased and otherwise it is decreased. Our method, $\textit{Teacher Guided Reinforcement Learning}$ (TGRL), outperforms strong baselines across diverse domains without hyper-parameter tuning.
