Skip to main content
QUICK REVIEW

[Paper Review] Differentiable Integrated Motion Prediction and Planning with Learnable Cost Function for Autonomous Driving

Zhiyu Huang, Haochen Liu|arXiv (Cornell University)|Jul 21, 2022
Autonomous Vehicle Technology and SafetyEngineering5 citations
TL;DR

This paper proposes a differentiable, end-to-end framework (DIPP) that jointly trains motion prediction and planning with a learnable cost function for autonomous driving. By integrating a Transformer-based predictor with a differentiable nonlinear optimizer, DIPP enables backpropagation through planning and cost function weights, achieving human-like trajectories in both open-loop and closed-loop evaluations with superior robustness and performance over separate prediction-planning pipelines.

ABSTRACT

Predicting the future states of surrounding traffic participants and planning a safe, smooth, and socially compliant trajectory accordingly is crucial for autonomous vehicles. There are two major issues with the current autonomous driving system: the prediction module is often separated from the planning module and the cost function for planning is hard to specify and tune. To tackle these issues, we propose a differentiable integrated prediction-planning framework (DIPP) that can also learn the cost function from data. Specifically, our framework uses a differentiable nonlinear optimizer as the motion planner, which takes as input the predicted trajectories of surrounding agents given by the neural network and optimizes the trajectory for the autonomous vehicle, enabling all operations to be differentiable, including the cost function weights. The proposed framework is trained on a large-scale real-world driving dataset to imitate human driving trajectories in the entire driving scene and validated in both open-loop and closed-loop manners. The open-loop testing results reveal that the proposed method outperforms the baseline methods across a variety of metrics and delivers planning-centric prediction results, allowing the planning module to output trajectories close to those of human drivers. In closed-loop testing, the proposed method outperforms various baseline methods, showing the ability to handle complex urban driving scenarios and robustness against the distributional shift. Importantly, we find that joint training of planning and prediction modules achieves better performance than planning with a separate trained prediction module in both open-loop and closed-loop tests. Moreover, the ablation study indicates that the learnable components in the framework are essential to ensure planning stability and performance.

Motivation & Objective

  • Address the limitations of decoupled prediction and planning in autonomous driving systems, where modules are trained independently and cost functions are manually tuned.
  • Improve planning performance by making the prediction module aware of downstream planning objectives through end-to-end training.
  • Learn the cost function weights from real-world driving data to automatically balance trade-offs between safety, comfort, and efficiency.
  • Enable differentiable optimization through the planning process to allow gradient-based learning of both prediction and cost function parameters.
  • Demonstrate robustness to distributional shift and adversarial scenarios through closed-loop simulation testing.

Proposed method

  • Use a Transformer-based neural network to jointly predict future trajectories of surrounding agents in multi-agent scenarios.
  • Feed predicted trajectories and an initial plan into a differentiable nonlinear optimizer (e.g., sequential quadratic programming) to generate the ego vehicle’s motion plan.
  • Introduce a learnable cost function with differentiable weights that balance objectives like collision avoidance, ride comfort, and route adherence.
  • Backpropagate the planning loss (difference between predicted and human driving trajectories) through the entire pipeline to jointly optimize prediction and cost function weights.
  • Train the entire framework end-to-end on a large-scale real-world urban driving dataset to imitate human behavior.
  • Validate using both open-loop (direct trajectory comparison) and closed-loop (unrolled simulation) testing to assess real-world deployment robustness.

Experimental results

Research questions

  • RQ1Can joint training of prediction and planning modules improve planning performance compared to separate training?
  • RQ2Can a learnable cost function derived from real-world data outperform manually tuned cost functions in complex urban driving scenarios?
  • RQ3Does end-to-end differentiable training enable better generalization and robustness to distributional shift in closed-loop environments?
  • RQ4To what extent do learnable components (prediction, cost function, planner) contribute to planning stability and performance?
  • RQ5Can a differentiable planner enable gradient-based optimization of both prediction and cost function weights, leading to more human-like trajectories?

Key findings

  • The proposed DIPP framework outperforms baseline methods in open-loop testing across multiple metrics, including planning accuracy, ride comfort, and safety.
  • In closed-loop testing, DIPP significantly outperforms both pipeline-based and imitation learning-based methods, demonstrating robustness to distributional shift and adversarial agents.
  • Joint training of prediction and planning modules leads to better performance than training them separately, with the planner benefiting from planning-aware predictions.
  • Ablation studies confirm that all learnable components—prediction, cost function, and planner—are essential for maintaining optimizer stability and achieving high planning performance.
  • The learned cost function weights are reasonable from a human driving perspective, with route adherence and driving comfort being the most influential factors, while steering angle has minimal impact.
  • Despite high runtime (1.78s per inference on CPU), the framework demonstrates strong performance and is a viable prototype for future real-time optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.