Abstract
Scene understanding, defined as learning, extraction, and representation of interactions among traffic elements, is one of the critical challenges toward high-level autonomous driving (AD). Current scene understanding methods mainly focus on one concrete single task, such as trajectory prediction and risk level evaluation. Although they perform well on specific metrics, the generalization ability is insufficient to adapt to the real traffic complexity and downstream demand diversity. In this study, we propose PreGSU, a generalized pre-trained scene understanding model based on graph attention network to learn the universal interaction and reasoning of traffic scenes to support various downstream tasks. After the feature engineering and sub-graph module, all elements are embedded as nodes to form a dynamic weighted graph. Then, four graph attention layers are applied to learn the relationships among agents and lanes. In the pre-train phase, the understanding model is trained on two self-supervised tasks: Virtual Interaction Force (VIF) modeling and Masked Road Modeling (MRM). Based on the artificial potential field theory, VIF modeling enables PreGSU to capture the agent-to-agent interactions while MRM extracts agent-to-road connections. In the fine-tuning process, the pre-trained parameters are loaded to derive detailed understanding outputs. We conduct validation experiments on three datasets and two downstream tasks, i.e., trajectory prediction in urban scenario and intention recognition in highway scenario, to verify the model's generalization and understanding capabilities. Results show that compared with single-task-driven baselines, PreGSU achieves competitive performance on all datasets and downstream tasks, indicating its potential to be generalized to various scenes and targets.
1. Introduction
In the domain of Autonomous Driving (AD), "scene understanding" acts as the vital link between raw perception and high-level decision-making. Most current research relies on task-specific models—for instance, separate architectures for trajectory prediction and intention recognition. This "one model for one task" approach often suffers from overfitting to specific datasets and struggles with the inherent complexity of real-world traffic. PreGSU addresses these limitations by introducing a generalized "foundation model" for traffic interactions. By pre-training on the universal "physics" of traffic, PreGSU creates a medium layer that understands how vehicles, pedestrians, and road geometries influence one another, regardless of the final application.
2. Methodology: Scene as a Dynamic Graph
The PreGSU architecture treats the traffic scene as a dynamic weighted graph. Agents, such as vehicles and pedestrians, along with lane segments, are embedded as nodes. Their interactions are represented as edges, allowing the model to capture the complex relationships between all elements in the scene.
Following the graph construction, four graph attention layers are applied to learn the relationships among agents and lanes. This lightweight backbone (approximately 700k parameters) is designed for efficiency and generalization, achieving performance comparable to models with over 15 million parameters.
3. The PreGSU Framework: Pre-training and Fine-tuning
The core innovation of PreGSU lies in its two-stage training process. Instead of training directly on task labels, the model first undergoes self-supervised pre-training on two tasks designed to capture the intrinsic logic of traffic scenes:
- Virtual Interaction Force (VIF) Modeling: Based on artificial potential field theory (Driving Safety Field), the model learns to predict the "risk energy" or virtual force vehicles exert on each other, facilitating agent-to-agent reasoning.
- Masked Road Modeling (MRM): The model reconstructs masked lane segments using remaining map data and agent trajectories, enabling it to extract agent-to-road connections.
In the fine-tuning stage, the pre-trained backbone is frozen or slightly adjusted, and a small task-specific decoder (less than 20k parameters) is added to produce the final output for tasks like trajectory prediction or intention recognition.
4. Experimental Results
PreGSU was validated across three major benchmarks: Argoverse-1, Argoverse-2, and HighD.
- Trajectory Prediction: On Argoverse-1, PreGSU achieved a minADE (Minimum Average Displacement Error) of 0.70, outperforming specialized models like TNT and LaneRCNN. It also showed strong performance on Argoverse-2, which contains more challenging interactive cases.
- Intention Recognition: On the HighD highway dataset, the model reached an overall accuracy of 95.11%, with a 98.26% success rate in recognizing left-turn intentions.
- Efficiency: The model demonstrates real-time performance with a single-frame inference time of less than 5ms on mid-range hardware (NVIDIA GTX 1650Ti).
5. Conclusion
PreGSU demonstrates that a generalized pre-training approach can outperform or match task-specific models while remaining significantly more efficient. By grounding deep learning in physical theories like VIF, the model gains a robust understanding of traffic interactions. Future work will explore the integration of PreGSU with decision-making modules and its performance in rare "corner case" scenarios to further enhance safety and reliability.
Summary updated