# Injecting Knowledge in Data-driven Vehicle Trajectory Predictors

- Authors: Mohammadhossein Bahari, Ismail Nejjar, Alexandre Alahi
- Year: 2021
- Type: Journal article
- Venue: Transportation Research Part C: Emerging Technologies (TR-C)
- Research area: Prediction (VITA lab, EPFL)
- DOI: https://doi.org/10.1016/j.trc.2021.103010
- arXiv: https://arxiv.org/abs/2103.04854
- Code: https://github.com/vita-epfl/RRB
- EPFL Infoscience: https://infoscience.epfl.ch/handle/20.500.14299/175918
- Web page: https://vita.epfl.ch/papers/injecting-knowledge-in-data-driven-vehicle-trajectory-predictors/



## Abstract

Vehicle trajectory prediction tasks have been commonly tackled from two distinct perspectives: either with knowledge-driven methods or more recently with data-driven ones. On the one hand, we can explicitly implement domain-knowledge or physical priors such as anticipating that vehicles will follow the middle of the roads. While this perspective leads to feasible outputs, it has limited performance due to the difficulty to hand-craft complex interactions in urban environments. On the other hand, recent works use data-driven approaches which can learn complex interactions from the data leading to superior performance. However, generalization, \textit{i.e.}, having accurate predictions on unseen data, is an issue leading to unrealistic outputs. In this paper, we propose to learn a "Realistic Residual Block" (RRB), which effectively connects these two perspectives. Our RRB takes any off-the-shelf knowledge-driven model and finds the required residuals to add to the knowledge-aware trajectory. Our proposed method outputs realistic predictions by confining the residual range and taking into account its uncertainty. We also constrain our output with Model Predictive Control (MPC) to satisfy kinematic constraints. Using a publicly available dataset, we show that our method outperforms previous works in terms of accuracy and generalization to new scenes.

## Keywords

Vehicle trajectory prediction, Microscopic traffic modeling, Neural networks, Knowledge-based modeling

## Related VITA papers

- [UniTraj: A Unified Framework for Scalable Vehicle Trajectory Prediction](https://vita.epfl.ch/papers/unitraj-a-unified-framework-for-scalable-vehicle-trajectory.md) (2024)
- [Vehicle trajectory prediction works, but not everywhere](https://vita.epfl.ch/papers/vehicle-trajectory-prediction-works-but-not-everywhere.md) (2022)
- [Are socially-aware trajectory prediction models really socially-aware?](https://vita.epfl.ch/papers/are-socially-aware-trajectory-prediction-models-really-socially.md) (2022)
- [Feed-forwards meet recurrent networks in vehicle trajectory prediction](https://vita.epfl.ch/papers/feed-forwards-meet-recurrent-networks-in-vehicle-trajectory.md) (2019)
- [Human Trajectory Forecasting in Crowds: A Deep Learning Perspective](https://vita.epfl.ch/papers/human-trajectory-forecasting-in-crowds-a-deep-learning.md) (2021)
- [Towards Generalizable Trajectory Prediction using Dual-Level Representation Learning and Adaptive Prompting](https://vita.epfl.ch/papers/towards-generalizable-trajectory-prediction-using-dual-level.md) (2025)

## BibTeX

```bibtex
@article{bahari2021injecting,
  title = {{Injecting Knowledge in Data-driven Vehicle Trajectory Predictors}},
  author = {Bahari, Mohammadhossein and Nejjar, Ismail and Alahi, Alexandre},
  journal = {Transportation Research Part C: Emerging Technologies},
  year = {2021},
  volume = {128},
  doi = {10.1016/j.trc.2021.103010},
  url = {https://doi.org/10.1016/j.trc.2021.103010}
}
```
