Manuscript Offprint

arXiv:2609.11717

MC-DeTra: Motion-Consistent Joint Object Detection and Socially-Aware Trajectory Forecasting in Bird's-Eye-View Images

Vladislav Diuzhev, Dmitry Yudin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Vladislav Diuzhev 1^{1} and Dmitry Yudin 1,2^{1,2}

1^{1} Moscow Institute of Physics and Technology, Moscow, Russia

diuzhev.vd@phystech.edu, yudin.da@mipt.ru

2^{2} Artificial Intelligence Research Institute, Moscow, Russia

Abstract. Unified models for object detection and trajectory forecasting aim to merge perception and prediction for autonomous driving, refining actor trajectories directly over shared bird's-eye-view (BEV) images rasterized from LiDAR and high-definition maps. Their accuracy on dynamic, moving actors, however, remains the hardest part of the task, and the strongest such model, DeTra, has no public implementation. We contribute an openly released DeTra reimplementation with documented approximations, and on top of it MC-DeTra: a family of motion-consistency mechanisms that add supervision through two annotation-derived auxiliary signals – each actor's observed past motion and the occupancy of the surrounding traffic that forms its social context – and one inter-output consistency constraint that aligns an actor's predicted heading with its predicted direction of motion. Every proposed loss is train-only and inference-safe: it shapes the shared BEV representation during training and is removed at test time, adding no inference latency. On the Waymo Open Dataset, evaluated under a strict, detection-conditioned forecasting protocol, MC-DeTra improves dynamic, socially-situated trajectory forecasting while preserving or improving detection accuracy; a gradient-based loss-calibration analysis exposes how the auxiliary objectives compete at the shared backbone, and our ablation identifies which signals contribute most. We release code, configurations, and evaluation tooling at https://github.com/diuzhevVlad/MC-DeTra.

Keywords: Trajectory forecasting · Object detection · Bird's-eye-view perception · Auxiliary supervision · Social context.

1 Introduction

Autonomous vehicles must both perceive surrounding actors and predict how those actors will move. Classical stacks solve these tasks with three cascaded modules: a 3D object detector followed by tracker and a separate motion forecaster. This factorization is lossy: forecasting is deprived of the sensor context available to the detector, detection and tracking errors compound downstream. A recent line of work therefore unifies these tasks in a single network that consumes LiDAR and high-definition (HD) maps and emits, for each actor, a current

V. Diuzhev et al.

box and a set of future trajectories. DeTra [4] is the strongest such model to our knowledge: it casts detection and forecasting as a single trajectory-refinement problem, where the first pose of a trajectory is the current detection and the remaining poses are multi-modal future waypoints. It then refines the full trajectory volume with an attention transformer over a shared BEV representation.

Two obstacles motivate this paper. First, DeTra has no public implementation, making it difficult to reproduce or extend. Second, even with a documented reimplementation, forecasting dynamic (moving) actors remains markedly harder than detection: static actors dominate urban LiDAR scenes and inflate aggregate metrics, masking the moving-actor shortfall that matters most for safety. The practical goal is therefore to improve dynamic forecasting without adding inference cost or destabilizing detection.

We study complementary, low-cost inductive biases from signals not supervised by DeTra. Each actor's observed past trajectory and the spatial occupancy of surrounding traffic are recoverable from the same annotations used to train the future loss; the agreement between an actor's heading and its direction of motion is instead a consistency relation between the model's own outputs. We turn each signal into a train-only auxiliary objective that shapes the shared BEV representation and is removed at inference, leaving latency unchanged. Because these objectives share the same backbone, we also calibrate their interaction: we measure each term's gradient norm at the shared trunk and use this diagnostic to choose stable auxiliary weights and explain which signals dominate or become gradient-starved.

