Deep Learning-based Trajectory Prediction
Los mantenedores suelen responder en 9 días
@Khushi0512 ya está trabajando en esto.
Desde el 7/2/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Algorithm/Conceptual basis
LSTM-GRU Encoder-Decoder Network for Multi-Vehicle Trajectory Prediction
Description & Application
This deep learning model forecasts the future behaviors of surrounding vehicles by utilizing a recurrent neural network, more specifically LSTM (Long Short-Term Memory) and GRU (Gated Recurrent Unit) networks. Taking the input as a historical state trajectory data (position, velocity, acceleration), the model is then required to predict future positions over a prediction horizon (typically 3-5 seconds).
The encoder-decoder architecture deals with temporal sequences: the encoder that extracts the features out of previous trajectories and a decoder which produces predictions on future ones. Further, an attention mechanism can be used to capture the vehicle's interactions and determine which other vehicles affect the target vehicle's trajectory more. This is essential for self-driving cars to predict and respond to the action of traffic participants in their vicinity.
Plan for Implementation
- Data Generation/Collection:
-
Simulate or use real highway trajectory datasets (NGSIM, HighD)
-
Generate synthetic multi-vehicle scenarios with various maneuvers
- Data Preprocessing:
-
Extract features: position (x, y), velocity (vx, vy), acceleration (ax, ay), heading
-
Normalize/standardize trajectory data
-
Create sliding window sequences (observation window: 3s, prediction horizon: 5s)
- Model Architecture:
-
LSTM Encoder: Process historical trajectory sequences
-
GRU Decoder: Generate future trajectory predictions
-
Attention Layer: Model vehicle interactions (optional)
-
Fully Connected Output: Map to predicted coordinates
- Training:
-
Loss function: Mean Squared Error (MSE) or Mean Absolute Error (MAE)
-
Optimizer: Adam with learning rate scheduling
-
Validation: K-fold cross-validation
- Comparative Analysis: Implement and compare vanilla RNN, LSTM, GRU, Bi-LSTM models
- Visualization: Plot predicted vs. actual trajectories, attention weights, error distributions
References in Consideration
- Kaouther Messaoud, Itheri Yahiaoui, Anne Verroust-Blondet, Fawzi Nashashibi, "Attention Based
Vehicle Trajectory Prediction. IEEE Transactions on Intelligent Vehicles, Institute of Electrical and
Electronics Engineers", In press, 10.1109/TIV.2020.2991952. hal-02543967
https://www.researchgate.net/publication/341055264_Attention_Based_Vehicle_Trajectory_Prediction - Jiaqin Wang, Kai Liu, Hantao Li, "LSTM-based Graph attention network for vehicle trajectory prediction", Computer Networks, volume 248, June 2024, 110477
https://www.sciencedirect.com/science/article/abs/pii/S1389128624003098 - Zhao, Tianyang & Xu, Yifei & Monfort, Mathew & Choi, Wongun & Baker, Chris & Zhao, Yibiao & Wang, Yizhou & Wu, Yingnian. (2019). Multi-Agent Tensor Fusion for Contextual Trajectory Prediction. 12118-12126. 10.1109/CVPR.2019.01240.
https://www.researchgate.net/publication/338509582_Multi-Agent_Tensor_Fusion_for_Contextual_Trajectory_Prediction
Expected Outcomes
-
Trained models achieving <1.5m prediction error at 3s horizon, <3m at 5s horizon
-
Comparison showing GRU achieving similar/better accuracy than LSTM with fewer parameters
-
Visualization of predicted trajectories overlaid on ground truth
-
Attention heatmaps showing which vehicles influence predictions
-
Performance metrics: RMSE, MAE, ADE (Average Displacement Error), FDE (Final Displacement Error)
-
Ablation study showing impact of attention mechanism and interaction modeling
-
Real-time inference capability demonstration (<100ms per prediction)
-
Unit tests for data preprocessing, model architecture, and prediction accuracy
Execution structure and Pre-requisite
- Pre-requisite: PyTorch/TensorFlow, NumPy, Pandas, Matplotlib, scikit-learn
- File Structure:
(a) Main Model
(b) Dataset Handling
(c) LSTM, GRU, attention Modules
(d) Training Loop
(e) Testing and Metrics - Dataset: NGSIM I-80/US-101
- Hyperparameters: Hidden Size, Number of Layers, Dropout rate, learning rate, Batch Size.
- Training Details: Epochs, Batch Size, Early Stopping Criteria
- Applications: Collision avoidance, Lane Change Prediction, Motion Planning
- Limitations: Assumes constant road structure, may struggle with rare maneuvers
- Future Work: Graph Neural Networks for better interaction modeling, multi-modal predictions, uncertainty quantification
- Computational Requirements: GPU recommended for training, CPU sufficient for inference.
- Lenguaje dominante
- Python
- Estrellas
- 1.9k
- Forks
- 313
- Merge medio
- 9 d 10 h
- PR fusionados (30 d)
- 7
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ShisatoYano/AutonomousVehicleControlBeginnersGuide
-
good first issue refactoring
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#129 · 1 comentario ·
Los mantenedores suelen responder en 9 días
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#99 ·
Los mantenedores suelen responder en 9 días
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#98 ·
Los mantenedores suelen responder en 9 días
-
documentation enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#88 ·
Los mantenedores suelen responder en 9 días
-
long term
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#131 ·
Los mantenedores suelen responder en 9 días
Todos los issues de ShisatoYano/AutonomousVehicleControlBeginnersGuide
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagationPosiblemente ocupada @muskan-creates352 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
mllam/neural-lam#848 ·
Los mantenedores suelen responder en 2 días
-
infra
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
fab-geocommuns/RNB-coeur#1166 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
deepspeedai/DeepSpeed#8951 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
aws/context-ontology-accelerator#343 ·
Los mantenedores suelen responder en 1 día