TL;DR
KnowMTP is a model-agnostic framework that improves multi-agent trajectory prediction in autonomous driving by using domain knowledge to filter out irrelevant surrounding agents. By focusing only on neighbors with high motion similarity or safety criticality, it boosts prediction accuracy by up to 18.8% while cutting inference latency by up to 22.1%.
What Problem Does This Paper Address?
For autonomous vehicles to navigate safely, they must accurately predict the future trajectories of surrounding vehicles and pedestrians. Modern multi-agent trajectory prediction (MTP) methods rely heavily on deep learning architectures like Transformers and Graph Neural Networks (GNNs).
However, these purely data-driven models typically treat all nearby agents uniformly. They rely entirely on learned attention mechanisms to figure out who influences whom. This introduces significant noise and computational overhead—after all, a car driving away in an opposite lane has virtually zero impact on your vehicle's immediate path. Furthermore, these models lack an explicit, cognitive awareness of critical safety constraints, which can lead to unrealistic or unsafe trajectory predictions.
Methods
Instead of redesigning the neural network architecture, KnowMTP introduces a top-down, knowledge-guided data reorganization layer that plugs in right before the encoding stage.
The framework filters the surrounding environment using two complementary mechanisms:
- Motion-Similar Agent Selection: This filter calculates the similarity between the historical trajectory embeddings (incorporating position, velocity, orientation, and agent type) of the target vehicle and its neighbors. It retains only the top-$K$ most similar agents, filtering out those with completely different driving intentions.
- Safety-Critical Agent Selection: Grounded in traffic psychology and safety engineering, this filter evaluates potential collision risks using three classic risk metrics adapted for 2D space: Time-to-Collision (TTC), Time Exposed TTC (TET), and Time Integrated TTC (TIT). It prioritizes the top-$K$ neighbors that pose the highest immediate safety risks.
The filtered subset of highly relevant agents is then passed into standard Transformer encoders and attention decoders to generate the final multi-modal trajectory predictions.
Datasets
The authors evaluated KnowMTP across two popular, large-scale autonomous driving benchmarks:
- Waymo Open Motion Dataset (WOMD): Consisting of approximately 487,000 training scenes, where models use 1 second of history to predict 8 seconds into the future.
- nuPlan: A closed-loop planning benchmark containing over 189,000 training samples, utilizing 2 seconds of history to predict 8 seconds ahead.
Performance was measured using standard trajectory metrics: minimum Average Displacement Error (minADE), minimum Final Displacement Error (minFDE), and Miss Rate (MR).
Key Insights and Ideas
- Less is More: Attention mechanisms can get distracted. By aggressively filtering out irrelevant agents before the encoder stage, the model eliminates background noise, allowing the attention layers to focus purely on meaningful interactions.
- Domain Knowledge as a Shortcut: Rather than forcing a deep neural network to learn basic physics and safety concepts (like collision risk) entirely from scratch, explicitly structuring the input data using established traffic engineering metrics yields immediate dividends in both accuracy and efficiency.
- Plug-and-Play Viability: Because KnowMTP only reorganizes the input data, it requires zero architectural changes to existing state-of-the-art models. The authors successfully bolted it onto four distinct baseline architectures (GameFormer, MTR, BeTop, and EDA).
Key Results
- Substantial Accuracy Gains: KnowMTP achieved an average performance improvement of 18.8% across the four baselines on the WOMD dataset.
- Reduced Computational Latency: By pruning redundant agent states, the framework significantly lowered computational overhead. For instance, it slashed the inference time of the GameFormer baseline on WOMD by 22.1% (dropping from 367.6ms to 218.8ms).
- Improved Social Awareness: Qualitative visualizations demonstrated that KnowMTP-enhanced models consistently produced more plausible trajectories that adhered to traffic rules (e.g., avoiding running red lights or crossing solid yellow lines) compared to their purely data-driven baselines.
Limitations and Future Work
Despite the clear benefits, the authors noted a distinct limitation: over-conservatism. Because the framework heavily prioritizes safety-critical metrics, it can occasionally cause the autonomous vehicle to behave too cautiously. For example, in complex T-intersections, the enhanced model sometimes predicted an unrealistically long waiting time, freezing up when it should have confidently proceeded.
The authors state that future work will focus on finding a better mathematical balance between strict safety awareness and behavioral realism.
Summary updated