SHARP: Short-Window Streaming for Accurate and Robust Prediction in Motion Forecasting

Alexander Prutsch, Christian Fruhwirth-Reisinger, David Schinagl, Horst Possegger

TL;DR

SHARP is a lightweight, streaming-based motion forecasting framework designed to handle real-world driving scenes where agents have highly varying observation histories. By processing short observation windows incrementally and explicitly tracking agent identities over time, it achieves state-of-the-art multi-agent prediction accuracy on Argoverse 2 while maintaining an online latency of just 30 ms.

What Problem Does This Paper Address?

Traditional motion forecasting models typically operate on fixed-size history windows (e.g., requiring exactly 2 or 5 seconds of past data to make a prediction). However, real-world autonomous driving environments are continuously evolving. As shown in Figure 1, an autonomous vehicle (AV) will have a long, comprehensive history for some traffic participants (like a car it has been following for blocks), but only a fleeting glimpse of others (like a vehicle that just turned a corner or entered the sensor's field of view).

Existing models struggle with these heterogeneous observation lengths. Models optimized for long histories often suffer from prediction delays when encountering newly detected agents because they must wait to accumulate enough frames. Conversely, streaming models that pass information from step to step tend to degrade in accuracy if the number of inference steps varies from what they saw during training. SHARP addresses this gap by ensuring robust, accurate, and temporally consistent forecasting regardless of how long an agent has been tracked.

Figure 1. In real-world driving scenes, the available context history for different agents is heterogeneous. Therefore, forecasting mod- els should be able to make accurate predictions for both long-term (brown car) and short-term (green car) contexts, where agents have been observed for a long time or have recently entered the field of view. While existing models often struggle with such varying context lengths, our SHARP is explicitly designed to provide ac- curate forecasts in such dynamically evolving scenes. Dotted lines indicate the available observations, while transparent paths show the corresponding future trajectory.

Methods

SHARP (Short-Window Streaming for Accurate and Robust Prediction) introduces three core architectural and training innovations to handle dynamic scenes efficiently:

  1. Short-Window Streaming: Instead of processing massive history blocks, SHARP processes incoming data in short, incremental chunks (e.g., 1-second windows). This keeps the computational footprint low and minimizes initial latency for newly appeared agents.
  2. Instance-Aware Context Streaming: To propagate information reliably across time steps, the model features a cross-attention-based streaming module. Unlike prior methods that rely purely on spatial/positional alignment to pass features forward, SHARP uses an attention mask to explicitly track an agent's unique identity across streaming steps.
  3. Target-Centric Context Encoding: The model leverages the predicted trajectory endpoints from the previous inference step as spatial anchors. It aggregates localized map and agent features around these anchors to refine future predictions.
  4. Dual Training Objective: To make the model robust to any history length, the authors propose a dual loss function: $$\mathcal{L}_{\text{dual}} = \mathcal{L}_{\text{stream}} + \mathcal{L}_{\text{chunk}}$$ During training, the model predicts future trajectories twice for every new chunk: once using the accumulated, streamed history ($\mathcal{L}_{\text{stream}}$), and once using only the current short observation chunk ($\mathcal{L}_{\text{chunk}}$).
Overview of the SHARP architecture, illustrating the input encoding, instance-aware context streaming, target-centric encoding, and the dual training pipeline.

Datasets

The authors evaluated SHARP across three standard, large-scale autonomous driving datasets:

  • Argoverse 2 (AV2): Used as the primary benchmark for both single-agent and multi-agent joint prediction settings due to its long sequences (11 seconds total) and complex scenarios.
  • Argoverse 1 (AV1) & nuScenes: Used to demonstrate the model's generality and performance on standard single-agent benchmarks.

To properly evaluate performance in real-world conditions, the authors also introduced an Evolving Scenes Evaluation Setup. This protocol systematically tests models at different timesteps throughout a scenario using varying context lengths, rather than evaluating only a single, fixed history/future split.

Key Insights and Ideas

  • Identity Preservation Prevents Drift: Relying solely on spatial coordinates to link features across streaming steps can confuse the model when agents move quickly or scenes change rapidly. Explicitly masking for instance identity keeps the latent representations stable.
  • Parallel Training as a Regularizer: Forcing the network to simultaneously optimize for a single isolated chunk and a long streamed history acts as a powerful regularizer. It prevents the model from over-relying on long-term dependencies that might not be available for a newly detected vehicle.
  • Inherent Fault Tolerance: Because SHARP relies on short input windows, it is intrinsically better at recovering from upstream tracking discontinuities (e.g., if a sensor drops a track and assigns a new ID) compared to models dependent on long, unbroken history windows.

Key Results

  • State-of-the-Art Multi-Agent Prediction: On the Argoverse 2 multi-agent test set, SHARP achieved the top spot, outperforming prior streaming state-of-the-art models (DeMo and RealMotion) with an avgBrierMinFDE6 of 1.80 and an avgMinFDE6 of 1.15.
  • Robustness to Short Histories: In the evolving scenes evaluation, when restricted to a short 3-second context window, SHARP significantly outperformed competitors, reducing the final displacement error (minFDE6) by up to 14% compared to DeMo.
  • Low Latency for Real-Time Deployment: By avoiding computationally heavy iterative refinement decoders, SHARP achieves an online inference latency of just 33 ms for batches of 16 agents and an average of 30 ms per scenario for multi-agent joint prediction on a single NVIDIA RTX 3090 GPU.

Limitations and Future Work

While SHARP's short-window design makes it highly resilient to tracking drops, the framework still fundamentally relies on the quality of upstream perception systems (detections and tracking). Additionally, the authors note that they intentionally avoided iterative refinement decoders to maintain minimal latency. A promising direction for future work would be exploring highly efficient, non-autoregressive iterative decoding structures that can boost trajectory smoothness and accuracy further without sacrificing real-time constraints.

Summary updated

BibTeX
@inproceedings{prutsch2026sharp,
  author = {Alexander Prutsch and Christian Fruhwirth-Reisinger and David Schinagl and Horst Possegger},
  title = {{SHARP: Short-Window Streaming for Accurate and Robust Prediction in Motion Forecasting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=zn0PJVBdxi},
}
Figure