Abstract
Reinforcement learning (RL) requires skillful definition and remarkable computational efforts to solve optimization and control problems, which could impair its prospect. Introducing human guidance into reinforcement learning is a promising way to improve learning performance. In this paper, a comprehensive human guidance-based reinforcement learning framework is established. A novel prioritized experience replay mechanism that adapts to human guidance in the reinforcement learning process is proposed to boost the efficiency and performance of the reinforcement learning algorithm. To relieve the heavy workload on human participants, a behavior model is established based on an incremental online learning method to mimic human actions. We design two challenging autonomous driving tasks for evaluating the proposed algorithm. Experiments are conducted to access the training and testing performance and learning mechanism of the proposed algorithm. Comparative results against the state-of-the-art methods suggest the advantages of our algorithm in terms of learning efficiency, performance, and robustness.
Introduction
Reinforcement Learning (RL) has shown great potential in solving complex control problems, yet its practical application in domains like autonomous driving is hindered by extreme "data hunger." Agents often require millions of iterations of trial-and-error, which is computationally expensive and potentially unsafe. While human-in-the-loop (HITL) methods aim to mitigate this by providing expert demonstrations, they face two primary challenges: Data Submersion, where sparse human data is lost among vast amounts of agent-generated exploratory data, and Guidance Quality, where inconsistent or sub-optimal human advice can degrade learning.
This paper introduces PHIL-TD3, a framework built upon the Twin Delayed Deep Deterministic Policy Gradient (TD3) algorithm. PHIL-TD3 addresses these challenges through a novel prioritization mechanism and a synthetic human policy model.
Methodology
The primary innovation of PHIL-TD3 is the TDQA (Temporal Difference and Q-Advantage) priority calculation. Standard Prioritized Experience Replay (PER) uses TD error to sample "surprising" transitions. PHIL-TD3 augments this with a Q-advantage term, which quantifies the performance gap between a human's action and the RL agent's current best action.
By prioritizing experiences where human actions are significantly superior to the agent's policy, the framework ensures that "golden" demonstrations are sampled frequently. To reduce the burden on human operators, the system employs DAgger (Data Aggregation) to train a behavior-cloning model that provides synthetic guidance online. Furthermore, a reward-shaping mechanism penalizes states that necessitate human intervention, incentivizing the agent to avoid hazardous scenarios.
Experimental Evaluation
The algorithm was rigorously tested using the CARLA high-fidelity simulator. Two high-difficulty scenarios were designed to evaluate performance:
- Unprotected Left-Turn: Navigating a T-junction with aggressive cross-traffic and no signals.
- Highway Congestion: Managing car-following and lane-changing in dense traffic with obscured markings.
The state space utilized bird's-eye-view semantic graphs, providing a dense yet interpretable representation of the environment for the neural network.
Results and Discussion
Experimental results indicate that PHIL-TD3 achieves a 700% improvement in learning efficiency in the left-turn scenario compared to standard baselines. The agent reached asymptotic performance within 50 episodes, whereas vanilla RL required significantly more data to achieve comparable success rates.
Key findings include:
- Robustness to Guidance Quality: The TDQA mechanism naturally filters out poor human advice. If a human intervention is worse than the agent's current policy, the Q-advantage term becomes low or negative, reducing its priority in the replay buffer.
- Safety and Smoothness: PHIL-TD3 agents exhibited smoother control profiles with lower longitudinal and lateral acceleration than their vanilla RL counterparts.
- Computational Efficiency: The overhead for priority calculation is minimal, with training times remaining competitive with standard TD3 (360s vs 329s per 10k steps).
Conclusion
PHIL-TD3 demonstrates that intelligent prioritization of human guidance can dramatically accelerate RL training for autonomous driving. By focusing on "superior" data rather than just "surprising" data, the framework achieves high performance and robustness. Future research will explore the transfer of these methods to real-world physical platforms and address the semantic gap between human perception and raw sensor data.
Summary updated