Abstract
Motion prediction is a critical component of autonomous driving systems, requiring both high accuracy and real-time efficiency. Current refinement-based methods often apply a uniform computational budget to all scenarios, leading to wasted resources in simple cases and potential performance degradation in others. We present SmartRefine, a plug-and-play framework that adaptively refines trajectories based on scenario complexity. By utilizing a novel quality score for early termination and scenario-aware context retrieval, SmartRefine achieves state-of-the-art performance on the Argoverse 2 leaderboard while maintaining a lightweight computational profile.
Introduction
Predicting the future trajectories of surrounding agents—such as vehicles, cyclists, and pedestrians—is a fundamental challenge for autonomous vehicles (AVs). Modern "two-stage" prediction models typically generate a coarse initial trajectory and subsequently refine it using local map data and agent interactions.
However, existing refinement strategies suffer from a "one-size-fits-all" approach. They apply identical data-retrieval rules and iteration counts regardless of whether an agent is on a simple straight road or navigating a complex intersection. This leads to two primary inefficiencies:
- Computational Waste: Excessive processing for "easy" scenarios where a coarse prediction is already sufficient.
- Over-refinement: Forcing additional refinement steps on high-quality predictions can occasionally introduce noise, pushing the trajectory away from the ground truth.
Methodology
SmartRefine is designed as a decoupled, universal upgrade for existing motion prediction backbones (e.g., QCNet, HiVT). Its architecture focuses on three core innovations:
Adaptive Context Retrieval
Unlike static methods that look at a fixed radius, SmartRefine dynamically adjusts its search area. The retrieval space is scaled based on the agent's current speed—allowing faster agents to consider more distant map features—and is progressively narrowed across refinement iterations as prediction confidence increases.
Anchor-Centric Encoding
To better capture path-specific nuances, SmartRefine transforms map features into the coordinate frames of predicted future positions (anchors). This "anchor-centric" view allows the model to process context relative to the intended path rather than just the agent's current location.
Quality-Based Early Stopping
The framework introduces a Quality Decoder that predicts a score for the current trajectory. During inference, if the quality score exceeds a predefined threshold or if successive iterations yield diminishing returns, the refinement process terminates early. This ensures that computational effort is concentrated on challenging scenarios.
Experimental Results
The framework was rigorously evaluated on the Argoverse 1 and Argoverse 2 benchmarks, which contain hundreds of thousands of complex driving sequences.
Performance and Efficiency
SmartRefine consistently improved the accuracy (minFDE) of five distinct backbone architectures. When integrated with QCNet, it achieved the top position on the Argoverse 2 single-agent leaderboard for ensemble-free models at the time of submission.
Crucially, these gains come with minimal overhead. While typical backbones require significant FLOPs, SmartRefine adds only 0.13G to 0.4G FLOPs. The adaptive iteration strategy allows the model to reach higher accuracy with fewer average iterations than fixed-count baselines, as shown in the comparative plots.
Conclusion
SmartRefine demonstrates that "scenario-aware" computation is key to balancing accuracy and efficiency in motion prediction. By decoupling the refinement process and introducing adaptive termination, the framework serves as a versatile tool for enhancing AV safety. Future work will explore extending this logic to multi-agent joint prediction, where the interactions between multiple refined trajectories must be considered simultaneously.
Summary updated