Predicting where a car or pedestrian will move next is the "bread and butter" of autonomous driving. While current AI models are highly capable, they often treat a predicted path as a single, monolithic object. A new paper from Fudan University, titled DeMo, suggests that we should instead break this prediction down into two distinct parts: high-level intent and low-level dynamics.
TL;DR
DeMo (Decoupled Motion) is a motion forecasting framework that splits trajectory prediction into "mode queries" (directional intent) and "state queries" (temporal dynamics). By combining the global reasoning of Transformers with the efficient sequence modeling of Mamba, DeMo achieves state-of-the-art accuracy on major benchmarks while running significantly faster than previous leading models.
What Problem Does This Paper Address?
Most modern motion forecasting models use a "one-query-one-trajectory" paradigm. Think of this like a scout: one query is sent out to look at the map and return with one complete path. While effective, this approach struggles to capture the fine-grained evolution of an agent's state over time.
The challenge is two-fold:
- Multi-modality: A driver might go straight, turn left, or stop. The model needs to capture these distinct "modes" of intent.
- Temporal Consistency: A trajectory isn't just a line; it’s a sequence of states (position, velocity, heading) that must flow logically from one millisecond to the next.
Current models often overlook the detailed spatiotemporal interactions required to keep these paths both accurate to the map and internally consistent over long durations.
Methods
The authors introduce DeMo, which replaces the single-query approach with a decoupled representation:
- Mode Queries ($Q_m$): These focus on the "where." They capture distinct directional intentions (e.g., "I intend to turn right at this intersection").
- State Queries ($Q_s$): These focus on the "how." They track the agent’s dynamic states across every future timestamp to ensure the movement is smooth and physically plausible.
The "Mamba" Twist
Standard Transformers (Attention) are great at looking at a whole map at once, but they can be computationally expensive for long sequences. DeMo introduces a hybrid architecture:
- Attention is used for global information aggregation—letting agents "talk" to the road map and each other.
- Mamba (a State Space Model) is used for modeling the trajectory sequences. Mamba excels at handling sequential data with linear-time complexity, making it perfect for tracking how a car's state evolves over time.
The framework consists of three main modules: a Mode Localization Module, a State Consistency Module (utilizing Bidirectional Mamba), and a Hybrid Coupling Module that fuses the two query types into a final, high-fidelity prediction.
Datasets
The researchers put DeMo to the test on the industry's most rigorous benchmarks:
- Argoverse 2: The primary testbed, featuring 250,000 complex urban driving scenarios.
- nuScenes: A large-scale dataset used to evaluate multi-modal prediction.
- Argoverse 1 & Waymo Open Motion Dataset (WOMD): Used for further validation and cross-dataset performance checks.
Key Insights and Ideas
- Decoupling is Power: By separating intent from dynamics, the model can optimize for "directional accuracy" and "temporal smoothness" independently before combining them. This leads to more "human-like" predicted paths.
- Mamba vs. Transformers: The paper is one of the first to show that Mamba is a superior fit for the sequential part of motion forecasting. While Transformers are better for the "spatial" map context, Mamba handles the "temporal" flow of the car better and more efficiently.
- Bidirectional Scanning: In the State Consistency Module, the authors use Bidirectional Mamba. This allows the model to refine earlier parts of a predicted path based on where the car is expected to be in the future, ensuring the entire trajectory is cohesive.
Key Results
DeMo doesn't just perform well; it sets a new bar for efficiency and accuracy:
- State-of-the-Art Accuracy: On Argoverse 2, DeMo achieved a minFDE of 3.74, significantly outperforming the previous leader, QCNet (4.30).
- Efficiency Gains: Despite its higher accuracy, DeMo is roughly 2.5x faster than QCNet, with an average inference speed of just 38ms compared to QCNet's 94ms.
- Smaller Footprint: The model is more compact, using 5.9M parameters versus QCNet’s 7.7M.
- Qualitative Superiority: Visualizations show that DeMo produces trajectories that stay strictly within lane boundaries and better anticipate complex maneuvers at intersections compared to models that don't use decoupled queries.
Limitations and Future Work
While DeMo is a leap forward, the authors acknowledge a few hurdles:
- Long-range Complexity: The decoupled paradigm could lead to heavier models if the prediction horizon (how far into the future we look) increases significantly.
- Missing Cues: The model currently relies on movement patterns and maps. The authors suggest that incorporating visual cues—like turn signals or brake lights—could help resolve "subjective" driving behaviors that are currently hard to predict.
- Deployment Optimization: Future work will focus on using "sparse states" to make the model even more lightweight for real-time hardware deployment in self-driving cars.
Summary updated