← Latest papers
🤖 machine learning

A graph generation pipeline for critical infrastructures based on heuristics, images and depth data

This paper presents a cost-effective, transparent graph generation pipeline for critical infrastructures that utilizes photogrammetry, deep learning, and user-defined heuristics to create virtual representations from RGB and depth data, offering a viable alternative to expensive laser scanning for applications like digital twins.

Original authors: Mike Diessner, Yannick E. Tarant

Published 2026-04-29
📖 5 min read🧠 Deep dive

Original authors: Mike Diessner, Yannick E. Tarant

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to build a digital "twin" of a complex water treatment plant or a power station. You need a map that shows not just what the machines look like, but how they are connected to each other—like a wiring diagram for a giant, physical machine. Usually, making this map is like trying to draw a blueprint of a castle by hiring a team of expensive surveyors with heavy, laser-scanning equipment. It costs a fortune and takes a long time.

This paper presents a cheaper, faster way to build that map using a "graph generation pipeline." Think of it as a smart, automated detective that uses standard cameras (like the ones on your phone, but slightly better) to figure out the layout of a facility and draw the connections for you.

Here is how the system works, broken down into simple steps:

1. The Eyes: Taking Pictures

Instead of using expensive lasers, the system uses a stereo camera (two lenses, like human eyes) to take photos and measure depth (how far away things are). The researchers tested this on two virtual water systems built in a video game engine (Unreal Engine 5). They took many photos from different angles, just like a tourist taking pictures of a building from every side.

2. The Detective: Finding the Objects

The system uses a "detective" (a type of AI called YOLOv8) to look at the photos and spot the important parts: pumps, tanks, valves, and pipes.

  • For big machines (Pumps/Tanks): The detective finds them and marks the specific spots where pipes connect to them. It's like the detective putting a "Connect Here" sticker on the machine.
  • For pipes: The detective tries to trace the pipes. Sometimes it gets confused and thinks a shadow is a pipe, or misses a small pipe entirely. This is where the next step comes in.

3. The Cleaner: Fixing the Mess

Because the detective isn't perfect, the system has a "cleaning crew."

  • It looks at all the photos together. If the detective sees a pump in photo A and photo B, it merges them into one single, confirmed pump.
  • It uses the depth data (the 3D distance info) to throw away "ghost" detections. If the AI thinks a pipe is floating in the air behind a wall, the system realizes that's impossible and deletes it.
  • It also removes pipes that are actually inside a pump or tank, so they don't get counted twice.

4. The Architect: Drawing the Connections

Once the objects are cleaned up, the system needs to draw the lines (edges) between them to show how they are connected.

  • The "Guessing Game": First, it draws lines between everything that is close to each other. Imagine a spiderweb connecting every nearby object.
  • The Rulebook: This is the most important part. The system doesn't just guess; it follows a strict set of rules written by humans (heuristics).
    • Rule 1: A pump can only have two pipes connected to it.
    • Rule 2: A tank can only have one pipe.
    • Rule 3: You can't have a loop where water would go in circles forever.
    • Rule 4: Every pipe must be connected to something.
  • The system looks at its messy spiderweb and cuts any lines that break these rules. It keeps cutting until the map looks like a logical, working plumbing system.

5. The Result: A Transparent Map

The final output is a "graph"—a digital map where the machines are dots and the pipes are lines.

  • Why is this special? Most modern AI systems are "black boxes." You put data in, and a map comes out, but you don't know why the AI made those connections.
  • This system is different because the rules are written in plain logic. If the map looks wrong, a human can look at the rulebook and say, "Ah, the AI broke Rule 3 here." This transparency is crucial for critical infrastructure, where you need to trust the map before making life-or-death decisions.

What Did They Find?

When they tested this on their two virtual water systems:

  • System 1 (Simple): The system got the map almost perfectly right. It missed one tiny sprinkler, but that was because the sprinkler was too small for the camera to see, not because the system failed.
  • System 2 (Complex): The system did very well, correctly identifying the main layout. It missed a few thin pipes and the small sprinklers (again, because the camera couldn't see them clearly), but the main structure was accurate.

The Bottom Line

The authors created a prototype that turns a stack of photos into a logical, rule-based map of a facility. It is cheaper and faster than laser scanning. While it isn't perfect yet (it struggles with very small objects or confusing shapes), it proves that you can use affordable cameras and simple human rules to build reliable digital twins of critical infrastructure. The goal is to make this technology ready for real-world use, where safety and clear explanations are more important than just having a pretty 3D model.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →