This research introduces the nuScenes Knowledge Graph (nSKG) and an associated dataset, nSTP, designed to bridge the gap between raw sensor data and the structured, semantic reasoning required for safe autonomous driving. By transforming the popular nuScenes dataset into a massive, formal knowledge graph, the authors provide a framework for training Graph Neural Networks (GNNs) that "understand" the rules and relationships of the road.
The Problem: Context and Robustness
Predicting vehicle movement (trajectory prediction) is a cornerstone of autonomous driving. While deep learning models have become proficient at this task, they often operate on "sub-symbolic" data—pixels or simple coordinate lists. Current models suffer from two main shortcomings:
- Lack of Context: Most models only look at a limited subset of information (e.g., just lane centerlines), missing rich details like lane widths, line types (solid vs. dashed), or specific traffic rules.
- Lack of Robustness: Purely statistical models learn correlations but lack a structured understanding of a scene, making them harder to explain and less likely to generalize to new environments.
Methodology: A Neuro-Symbolic Approach
The researchers employed a neuro-symbolic approach, combining the structured reasoning of Knowledge Graphs with the predictive power of Deep Learning.
- Ontology Design: A formal ontology defines how "Agents" (cars, pedestrians), "Map Elements" (lanes, walkways), and "Relations" (is-on, follows, intersects) interact.
- Knowledge Graph Generation: Raw data from nuScenes was mapped into this ontology, resulting in the nSKG, which contains 56 million "triples" (subject-predicate-object statements).
- nSTP Dataset Extraction: To make the data manageable for training, the authors extracted over 40,000 individual "scene graphs." Each graph is centered on a target vehicle and includes all relevant participants and map elements within range.
- Inductive Bias: Coordinates were transformed into a local frame centered on the target agent to ensure the model is rotation and translation invariant.
Key Insights: Closing the "Richness Gap"
A primary contribution of this work is addressing the "Richness Gap" in environmental modeling. While popular models like VectorNet and LaneGCN typically track only 2 to 4 scene features, the nSKG tracks 11, including often-ignored details like lane width, stop areas, and specific agent-to-agent relations.
Beyond feature density, the model explicitly includes the "ego-vehicle" as a participant, recognizing that its presence significantly influences the behavior of surrounding agents. Furthermore, the graph models logical connectivity rather than just physical proximity, explicitly linking lanes that are legal to enter during complex maneuvers like turns.
Conclusion and Future Work
The nSTP dataset provides over 40,000 training pairs, each containing a rich subgraph of 1,000 to 2,000 nodes. By providing this data in a PyTorch Geometric-ready format, the authors have lowered the barrier for researchers to experiment with high-context GNNs. Future work will focus on benchmarking specific GNN architectures on nSTP to quantify exactly how much these extra semantic features improve prediction accuracy and adapting the ontology to other major datasets like Argoverse or Waymo.
Summary updated