The key contributions of this paper are as follows:

  1. We propose MC-DeTra, a novel training methodology that combines two annotation-derived auxiliary objectives – Past Reconstruction and Occupancy Auxiliary – and a lightweight heading-consistency regularizer studied as part of the auxiliary set, with gradient-norm loss calibration. The method reuses already-cached signals absent from DeTra's supervision and diagnoses how auxiliary objectives compete at the shared backbone (Sections 3 and 3.5).

  2. We develop a documented, openly released reimplementation of DeTra for vehicle BEV detection and forecasting on the Waymo Open Dataset, together with a strict detection-conditioned forecasting protocol (Sections 3–4). 3^{3}

  3. We conduct extensive experiments on the Waymo Open Dataset, including a controlled single-checkpoint ablation, and show that the calibrated full model achieves the best dynamic minFDE 6_{6}, minADE 6_{6}, and brier-minFDE 6_{6}, while controller A gives the best MR 6_{6}, with detection preserved throughout. The train-only components add no inference latency, and the deployed model remains within the 2 Hz prediction budget on all tested GPUs (360.7 ms on RTX 3080 Laptop, 292.4 ms on A100, and 104.9 ms on H200); we also provide gradient-norm attribution of the signals that carry the gain (Sections 5–6).

3^{3} Code, configs and evaluation tooling: https://github.com/diuzhevVlad/MC-DeTra

References (41)

  • Implicit occupancy flow fields for perception and prediction in self-driving
  • MASAR: Motion-appearance synergy refinement for joint detection and trajectory forecasting (opens arXiv in a new tab)
  • End-to-end object detection with transformers
  • DeTra: A unified model for object detection and trajectory forecasting (opens arXiv in a new tab)
  • SpAGNN: Spatially-aware graph neural networks for relational behavior forecasting from sensor data
  • Implicit latent variable model for scene-consistent motion forecasting
  • IntentNet: Learning to predict intention from raw sensor data
  • MultiPath: Multiple probabilistic anchor trajectory hypotheses for behavior prediction
  • Dynamic convolution: Attention over convolution kernels
  • GradNorm: Gradient normalization for adaptive loss balancing in deep multitask networks
  • Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
  • GoRela: Go relative for viewpoint-invariant motion forecasting
  • Multimodal trajectory predictions for autonomous driving using deep convolutional networks
  • VectorNet: Encoding HD maps and agent dynamics from vectorized representation
  • ViP3D: End-to-end visual trajectory prediction via 3D agent queries
  • Squeeze-and-excitation networks
  • Planning-oriented autonomous driving
  • MapFM: Foundation model-driven HD mapping with multi-task contextual learning
  • VAD: Vectorized scene representation for efficient autonomous driving
  • Multi-task learning using uncertainty to weigh losses for scene geometry and semantics
  • Learning lane graph representations for motion forecasting
  • PnPNet: End-to-end perception and prediction with tracking in the loop
  • MapTR: Structured modeling and learning for online vectorized HD map construction
  • Focal loss for dense object detection
  • Fast and furious: Real time end-to-end 3D detection, tracking and motion forecasting with a single convolutional net
  • Occupancy flow fields for motion forecasting in autonomous driving
  • FMFNet: Improve the 3D object detection and tracking via feature map flow
  • OFMPNet: Deep end-to-end model for occupancy and flow prediction in urban environment
  • Wayformer: Motion forecasting via simple & efficient attention networks
  • CoverNet: Multimodal behavior prediction using trajectory sets
  • Trajectron++: Dynamically-feasible trajectory forecasting with heterogeneous data
  • Scalability in perception for autonomous driving: Waymo open dataset
  • SparseDrive: End-to-end autonomous driving via sparse scene representation (opens arXiv in a new tab)
  • MultiPath++: Efficient information fusion and trajectory aggregation for behavior prediction
  • Attention is all you need
  • AgentFormer: Agent-aware transformers for socio-temporal multi-agent forecasting
  • M3DMap: Object-aware multimodal 3D mapping for dynamic environments (opens the publisher in a new tab)
  • End-to-end interpretable neural motion planner
  • OccWorld: Learning a 3D occupancy world model for autonomous driving
  • Objects as points (opens arXiv in a new tab)
  • Query-centric trajectory prediction