Aware of the History: Trajectory Forecasting with the Local Behavior Data

Yiqi Zhong, Zhenyang Ni, Siheng Chen, Ulrich Neumann · DOI

Abstract

Trajectory forecasting is a fundamental challenge in autonomous driving. While current state-of-the-art models leverage high-definition (HD) maps and agent history, they often fail to account for localized driving behaviors—the "common knowledge" of how agents typically navigate specific intersections or road segments. This paper introduces the concept of local behavior data ($\mathcal{B}$), a database of historical trajectories at specific coordinates. We propose two frameworks: Local-Behavior-Aware (LBA), which explicitly retrieves and fuses historical data, and Local-Behavior-Free (LBF), which employs knowledge distillation to infer these patterns during inference when historical data may be unavailable. Our approach demonstrates significant performance improvements, including a 14% boost on the nuScenes benchmark, by effectively narrowing the search space for future trajectories.

Introduction

Accurate trajectory prediction for vehicles and pedestrians is essential for safe autonomous navigation. Modern models typically rely on the agent's recent path and static HD maps. However, HD maps provide only geometric constraints (e.g., lane boundaries) and lack information on actual human behavior within those constraints. For instance, a lane might geometrically allow multiple maneuvers, but local norms might dictate a predominant path. Ignoring this "local wisdom" forces models to relearn common motion patterns for every new scenario. This work addresses this gap by utilizing historical trajectory data as a direct input to the forecasting pipeline.

Methodology

The core innovation is the integration of local behavior data ($\mathcal{B}$), defined as a collection of past trajectories passing through a specific location.

Local-Behavior-Aware (LBA) Framework

The LBA framework serves as a "teacher" model. It retrieves historical trajectories from a database based on the agent's current position and fuses them with standard features like HD maps and agent motion. This process involves four key steps: building the database from observed trajectories, locating the agent, defining a local search radius, and extracting relevant historical paths.

The LBA framework incorporates local behavior data alongside HD maps and past trajectories. The retrieval process involves four steps to extract relevant historical paths.

Local-Behavior-Free (LBF) Framework

To handle scenarios where historical data is unavailable during inference, we propose the LBF framework. Using Knowledge Distillation (KD), a student model (LBF) learns to "hallucinate" local behavior features from the static map and agent motion, guided by the LBA teacher model during training. This allows the model to benefit from historical patterns without requiring a database at runtime.

Evaluation and Results

We evaluated our frameworks on the nuScenes and Argoverse datasets. To ensure rigorous testing, the behavior database was constructed using only observed trajectory segments, preventing data leakage. Integrating LBA/LBF into SOTA models like LaneGCN, DenseTNT, and P2T yielded consistent improvements:

  • nuScenes: The LBA framework improved performance by at least 14% on $K=1$ metrics.
  • Argoverse: The LBF framework reduced the Final Displacement Error (minFDE) for LaneGCN by approximately 9%.
  • Robustness: Ablation studies indicated that the distilled LBF model is more robust to hyper-parameter variations (like search radius) compared to the LBA model.

Discussion

Historical data provides a powerful prior that narrows the search space for future paths, making the prediction task more tractable. By transforming static geometric maps into "dynamic behavioral maps," the model captures implicit rules—such as typical deceleration zones or high-probability turn lanes—not present in standard HD map metadata. Interestingly, the LBF student model occasionally outperforms its teacher, likely due to learning more generalized behavioral representations across the entire training set.

Conclusion

While local behavior data significantly enhances forecasting, challenges remain regarding outlier agents who deviate from historical norms and the need for strategies to update databases as traffic patterns evolve over time. Future work will focus on efficient real-time data gathering and adaptation to temporal changes in urban environments.

Summary updated

BibTeX
@inproceedings{zhong2022aware,
  author = {Yiqi Zhong and Zhenyang Ni and Siheng Chen and Ulrich Neumann},
  title = {{Aware of the History: Trajectory Forecasting with the Local Behavior Data}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=FonVc_wPg31},
}

Loading related content...

Figure