[Paper Review] Safe Trajectory Planning Using Reinforcement Learning for Self Driving
This paper proposes a model-free reinforcement learning (RL) approach for trajectory planning in self-driving cars, decoupling motion planning from direct control to enhance safety and comfort. By training an RL agent to generate smooth, safe trajectories in continuous action space—while enforcing safety constraints via a post-processing filter—it achieves faster inference, reduced jerk, and lower collision risk compared to discrete search or end-to-end control methods.
Self-driving vehicles must be able to act intelligently in diverse and difficult environments, marked by high-dimensional state spaces, a myriad of optimization objectives and complex behaviors. Traditionally, classical optimization and search techniques have been applied to the problem of self-driving; but they do not fully address operations in environments with high-dimensional states and complex behaviors. Recently, imitation learning has been proposed for the task of self-driving; but it is labor-intensive to obtain enough training data. Reinforcement learning has been proposed as a way to directly control the car, but this has safety and comfort concerns. We propose using model-free reinforcement learning for the trajectory planning stage of self-driving and show that this approach allows us to operate the car in a more safe, general and comfortable manner, required for the task of self driving.
Motivation & Objective
- Address the limitations of classical trajectory planning methods, which rely on discrete search and numerical optimization and are computationally expensive and less smooth.
- Overcome safety and interpretability issues in end-to-end RL control by decoupling trajectory planning from low-level control.
- Enable safer, more comfortable, and faster trajectory generation in high-dimensional, complex driving environments using a differentiable, continuous-action RL policy.
- Integrate safety constraints into the RL pipeline by filtering unsafe trajectories before control execution, ensuring adherence to physical and operational limits.
- Demonstrate that RL-based planning outperforms both exhaustive discrete search and end-to-end control in terms of trajectory smoothness, computational efficiency, and safety.
Proposed method
- Use a model-free deep reinforcement learning agent (PPO) to plan full trajectories in continuous action space, conditioned on a perception input (occupancy grid and speed limits).
- Decouple trajectory planning from direct control: the RL policy outputs a trajectory, which is then tracked by a separate PID controller.
- Apply a safety constraint module (Algorithm 1) that rejects any trajectory violating safety rules (e.g., off-road, collision, excessive curvature or acceleration).
- Train the RL policy using a dense, shaped reward function that penalizes deviation from the road, high curvature, excessive acceleration/jerk, and extra distance.
- Use a fully connected neural network (64-64 units) for both policy and value networks, trained with Proximal Policy Optimization (PPO) using standard hyperparameters.
- Leverage off-policy data collection and curriculum learning to improve sample efficiency and training stability in simulation.
Experimental results
Research questions
- RQ1Can model-free reinforcement learning be used effectively for trajectory planning in self-driving cars while maintaining safety and comfort?
- RQ2How does RL-based trajectory planning compare to exhaustive discrete search in terms of computational speed and trajectory smoothness?
- RQ3Can safety constraints be effectively enforced on an RL-generated trajectory without compromising policy performance?
- RQ4Does RL-based planning reduce jerk and improve ride comfort compared to end-to-end control methods?
- RQ5Can the RL policy generalize across diverse driving scenarios with varying obstacle configurations and speed limits?
Key findings
- The RL-based planner achieved a 29% reduction in average speed tracking error (5.306 ± 0.126 vs. 7.582 ± 0.195) over 1000 episodes compared to exhaustive search.
- The RL policy reduced maximum jerk by 52% (0.194 ± 0.005 vs. 0.407 ± 0.012) and maximum curvature by 59% (0.304 ± 0.010 vs. 0.738 ± 0.026), indicating significantly smoother trajectories.
- The RL policy achieved a 10x speedup in inference time (8.7×10⁻⁴ s vs. 7.9×10⁻³ s), making it suitable for real-time deployment.
- The safety constraint mechanism successfully prevented all collisions in static environments with 100% success rate, even when the RL policy initially proposed unsafe paths.
- The RL policy produced trajectories with 43% less excess distance (0.185 ± 0.007 vs. 0.317 ± 0.011) and 16% lower maximum centripetal acceleration (1.147 ± 0.036 vs. 1.367 ± 0.058), improving safety and comfort.
- The RL policy generalized well across diverse scenarios, including multi-lane roads with static obstacles and variable speed limits, without retraining.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.