Dynamic Intent Queries for Motion Transformer-based Trajectory Prediction

Tobias Demmler, Lennart Hartung, Andreas Tamke, Thao Dang, Alexander Hegai, Karsten Haug, Lars Mikelsons · DOI

In the high-stakes domain of autonomous driving, accurately predicting the future trajectories of surrounding agents—vehicles, pedestrians, and cyclists—is a critical challenge. State-of-the-art models like the Motion Transformer (MTR) have set high benchmarks, yet they often struggle with long-term horizons due to a reliance on "static intention points." A recent study by Tobias Demmler and colleagues at Robert Bosch GmbH and the University of Augsburg introduces Dynamic Intent Queries, a method that replaces fixed anchors with map-aware, scene-specific points to significantly enhance prediction accuracy.

The Problem: Map-Blind Static Anchors

Modern trajectory prediction architectures like MTR utilize "motion queries" to probe the potential future states of an agent. In the standard MTR implementation, these queries are initialized using a set of 64 static intention points. These points are derived by performing K-means clustering on the endpoints of all trajectories in the training dataset, representing the most common locations where agents typically finish their maneuvers.

Distribution of static intention points for vehicles, pedestrians, and cyclists derived from K-means clustering of the training dataset.

The fundamental limitation of this approach is that these points are "map-blind." Because they are statistically derived from a global dataset, they do not account for the specific road geometry of a given scene. Consequently, a static point might be located on a sidewalk for a vehicle or in the middle of a building, forcing the model to expend significant computational effort to refine these unfeasible initial guesses into realistic trajectories.

Methodology: Generating Dynamic Intention Points

To address this, the researchers proposed a pipeline to generate Dynamic Intention Points that are grounded in the local road network. This process involves three key steps:

  1. Lane Association: The model identifies the agent's current lane. To ensure robustness against noisy data (e.g., vehicles cutting corners), a validation step checks if the vehicle's heading aligns within 45 degrees of the lane's direction.
  2. Road Graph Generation: Using Dijkstra’s algorithm, the system explores the High-Definition (HD) map to identify all reachable lane nodes within an 8-second horizon. The search accounts for speed limits, adding a 15 mph buffer to accommodate typical human driving behavior.
  3. Point Sampling: To maintain efficiency, the potentially thousands of reachable nodes are condensed into 64 representative dynamic points using K-means clustering.
Visualization of dynamic intention points (blue and green dots) sampled along the reachable road network for a specific vehicle scene.

Recognizing that drivers occasionally perform "illegal" maneuvers (e.g., driving through parking lots or crossing solid lines), the authors also developed a Mixed Model. This hybrid approach uses a 3:1 ratio of dynamic to static points, ensuring the model remains robust even when agents deviate from the standard road graph.

Results and Key Insights

Evaluated on the Waymo Open Motion Dataset (WOMD), the Dynamic Intent Queries demonstrated clear improvements, particularly for long-term (8s) forecasts.

  • Accuracy Gains: For vehicles, the Final Displacement Error (minFDE) at 8 seconds improved from 1.2258m to 1.1947m.
  • The "Cross-Object" Effect: Interestingly, grounding vehicle predictions with dynamic points led to a significant 10% jump in pedestrian mean Average Precision (mAP), rising from 0.3708 to 0.4207 in the Mixed model. This suggests that better modeling of primary actors (vehicles) improves the network's overall understanding of multi-agent interactions.
  • Kinematics vs. Geometry: The study found that map-aware points are most beneficial for long-term predictions (5s–8s). For short-term horizons (up to 3s), the agent's current momentum and orientation (kinematics) remain the primary predictors of its immediate path.

Conclusion

By moving beyond static, statistically-derived guesses to dynamic, map-aware anchors, this research provides a more physically grounded foundation for trajectory prediction. While challenges remain regarding the computational overhead of real-time graph generation and the handling of non-compliant driving maneuvers, the integration of road geometry into motion transformers represents a significant step forward for safer autonomous navigation.

Summary updated

BibTeX
@misc{demmler2025dynamic,
  author = {Tobias Demmler and Lennart Hartung and Andreas Tamke and Thao Dang and Alexander Hegai and Karsten Haug and Lars Mikelsons},
  title = {{Dynamic Intent Queries for Motion Transformer-based Trajectory Prediction}},
  year = {2025},
  eprint = {2504.15766},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.15766},
}
Figure