table of content:
HOME
/
BLOG
/
Scene Graph: How Driving Systems Map Spatial Relationships Between Road Users

Scene Graph: How Driving Systems Map Spatial Relationships Between Road Users

Real NATIX roadwork frame beside a scene graph linking the ego car, an SUV, a barrier and roadwork

A scene graph in a driving scene is a map of relationships. Every road user and object becomes a point. Every relationship between two of them becomes a line, such as "left of", "behind" or "in the same lane as". It is a simple idea, and it targets one of the weakest spots in how vision language models read the road.

Naming the objects in a frame is only the first layer of driving scene understanding. The next layer is how those objects relate to the car and to each other. That is where models trained on generic photos stumble. Learning these relationships takes footage that shows the same moment from more than one angle. This is why multi-camera driving data has become central to this work.

What a Scene Graph Is in Driving

The term comes from two worlds. In computer graphics and game engines, a scene graph organizes 3D objects for rendering. In computer vision and driving, it means a structured description of what is happening: who is where, and how each participant relates to the others.

For a self-driving system, a scene graph has two parts:

  • Nodes: the things that matter on the road, such as vehicles, pedestrians, cyclists, lanes, traffic lights and signs.
  • Edges: the relationships between them. A cyclist might be "right of" the ego car and "in the bike lane". A bus might be "ahead of" the car and "stopping at" a bus stop.

Researchers who built the roadscene2vec toolkit describe this as a representation that encodes the spatial and semantic relations between all traffic participants in a frame. Building these graphs automatically from images is called scene graph generation.

The value of the structure is that it makes relationships explicit. A model's grasp of the layout no longer has to be assumed. The scene graph writes it down in a form other parts of the system can check and use.

Why Spatial Relationships Are Hard for Vision Language Models

Spatial words look easy because people learn them early. For vision language models, they are among the hardest things to get right. A study of 13 models on spatial reasoning tasks found that average accuracy was close to random chance.

The models could describe what was in the images. They often could not say how things were arranged. Results on 3D spatial reasoning were weaker still.

Part of the reason is the data these models learn from. Internet captions tend to say what is in a picture, not where each thing sits. A model trained on millions of such captions learns many object names. It learns far less about spatial intelligence.

On the road, that gap shows up as quiet but serious mistakes. "The car is in my lane" and "the car is in the next lane" lead to very different decisions. "The pedestrian is behind the parked van" warns that someone may step out of a blind spot. A model that flips these relationships can still sound plausible, which makes the error harder to catch.

Distance makes things worse. Whether one object is behind another often depends on how far away each is. A single camera image is a poor guide to distance. That is the problem of monocular depth, and it feeds directly into relationship errors.

What a Scene Graph Makes Possible

Once relationships are written down, they can be used. Risk assessment is one of the clearest applications. Lane changes are a good example, because improperly executed lane changes account for 7.62% of crashes between light vehicles. Judging a lane change depends almost entirely on relationships: which vehicle is beside the car, which is closing from behind, and how much space is left.

Researchers have found that combining a scene graph with graph learning methods outperforms standard image-based deep learning. The gains showed up in tasks including risk assessment and collision prediction. The structure helps the model focus on the parts of the scene that matter for the decision, not on every pixel equally.

A scene graph also makes a system easier to explain. When a model flags a situation as risky, the graph shows which relationship triggered the concern. That helps engineers debugging a model and anyone who must justify a system's behavior.

Scene graph for a lane change with cars ahead, beside and closing from behind, plus the checks it answers

Why Several Camera Views Make Relationships Easier to Get Right

A front camera alone sees only part of the picture. Many relationships that matter most happen beside or behind the car. Think of a vehicle in the blind spot or a cyclist passing on the right. A graph built from one view will miss those relationships or guess at them.

Multiple synchronized cameras change the problem. When front, side and rear cameras capture the same moment, relationships can be confirmed across views. A car that looks ambiguous in the front camera may be clearly placed in a side camera. The graph becomes a record of what was observed, not a best guess. For a broader look at how perception systems combine camera views, see our article on computer vision in autonomous vehicles.

Where NATIX Fits

Building a scene graph at scale starts with finding the right moments in a large archive. With VLMs, NATIX can turn its archive into searchable multi-camera video. Teams no longer need to scroll through footage. They can search for complex events such as lane encroachments or close passes. They then pull the clips where relationships between road users actually matter.

Those clips come with views from several factory cameras at once, which is exactly what relationship-heavy scenes need. They show the vehicle beside the car, the cyclist passing on the right and the van blocking a pedestrian. All of it is captured at the same moment.

A Scene Graph Turns a Picture Into Relationships

Vision language models are good at saying what is in a driving scene. A scene graph asks the harder question of how everything fits together. Getting that right depends less on clever phrasing and more on data that shows relationships clearly. That means real roads, real traffic and several viewpoints of the same moment, the raw material every useful scene graph is built from. The next article in this series looks at the distance errors that undermine those relationships.

available on