Towards Motion Forecasting with Real-World Perception Inputs: Are End-to-End Approaches Competitive?

Yihong Xu, Loïck Chambon, Éloi Zablocki, Mickaël Chen, Alexandre Alahi, Matthieu Cord, Patrick Pérez

Abstract

Motion forecasting is crucial in enabling autonomous vehicles to anticipate the future trajectories of surrounding agents. To do so, it requires solving mapping, detection, tracking, and then forecasting problems, in a multi-step pipeline. In this complex system, advances in conventional forecasting methods have been made using curated data, i.e., with the assumption of perfect maps, detection, and tracking. This paradigm, however, ignores any errors from upstream modules. Meanwhile, an emerging end-to-end paradigm, that tightly integrates the perception and forecasting architectures into joint training, promises to solve this issue. However, the evaluation protocols between the two methods were so far incompatible and their comparison was not possible. In fact, conventional forecasting methods are usually not trained nor tested in real-world pipelines (e.g., with upstream detection, tracking, and mapping modules). In this work, we aim to bring forecasting models closer to the real-world deployment. First, we propose a unified evaluation pipeline for forecasting methods with real-world perception inputs, allowing us to compare conventional and end-to-end methods for the first time. Second, our in-depth study uncovers a substantial performance gap when transitioning from curated to perception-based data. In particular, we show that this gap (1) stems not only from differences in precision but also from the nature of imperfect inputs provided by perception modules, and that (2) is not trivially reduced by simply finetuning on perception outputs. Based on extensive experiments, we provide recommendations for critical areas that require improvement and guidance towards more robust motion forecasting in the real world.

Introduction: The Reality of Real-World Perception

In the development of autonomous driving systems, the motion forecasting module is tasked with predicting the future trajectories of surrounding agents, such as vehicles and pedestrians. Traditionally, research in this field has relied on "curated" datasets like nuScenes, where object locations, identities, and road maps are provided as ground truth. This assumption of perfect inputs allows researchers to isolate forecasting logic but ignores the reality of vehicle deployment.

In a real-world autonomous stack, the forecasting module receives inputs from "upstream" perception systems. These systems detect objects, track them over time, and estimate road layouts online. These upstream modules are inherently imperfect: they suffer from missed detections, identity swaps, and localization noise (shaky coordinates). While a new wave of End-to-End (E2E) models aims to solve these issues by jointly training perception and forecasting, a lack of standardized evaluation has made it impossible to determine if they actually outperform traditional modular pipelines under realistic conditions.

The MFEval Framework

To address this gap, we introduce MFEval, a unified evaluation library designed to benchmark forecasting models under standardized, practical conditions. MFEval enables a fair comparison between traditional modular models (e.g., AgentFormer, LaPred) and E2E architectures by feeding them identical noisy outputs from various perception and mapping modules.

Key features of the framework include:

  • Identity Matching: Real-world trackers assign arbitrary IDs that do not match ground-truth labels. MFEval implements a Hungarian matching process (using a 2-meter threshold) to link predicted trajectories to ground-truth agents for accurate scoring.
  • Holistic Metrics: We advocate for mAPf (Mean Forecasting Average Precision). Unlike standard metrics like minADE or minFDE, which only evaluate "matched" agents, mAPf penalizes models for missed detections and "ghost" objects, offering a more safety-critical view of performance.
  • Controlled Perturbations: To isolate the causes of failure, the framework allows for systematic injection of specific noise types—such as localization errors or identity switches—into clean data.

Experimental Setup and Datasets

Our experiments primarily utilize the nuScenes dataset. To simulate real-world conditions, we integrated several state-of-the-art upstream modules:

  • Trackers: CenterPoint, VoxelNext, MegVii, and MUTR3D.
  • Mappers: SimpleBeV, LaRa, and MapTR.

We compared modular models against prominent E2E baselines, including ViP3D and UniAD, to determine if joint training provides a tangible advantage in handling perception noise.

Key Findings: Deconstructing the Performance Gap

Our study reveals a massive performance drop when transitioning from curated ground truth to real-world perception. For instance, the LaPred model's mAPf plummeted from 0.757 with curated data to 0.317 when using VoxelNext tracking.

Qualitative comparison of motion forecasting under different input conditions: (a) Ground Truth (GT) trajectories and maps, (b) Predicted past trajectories, and (c) Predicted maps. The arrows highlight inaccurate and missed forecasts caused by perception noise.

The "E2E" Advantage is a Myth (For Now)

Surprisingly, when modular models were fed the same noisy perception data as E2E models, they often outperformed them. In the ViP3D pipeline, the modular LaPred achieved an mAPf of 0.113, significantly higher than the ViP3D E2E model's 0.034. This suggests that current E2E architectures are not yet effectively learning to compensate for upstream errors.

Localization and Map Utilization

Controlled noise injection identified localization error (positional shakiness) as the primary driver of performance degradation, far outweighing the impact of identity switches. Furthermore, while modular models leverage map information effectively, many E2E models perform similarly with or without maps, indicating that contextual information is currently underutilized in joint architectures.

Conclusion and Future Directions

Our research highlights a fundamental disconnect between how perception noise is modeled during training and how it appears in deployment. Simply finetuning models on noisy outputs is insufficient to bridge the gap.

We recommend that future E2E research focuses on:

  1. Multi-task learning strategies that force models to utilize contextual map data.
  2. Robust joint representations that go beyond passing noisy coordinates between layers.
  3. Distance-stratified evaluation to better reflect safety requirements as agents move further from the ego-vehicle.

The MFEval library is available for the community to benchmark models under these standardized conditions: https://github.com/valeoai/MFEval.

Summary updated

BibTeX
@inproceedings{xu2024towards,
  author = {Yihong Xu and Loïck Chambon and Éloi Zablocki and Mickaël Chen and Alexandre Alahi and Matthieu Cord and Patrick Pérez},
  title = {{Towards Motion Forecasting with Real-World Perception Inputs: Are End-to-End Approaches Competitive?}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  url = {https://openreview.net/forum?id=tkKrXllfob},
}
Figure