# Towards Generalizable Trajectory Prediction using Dual-Level Representation Learning and Adaptive Prompting

- Authors: Kaouther Messaoud Ben Amor, Matthieu Cord, Alexandre Alahi
- Year: 2025
- Type: Conference paper
- Venue: The IEEE/CVF Conference on Computer Vision and Pattern Recognition 2025 (CVPR)
- Research area: Prediction (VITA lab, EPFL)
- DOI: https://doi.org/10.1109/CVPR52734.2025.02567
- arXiv: https://arxiv.org/abs/2501.04815
- EPFL Infoscience: https://infoscience.epfl.ch/handle/20.500.14299/249747
- Web page: https://vita.epfl.ch/papers/towards-generalizable-trajectory-prediction-using-dual-level/



## Abstract

Existing vehicle trajectory prediction models struggle with generalizability, prediction uncertainties, and handling complex interactions. It is often due to limitations like complex architectures customized for a specific dataset and inefficient multimodal handling. We propose Perceiver with Register queries (PerReg+), a novel trajectory prediction framework that introduces: (1) Dual-Level Representation Learning via Self-Distillation (SD) and Masked Reconstruction (MR), capturing global context and finegrained details. Additionally, our approach of reconstructing segment-level trajectories and lane segments from masked inputs with query drop, enables effective use of contextual information and improves generalization; (2) Enhanced Multimodality using register-based queries and pretraining, eliminating the need for clustering and suppression; and (3) Adaptive Prompt Tuning during fine-tuning, freezing the main architecture and optimizing a small number of prompts for efficient adaptation. PerReg+ sets a state-of-the-art performance on nuScenes [5], Argoverse 2 [42], and Waymo Open Motion Dataset (WOMD) [13]. Remarkably, our model reduces the error by 6.8% on smaller datasets, and multi-dataset training enhances generalization. In cross-domain tests, PerReg+ reduces B-FDE by 11.8% compared to its non-pretrained variant.

## Related VITA papers

- [Are the trajectory prediction models generalizable?](https://vita.epfl.ch/papers/are-the-trajectory-prediction-models-generalizable.md) (2022)
- [Forecast-PEFT: Parameter-Efficient Fine-Tuning for Pre-Trained Motion Forecasting Models](https://vita.epfl.ch/papers/forecast-peft-parameter-efficient-fine-tuning-for-pre-trained.md) (2026)
- [A journey toward generalizable trajectory forecasting models](https://vita.epfl.ch/papers/a-journey-toward-generalizable-trajectory-forecasting-models.md) (2024)
- [UniTraj: A Unified Framework for Scalable Vehicle Trajectory Prediction](https://vita.epfl.ch/papers/unitraj-a-unified-framework-for-scalable-vehicle-trajectory.md) (2024)
- [OSKAR: Omnimodal Self-supervised Knowledge Abstraction and Representation](https://vita.epfl.ch/papers/oskar-omnimodal-self-supervised-knowledge-abstraction-and.md) (2025)
- [Vehicle trajectory prediction works, but not everywhere](https://vita.epfl.ch/papers/vehicle-trajectory-prediction-works-but-not-everywhere.md) (2022)

## BibTeX

```bibtex
@inproceedings{messaoudbenamor2025generalizable,
  title = {{Towards Generalizable Trajectory Prediction using Dual-Level Representation Learning and Adaptive Prompting}},
  author = {Messaoud Ben Amor, Kaouther and Cord, Matthieu and Alahi, Alexandre},
  booktitle = {The IEEE/CVF Conference on Computer Vision and Pattern Recognition 2025},
  year = {2025},
  doi = {10.1109/CVPR52734.2025.02567},
  url = {https://doi.org/10.1109/CVPR52734.2025.02567}
}
```
