# Yggdrasil: a Layer-First 3D Scene Graph for Real-Time Querying

Robotics.world

> A 3D scene graph sits between an upstream construction stage, which populates it from sensor data, and downstream applications that consume it to plan, navigate, or answer questions.

**arXiv**: 2609.38640 · Preprint · not peer-reviewed

**Published**: 2026-09-29

**Authors**: Arshia Akhavan, Ermanno Bartoli, Afnan Algharbi, Alireza Hoseinpur, Iolanda Leite, Bryan Donyanavard

## In plain words

A 3D scene graph sits between an upstream construction stage, which populates it from sensor data, and downstream applications that consume it to plan, navigate, or answer questions.

## AI summary

## Overview

**Research area:** Robotic perception systems — specifically 3D scene graphs (3DSGs), spatial indexing, and query processing for real-time robot control loops.

**Technical level:** Intermediate to Advanced. The paper assumes familiarity with scene graph representations, spatial data structures such as kd-trees, and robotics pipelines.

**Scope (one sentence):** The paper introduces Yggdrasil, a layer-first 3D scene graph whose layer hierarchy is a directed acyclic graph and which answers spatial and semantic queries in place without intermediate conversion, evaluated as an ablation ladder against a published DSG baseline on the uHumans2 office scene graph on both a workstation and an embedded Jetson device, and integrated into three published robotics pipelines.

## What This Paper Is About

A 3D scene graph sits between an upstream construction stage, which populates it from sensor data, and downstream applications that consume it to plan, navigate, or answer questions. Most prior work optimizes the upstream construction side, so downstream pipelines must work around their own graph — either serializing it for a language model to query, or copying it into a general-purpose library such as NetworkX plus a KD-tree and re-paying that conversion whenever the scene updates. Yggdrasil is designed the other way around: a single store that constructors populate and consumers query natively, fast enough to live inside a real-time perception loop.

## Key Contributions

