PathRL: An End-to-End Path Generation Method for Collision Avoidance via Deep Reinforcement Learning

Wenhao Yu, Jie Peng, Quecheng Qiu, Hanyu Wang, Lu Zhang, Jianmin Ji

TL;DR

PathRL is a novel deep reinforcement learning (DRL) framework that moves away from jittery, low-level velocity commands in favor of generating smooth navigation paths. By outputting Bezier curve control points instead of raw motor signals, the method achieves significantly more stable trajectories and higher success rates in complex, dynamic environments compared to standard DRL approaches.

What Problem Does This Paper Address?

Most DRL-based navigation systems attempt to map sensor data directly to low-level control commands, such as linear and angular velocities ($v, \omega$). While flexible, this "end-to-end" control often results in "jittery" movement. Because the DRL agent makes a new decision at every tiny time step, small errors accumulate, leading to unstable speeds and unsmooth paths that are uncomfortable for humans to be around and taxing on robot hardware.

Furthermore, training a DRL agent to output a full path is traditionally difficult. Paths exist in a much higher-dimensional action space than simple velocity vectors, and tracking a path takes multiple time steps, making it harder for the agent to correlate its actions with environmental changes (the "credit assignment" problem).

Methods

The authors introduce PathRL, which decouples the high-level planning (where to go) from the low-level control (how to move).

  1. Bezier Curve Path Generation: Instead of velocities, the DRL policy outputs the coordinates for three control points. These points, combined with the robot's current position, define a Quadratic Bezier curve.
  2. Semi-Discrete Action Space: To make the high-dimensional path space easier to learn, the authors fix the longitudinal (forward) intervals of the control points and only allow the DRL agent to choose the horizontal (lateral) offsets. This reduces the complexity of the search space.
  3. Path-Based State Representation: Rather than just looking at the last few frames of video or LiDAR, PathRL uses "path-based frames." It inputs the state of the robot at the start of the last three completed paths. This provides a longer-term temporal context, which is crucial for predicting the movement of dynamic obstacles like pedestrians.
  4. Tailored Reward Function: The reward includes standard goal-reaching and collision-avoidance terms, but adds two critical components:
  5. Curvature Penalty ($r_{curvature}$): Penalizes sharp, jerky turns.
  6. Straightness Reward ($r_{straight}$): Encourages the path to align with the robot's current heading to ensure smooth transitions between consecutive paths.
  7. Curriculum Learning: The agent is trained in stages, starting in simple static environments and gradually moving to crowded, multi-agent scenarios.

Datasets

The researchers evaluated PathRL using:

  • Customized 2D Simulator: Used for large-scale training and benchmarking against PPO, SAC, and PSD (a crowd navigation method). Scenarios included static obstacles (up to 24), moving pedestrians (using Social Force Models), and multi-agent "self-play" environments.
  • 3D Gazebo Environments: Used to test the transition from 2D training to more realistic physics and sensor noise.
  • Real-World Deployment: Tested on an Agilex hunter2.0 Ackermann-steering robot equipped with a 32-line 3D LiDAR and an NVIDIA RTX 3090.

Key Insights and Ideas

  • Decoupling is Key: By letting DRL handle the "strategy" (path generation) and leaving the "execution" to traditional, mathematically stable path-following controllers, the system gains the best of both worlds: DRL's adaptability and traditional control's smoothness.
  • Temporal Abstraction: Treating a whole path as a single "action" (similar to the Semi-MDP framework) allows the agent to ignore high-frequency noise and focus on long-term navigation logic.
  • Robustness to Speed: One of the most striking findings was that PathRL remains stable even as the robot's maximum speed increases. Standard DRL methods that output velocities often fail at higher speeds because the "jitter" becomes catastrophic; PathRL’s geometric paths remain valid regardless of how fast the controller executes them.

Key Results

  • Superior Smoothness: PathRL reduced the average change in steering angle ($\Delta\theta$) by a staggering margin. In a static scenario, PathRL's $\Delta\theta$ was 0.0093 rad, compared to 0.5527 rad for PPO—a nearly 60x improvement in stability.
  • Higher Success Rates: In complex multi-agent scenarios with 8 robots, PathRL achieved a 99.8% success rate, significantly outperforming SAC (94.7%) and PPO (87.9%).
  • Curvature Reduction: The average curvature of the robot's trajectory was consistently lower (often by 50% or more) than baseline methods, confirming that the paths generated were physically easier for the robot to follow.

Limitations and Future Work

  • Fixed Linear Velocity: During the experiments, the robot followed the generated paths at a mostly fixed linear velocity. In highly constrained or extremely crowded spaces, the ability for the DRL to also dynamically plan the velocity profile along the path (e.g., slowing down for sharp turns) would be a valuable addition.
  • Computational Requirements: The use of an RTX 3090 for the real-world robot suggests that the current implementation may be computationally heavy for low-power embedded platforms typically found on smaller mobile robots.
  • Path Interruption: While the paper mentions that path-following can be interrupted for safety, the logic for how the agent "re-plans" mid-path in a split second could be further refined to handle high-speed emergency maneuvers.

Summary updated

BibTeX
@inproceedings{yu2024pathrl,
  author = {Wenhao Yu and Jie Peng and Quecheng Qiu and Hanyu Wang and Lu Zhang and Jianmin Ji},
  title = {{PathRL: An End-to-End Path Generation Method for Collision Avoidance via Deep Reinforcement Learning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10610107},
}
Figure