Knowledge graphs (KGs) are increasingly used in autonomous driving (AD) to make traffic scene entities and relations explicit for prediction and reasoning. Existing traffic-scene KGs, however, primarily emphasize trajectory forecasting or general scene understanding. This paper presents the nuScenes Intention Knowledge Graph (NIKG), a focused Web Ontology Language (OWL)-based semantic representation and construction pipeline for ego-centric vehicle intention context. NIKG instantiates nuScenes scenes as a self-describing Turtle graph and promotes three intention-relevant relations to first-class properties of each scene participant: ego-relative motion, spatial configuration, and time to collision (TTC) risk. The pipeline uses a small input contract available in many ego-centric driving datasets: ego pose, tracked object annotations, and temporal keyframe order. NIKG is released as an ontology-backed, self-describing graph artifact together with a reproducible construction pipeline and validation protocol for ego-centric intention context. Applying this pipeline to nuScenes mini yields a graph of 211,335 triples across 404 keyframes; under the validation protocol, ego-relative motion labels achieve 92.5% forward consistency. Coverage, semantic consistency, and temporal coherence analyses over this artifact are further reported. NIKG occupies the space between scene-oriented traffic KGs and intention-prediction models: a small, explicit semantic layer intended to support downstream work such as knowledge graph embedding (KGE), SPARQL-based feature extraction, or hybrid neuro-symbolic reasoning.
Figures & tables
Figure 1: NIKG in the autonomous driving pipeline. The semantic context layer (dashed, this work) sits between perception and the downstream intention predictor, making ego-relative motion, spatial configuration, and time to collision risk available as explicit, queryable graph facts.
Figure 2: NIKG ontology structure. Nodes represent OWL classes; edges are object properties. The three intention-relevant relations ( motionTowardEgo , spatialConfiguration , ttcRisk ) connect SceneParticipant to their respective enumeration classes. hasCoarseCategory connects the underlying Participant to AgentCoarseType .
Table 1: Intention-relevant object properties introduced by NIKG.
Figure 3: NIKG generation pipeline. Each stage is independently testable; the final artifact merges schema and instance triples into a single self-describing Turtle file.
Signal
Source
Used for
Ego pose (x,y,ψ)
ego record
ego frame + time to collision
Annotation position
annotation
participant geometry
Instance identifier
annotation
track continuity
Keyframe order
sample chain
temporal relations
Optional image/intrinsics
camera metadata
figures / future 2D
Table 2: Minimal input contract for graph instantiation.
Figure 4: Scene-1100, frames 19–22 (0.5 s apart). Bounding boxes are colour-coded by ttcRisk : red = High , orange = Medium , green = Low , grey = none. Each box label: coarse category / motionTowardEgo — spatialConfiguration — ttcRisk .
Figure 5: Representative NIKG subgraph for scene-1100 frame 22. Two SceneParticipant nodes are expanded to show their populated intention-relation triples; the remaining 21 participants in the frame are collapsed for clarity. The temporal chain linking this frame to frames 21 and 23 is visible at the top of the diagram.
Statistic
Value
Total triples
211,335
Scenes (keyframes)
404
Unique participants
911
SceneParticipant instances
18,538
hasCoarseCategory triples
18,538
hasNuScenesCategory triples
18,538
Table 3: Graph scale on nuScenes mini (10 scenes).
Constraint
Total
Pass
Rate
ttcRisk=High ⇒ Approaching
1,990
1,988
99.9%
ttcRisk=High ⇒ spatialConfiguration in forward zone
1,892
1,688
89.2%
Stationary ⇒ ttcRisk = High
3,784
3,782
99.9%
Table 4: Semantic consistency checks. Pass rate = fraction of premise instances that also satisfy the conclusion.
Knowledge graph construction turns text, tables, images, and databases into structured entities and relationships that machines can query and reason over.
Latent world models learn predictive representations for autonomous driving, but the relational semantics these states preserve often remain implicit. We investigate whether traffic scene graphs can serve as privileged semantic supervision for latent world representations. Building on LAW, we construct actor-centric scene graphs from nuScenes 3D annotations, encode their serialized relational structure using a frozen text embedding model, and align the visual latent representations with this semantic target during training. We remove the supervision branch at inference, so it requires neither scene graphs nor 3D annotations and adds no test-time computation. On nuScenes, our method reduces average trajectory L2 error from 0.661 to 0.622 (5.9%) and collision rate from 0.456 to 0.217 (52.4%) relative to our retrained LAW baseline. It also outperforms an unstructured caption-style semantic target, supporting the benefit of explicit relational structure for latent world-model representation learning.
Fabian Schmidt, Markus Enzweiler, Abhinav Valada
Institute for Intelligent Systems, Esslingen University of Applied Sciences, Germany. · Department of Computer Science, University of Freiburg, Germany.
Safe motion planning in advanced driver-assistance systems and autonomous vehicles requires an accurate understanding of how the surrounding traffic scene is likely to evolve. However, many existing lane-change prediction methods remain centered on a single target vehicle, while multi-agent forecasting approaches often describe scene evolution only through future positions and provide limited explicit information about the maneuver associated with each vehicle. This study proposes a dynamic scene graph attention framework that predicts the lane-change intention and future trajectory of every relevant vehicle within a local traffic scene. The scene is represented as a time-varying interaction graph in which vehicles are modeled as nodes and their spatial and kinematic relationships are encoded through explicit edge features. Temporal graph-attention message passing captures evolving inter-vehicle dependencies and pre-maneuver cues, while an intention-guided decoder links each predicted maneuver to its corresponding future motion. A scene-level consistency objective further encourages compatible multi-vehicle futures. Experiments on the NGSIM I-80, NGSIM US-101, and highD datasets demonstrate consistent improvements over competing baselines. DSiGAT achieves intention prediction accuracies of 90.12% and 90.97% on NGSIM I-80 and US-101, respectively, and reduces trajectory RMSE by up to 52.94% relative to the strongest baseline. It also produces lower inter-agent collision rates and joint displacement errors, indicating more coherent scene-level predictions. Ablation, sensitivity, robustness, and qualitative analyses further validate the contribution of the proposed components and the effectiveness of the scene-focused formulation.
Vision-language models have recently emerged as promising planners for autonomous driving, where success hinges on reasoning over spatial structure and dynamic interactions from multimodal input. However, existing models are typically trained without supervision that explicitly encodes relational dependencies, requiring them to infer interactions between traffic entities implicitly from raw sensor data. In this work, we introduce GraphPilot, a model-agnostic approach that conditions language-based driving models on structured relational context in the form of traffic scene graphs. We serialize scene graphs at different abstraction levels and formats and inject them through structured prompts without modifying the underlying architecture or training objective. Extensive closed-loop evaluations on LangAuto and Bench2Drive show persistent improvements across LMDrive, BEVDriver, and SimLingo. Controlled ablations and hidden-state probing further indicate that relational supervision contributes substantially to these improvements while increasing the decodability of scene relations. Open-loop SpaceDrive results on nuScenes further demonstrate transfer to real-world data. These results indicate that diverse architectures can effectively internalize and ground relational priors through scene graph-conditioned training, even without requiring scene graph input at test-time. Code, fine-tuned models, and our scene graph dataset are publicly available at https://github.com/iis-esslingen/GraphPilot.
Fabian Schmidt, Markus Enzweiler, Abhinav Valada
Esslingen University of Applied Sciences · University of Freiburg