1. **A scene graph designed for consumption.** The layer hierarchy is a directed acyclic graph rather than a stack, so a layer can parent more than one child. The paper argues this expresses scenes a stack cannot, such as outdoor graphs where a road-lane layer and an object-instance layer cannot be ranked against each other and instead both descend from a common segment layer.
2. **A native query API with self-maintained indexes.** Yggdrasil exposes pattern matching (`nodes_matching`, `nodes_having`, `edges_from`, `edges_to`, `edges_matching`), nearest-neighbour queries (`nearest_nodes`, `nodes_within_radius`, `nearest_in_subtree`), a field-of-view query, subgraph retrieval, and standard traversal. Per-layer and per-node spatial indexes, backed by a kd-tree, are built and updated by the store itself rather than by the application.
3. **A generic, vocabulary-free data model.** Nodes, edges, and layers are not bound to predefined types: nodes carry feature lists, optional geometric coordinates, and optional bounding boxes (kept current on every update, disabled by default because maintaining them costs a small penalty on each update within that node's sub-tree). This lets one graph express flat or hierarchical, indoor or outdoor representations that existing pipelines already produce.
4. **Three integrations spanning the perception pipeline.** LP2 (long-term human trajectory prediction) covers downstream-only use, OSG (zero-shot object-goal navigation) covers construction and consumption together inside a control loop, and S3DSG (social scene graphs for human-aware motion planning) covers augmentation of an already-existing graph.

## Main Findings

- **Headline query speedup:** against the published DSG baseline, Yggdrasil answers queries up to 121× faster, and every query measured on the fully featured targets falls between 2.06 µs and 126.3 µs on both the workstation and the Jetson Orin Nano Super.
- **Implementation alone already helps:** porting DSG unchanged into Yggdrasil (`vanilla`) is 1.8–2.3× faster on nearest-object queries and 6.7–7.6× on visibility, crediting data structures and packed memory layout before any design change.
- **The layer redesign adds a further step:** `chocolate` (per-room layer stacks) adds 4.8× on nearest-object and about 3× on visibility purely from reduced search span. Live indexes (`mint`) buy another 5–10× on nearest-object and 2.4× on visibility. End to end, the fully featured targets answer nearest-object in about 2 µs on both machines — 50× faster than `dsg` on the Threadripper and 121× on the Jetson — and cut the visibility query by 52×.
- **One query does not benefit from layering:** the radius query (Q1b) must touch every point in scope, so room isolation prunes nothing and `chocolate` is marginally slower than `vanilla` at the larger radii. Here the indexes are the whole story, with benefit falling from 23–31× over `chocolate` at 0.25 m to 1.1–1.7× at 4 m.
- **Label queries flatten the ladder:** all four Yggdrasil targets are indistinguishable and constant across label frequency classes, each about twice as fast as `dsg`. `saffron` holds 96× more nodes yet stays in the same range, because the geometric nodes it adds carry no labels by construction and those layers are skipped.
- **Memory and update costs trade off:** `vanilla` is 36% smaller than the 40.3 MB baseline at 25.6 MB; `chocolate` fits below the baseline at 33.7 MB; the live indexes add 37.2 MB to `mint` (70.9 MB); `saffron` reaches 144.6 MB, 3.6× the baseline. Update latency rises from 7.54 µs (`dsg`) to 6.91 µs (`chocolate`), 12.7 µs (`mint`), and 129 µs (`saffron`).
- **Large real-time headroom:** the most expensive measured query consumes 0.5% of a 25 ms SLAM tracking frame and 0.06% of the 200 ms keyframe budget, leaving room for 10³ to 10⁴ queries per cycle. A consumer probing 1,000 candidate poses per cycle spends 6.7 ms on `mint` but 350 ms on `dsg` on the Jetson.
- **LP2 result:** Yggdrasil removes 99.6% of the time LP2 spends on its scene graph in the office scene and 98.8% in the home scene. The waypoint-to-room query, called over 1.7 million times on the office scene, is 873× faster there and 636× faster on the home scene. Building the NetworkX copy and KD-tree costs 2,681 ms versus 35 ms in the office scene, total graph time drops from 7,747 ms to 31 ms, and the per-trajectory figure drops from 10.4 s to 66 ms (158×).
- **OSG result:** mean total graph latency falls from 488.1 ms to 229.3 ms and memory from 147.9 MB to 134.5 MB, with zero divergence in actions and positions across 400 episodes. Retrieving nodes by type is 26.7× faster and checking a node's type 14.0×. Adding an edge is 0.49× — slower — because Yggdrasil edges are primitively directed, so each of OSG's undirected relations needs two calls.
- **S3DSG result:** the cost field evaluates in 4,936 ms against 6,885 ms, a speedup of 1.39 that holds within two percent across runs, plus a further 1,343 ms saved by reusing the stored metric layer. Both versions agree on the cost field to within 3.2×10⁻⁶. The gain is deliberately modest because S3DSG already hand-rolls what Yggdrasil does internally.

## Methodology in Plain English

The authors ported a published DSG scene graph — the uHumans2 office scene graph distributed with Spark-DSG, built by Hydra and segmented against ADE20K, holding 3,532 nodes and 11,012 edges across four layers — into Yggdrasil and measured how long downstream queries take.

Rather than comparing only two systems, they built an **ablation ladder** of five targets, each adding one feature to the one before it, so each improvement can be credited separately:

1. `dsg` — the original baseline, with its mesh array stored outside the graph.
2. `vanilla` — a naive port with no design change, isolating implementation-language and runtime differences (DSG's C++ against Yggdrasil's Rust).
3. `chocolate` — a redesigned schema giving each room its own isolated stack of layers (`room`, `claimed-object`, `claimed-mesh`, `unclaimed-mesh`), isolating the benefit of the DAG and finer node hierarchy.
4. `mint` — structurally identical to `chocolate` but with live indexes enabled, isolating the spatial indexes.
5. `saffron` — identical to `mint` but giving every mesh point its own node, isolating the cost of a fine-grained physical layer.

The query workload has three families: nearest object (Q1a), objects within a radius of 0.25, 0.5, 1, 2, and 4 m (Q1b), visibility from an observer with a 30°–70° field of view and 0.3–8 m range (Q2), and label lookup over 27 labels spanning frequent (`light`, 40 occurrences), median (`shelf`, 5), rare (`bulletin`, once), and absent (Q3). Spatial queries are issued from 64 reference points per room across all nine rooms. On all 576 spatial queries per configuration, every Yggdrasil flavor returns exactly the answer `dsg` returns. Each query runs five times per machine and the average is reported, on a 32-core AMD Ryzen Threadripper PRO 3975WX workstation with 251 GiB of memory and an NVIDIA Jetson Orin Nano Super with six Arm Cortex-A78AE cores and 7.4 GiB of unified memory.

For the case studies, only the scene-graph interaction was replaced; application logic was left untouched, and both configurations were run so results could be checked against the original. Because LP2 and OSG query an LLM internally, responses from `gpt-5.6-luna` were cached and replayed. OSG ran 400 episodes, 20 in each of 20 Habitat-simulated HM3D indoor scenes in ground-truth mode, with correctness defined as the full sequence of actions and positions matching step by step.

## Why This Matters

**Impact on research:** The paper reframes the 3DSG problem from "how do we build one accurately" to "how do we design one that is cheap to interrogate." It identifies a concrete waste in current practice — downstream pipelines converting and re-converting the graph every frame — and shows that moving queries into the storage substrate removes that cost while keeping the graph live as it updates. It also extends a recent line of work that names this gap and proposes structured query interfaces, but does so one level lower, at the storage layer.

**Real-world applications:**

- **Indoor service and assistive robots** that need to find the nearest object, check what is visible from a candidate pose, or resolve which room an entity is in, many times per control cycle.
- **Object-goal navigation** in unknown buildings, where the graph is built and queried inside the same loop that picks the next action.
-

## Authors’ abstract

Robotic agents use 3D scene graphs (3DSG) to perform tasks ranging from scene understanding to scene interaction. Although an extensive body of work addresses scene graph generation, little attention has been paid to optimizing the graph for consumption, which leaves state-of-the-art perception pipelines to work around their own scene graph and to pay a latency cost that does not fit the real-time budget a perception loop runs on. We present Yggdrasil, the first 3D scene…

[The full abstract on arXiv](https://arxiv.org/abs/2609.38640)

[Read the original paper](https://arxiv.org/abs/2609.38640)

## Related papers

- [Probabilistic Scene Graphs: Hierarchical Representation and Real-time System](https://robotics.world/paper/probabilistic-scene-graphs-hierarchical-representation-and-real-time-2609.23144) 2026-09-19 · cs.RO · Key terms of the title in common
- [T-ConSG: A LiDAR-Based Real-Time Temporal Construction Scene Graph for Dynamic and Evolving Environments](https://robotics.world/paper/t-consg-a-lidar-based-real-time-temporal-construction-scene-graph-for-2610.34041) 2026-10-25 · cs.RO · Key terms of the title in common
- [Noctif3R: Feed-Forward Monocular Real-Time SLAM for Photon-Limited Scenes on Embedded Hardware](https://robotics.world/paper/noctif3r-feed-forward-monocular-real-time-slam-for-photon-limited-2609.21114) 2026-09-17 · cs.RO · Key terms of the title in common
- [Pow3R-SLAM: Real-Time RGB-D SLAM with 3D Reconstruction Priors](https://robotics.world/paper/pow3r-slam-real-time-rgb-d-slam-with-3d-reconstruction-priors-2609.38054) 2026-09-29 · cs.RO · Key terms of the title in common
- [GAE: General Action Expert for Real-Time Humanoid Teleoperation](https://robotics.world/paper/gae-general-action-expert-for-real-time-humanoid-teleoperation-2609.34233) 2026-09-28 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/yggdrasil-a-layer-first-3d-scene-graph-for-real-time-querying-2609.38640
