Petrichor625 / HLTP

[IEEE TIV] Official PyTorch Implementation of ''A Cognitive-Based Trajectory Prediction Approach for Autonomous Driving.''
32 stars 3 forks source link
autonomous-driving human-like ieee-tiv knowledge-distillation trajectory-prediction

HLTP: A Cognitive-Based Trajectory Prediction Approach for Autonomous Driving

Overview

This repository contains the official implementation of A Cognitive-Based Trajectory Prediction Approach for Autonomous Driving, accepted by the journal IEEE Transactions on Intelligent Vehicles.

image

Highlights

Abstract

In the field of autonomous vehicles (AVs), accurate trajectory prediction is essential for safe and efficient navigation. More importantly, the predicted trajectories must be consistent with human driving behavior, which is even safer and able to respond effectively to unexpected situations. Therefore, we present a Human-Like Trajectory Prediction (HLTP) model that emulates human cognitive processes for improved trajectory prediction in AVs. The HLTP model incorporates a sophisticated teacher-student knowledge distillation framework. The teacher model, equipped with an adaptive visual sector, mimics the visual processing of the human brain, particularly the functions of the occipital and temporal lobes. The student model focuses on real-time interaction and decision-making, drawing parallels to prefrontal and parietal cortex functions. This dual-model approach allows for dynamic adaptation to changing driving scenarios, capturing essential perceptual cues for accurate prediction. Evaluated using the Macao Connected and Autonomous Driving (MoCAD) dataset, along with the NGSIM and HighD benchmarks, HLTP demonstrates superior performance compared to existing models, particularly in challenging environments with incomplete data. The project page is available at https://github.com/Petrichor625/Map-Free-Behavior-Aware-Model.

Framework

Overall “teacher-student” architecture of the HLTP. The Surround-aware encoder and the Teacher Encoder within the “teacher” model process visual vectors and context matrices to produce surround-aware and visual-aware vectors, respectively. These vectors are then fed into the Teacher Multimodal Decoder, which enables the prediction of different potential maneuvers for the target vehicle, each with associated probabilities. The “student” model acquires knowledge from the “teacher” model using a Knowledge Distillation Modulation (KDM) training strategy. This approach ensures accurate, human-like trajectory predictions even with minimal observational data. framework

Environment

Train

To begin training your HLTP model with the NGSIM dataset, you can easily start with the provided script. Training is a crucial step to ensure your model accurately understands and processes the dataset.

First, you need to train the HLTP teacher model:

python train_teacher.py

Then, you need to train the HLTP student model by using specific pretrained teacher model:

python train_student.py

Qualitative results

We are preparing a script for generating these visualizations:

 Code for qualitative results is uploaded.

image

Evaluation

To evaluate the HLTP teacher model, you can use the following command to start the evaluation process:

python evaluate_teacher.py

To evaluate the HLTP student model, you can use the following command to start the evaluation process:

python evaluate_student.py

Citation

A Cognitive-Based Trajectory Prediction Approach for Autonomous Driving, accepted by the journal IEEE Transactions on Intelligent Vehicles. (Camera-ready)

@ARTICLE{10468619,
  author={Liao, Haicheng and Li, Yongkang and Li, Zhenning and Wang, Chengyue and Cui, Zhiyong and Li, Shengbo Eben and Xu, Chengzhong},
  journal={IEEE Transactions on Intelligent Vehicles}, 
  title={A Cognitive-Based Trajectory Prediction Approach for Autonomous Driving}, 
  year={2024},
  volume={},
  number={},
  pages={1-12},
  keywords={Trajectory;Visualization;Brain modeling;Adaptation models;Predictive models;Decision making;Vehicle dynamics;Autonomous Driving;Trajectory Prediction;Cognitive Modeling;Knowledge Distillation;Interaction Understanding},
  doi={10.1109/TIV.2024.3376074}}