Abstract
The recent rapid advancement of machine learning has been driven by increasingly powerful models with the growing availability of training data and computational resources. However, real-time decision-making tasks with limited time and sparse learning signals remain challenging. One way of improving the learning speed and performance of these agents is to leverage human guidance. In this work, we introduce GUIDE, a framework for real-time human-guided reinforcement learning by enabling continuous human feedback and grounding such feedback into dense rewards to accelerate policy learning. Additionally, our method features a simulated feedback module that learns and replicates human feedback patterns in an online fashion, effectively reducing the need for human input while allowing continual training. We demonstrate the performance of our framework on challenging tasks with sparse rewards and visual observations. Our human study involving 50 subjects offers strong quantitative and qualitative evidence of the effectiveness of our approach. With only 10 minutes of human feedback, our algorithm achieves up to 30% increase in success rate compared to its RL baseline.
Introduction
Reinforcement Learning (RL) has demonstrated remarkable success in environments with well-defined reward structures. However, real-world applications often present "sparse reward" challenges, where agents struggle to learn because feedback from the environment is infrequent or delayed. While Human-in-the-Loop (HITL) reinforcement learning offers a potential solution by incorporating human intuition, existing methods often suffer from low communication bandwidth, human fatigue, and high variance in trainer quality.
To address these challenges, we present GUIDE, a framework designed to accelerate RL through real-time human guidance. By enabling continuous feedback and grounding it into dense rewards, GUIDE bridges the gap between human intent and agent action. Furthermore, the framework introduces a simulated feedback module to mitigate the human bottleneck, allowing agents to continue learning even after the human trainer has stepped away.
Methodology
The GUIDE framework is built upon three primary innovations designed to streamline the interaction between humans and agents:
Continuous Feedback Interface
Traditional HITL systems often rely on discrete inputs, such as "Good" or "Bad" buttons. These interfaces are cognitively taxing for humans and provide low-bandwidth information. GUIDE utilizes a mouse-hover interface where trainers move a cursor over a gradient window. This allows for the transmission of nuanced, real-valued feedback at every single time step, providing a high-fidelity signal without interrupting the trainer's flow.
Interactive Reward Shaping
To integrate human guidance into standard RL algorithms like Deep Deterministic Policy Gradient (DDPG), GUIDE employs reward shaping. The total reward ($r_{total}$) is calculated as the sum of the environment reward ($r_{environment}$) and the human-provided reward ($r_{human}$):
$$r_{total} = r_{human} + r_{environment}$$
This transformation turns a sparse reward problem into a dense reward problem, significantly accelerating the policy learning process by providing the agent with constant direction.
Simulated Human Module
To address the "human bottleneck"—the reality that human trainers cannot provide feedback indefinitely—GUIDE incorporates a surrogate neural network. This module learns to predict human feedback patterns based on the agent's state and actions in an online fashion. Once trained, this "simulated human" can take over the guidance role, enabling automated training and ensuring the agent continues to improve without constant human supervision.
Experimental Evaluation
We evaluated GUIDE using the CREW platform across three distinct environments:
- Bowling: A modified Atari task focusing on precision and timing.
- Find Treasure: A partially observable maze navigation task with very sparse rewards.
- 1v1 Hide-and-Seek: A multi-agent task requiring spatial reasoning and strategy to catch a heuristic-based hider.
A significant component of our evaluation was a large-scale human study involving 50 adult subjects. This sample size is notably larger than typical HITL studies (which often feature $N < 10$), providing robust quantitative and qualitative data on the framework's effectiveness.
Key Results and Insights
Our experiments yielded several critical findings regarding the efficiency and nature of human-guided learning:
- Performance Boost: With only 10 minutes of human intervention, GUIDE-DDPG achieved a 30% higher success rate than the standard RL baseline. It also outperformed enhanced versions of previous state-of-the-art methods, such as Deep TAMER, by up to 50%.
- Training Efficiency: In time-critical settings, GUIDE reached the performance levels of baseline RL agents in approximately half the training time.
- Cognitive Correlation: One of the most fascinating findings is that a human trainer's performance on standard cognitive tests (such as mental rotation and spatial reasoning) directly correlates with the performance of the agent they train. High-performing humans consistently produced more successful agents.
- Exploration Catalyst: Human guidance acts as a catalyst for exploration. Agents trained with GUIDE showed a much stronger tendency to visit unseen areas of a maze early in training compared to pure RL baselines, preventing the agent from getting stuck in local optima.
Conclusion and Future Work
GUIDE demonstrates that high-bandwidth, continuous human feedback can significantly enhance the learning speed and success rates of RL agents in sparse-reward environments. By leveraging a simulated human module, the framework also provides a path toward sustainable HITL training that respects human time constraints.
Future work will focus on scaling GUIDE to high-dimensional, open-world environments and exploring "explainable" learning techniques for the simulated human module to better understand how it interprets agent behavior. Additionally, we aim to develop methods to mitigate human variance, ensuring high-quality AI outcomes regardless of a trainer's individual cognitive aptitude.
Summary updated