Research
Memory-Aware Keyframe Management for Dense Maps on Memory-Constrained Robots
Bounds a dense map's resident memory directly instead of by keyframe count, and admits and releases whole rooms, so an onboard language model and map stop colliding out-of-memory.

- arXiv
- 2610.33574 · Preprint · not peer-reviewed
- Published
- 2026-10-24
- Authors
- Huichang Yun, Jaeyeul Kim, Seungho Yoo
In plain words
Robots that run a language model and a large pre-built 3D map on a single device share one pool of memory, and exceeding it causes an out-of-memory failure that kills either the model or the map.
AI summary
Overview
Research area: Robot spatial AI — specifically memory management for dense 3D maps on embedded hardware that simultaneously runs a language or vision-language model.
Technical level: Advanced. The paper assumes familiarity with keyframe-based dense SLAM, working-memory/long-term-memory map architectures (RTAB-Map), pose-graph localization, and embedded resource budgeting on NVIDIA Jetson platforms.
Scope: The paper proposes ZEBRA (Zone-Granular Residency with Byte-Level Resource Accounting), a map-management layer that bounds a pre-built dense map by bytes rather than keyframe count and admits/releases keyframes one semantic zone (room or corridor) at a time, evaluated in NVIDIA Isaac Sim on two Jetson boards with a concurrent Gemma or Qwen model.
What This Paper Is About
Robots that run a language model and a large pre-built 3D map on a single device share one pool of memory, and exceeding it causes an out-of-memory failure that kills either the model or the map. Existing map systems limit what stays resident by counting keyframes, but a keyframe costs anywhere from about sixty kilobytes (sparse features) to roughly five megabytes (a decoded point cloud), so a count does not control the memory actually consumed. The paper's goal is to bound the resident map directly in bytes and to move the map in and out in semantically meaningful units — rooms and corridors — so that the map stays inside its budget while still covering the space the robot is about to observe.
Key Contributions
-
A byte-level bound on the resident map. Rather than limiting the working set by a keyframe count, ZEBRA enforces the limit in memory itself. Per-keyframe resident sizes are computed offline and carried with the map as metadata, so the cost of every admission is known before any data is read. The result is stable operation with no out-of-memory failure across all pairings and at most 0.8 percent of throughput given up by the concurrent model.
-
Semantic zones as the unit of admission and release. A fixed grid, a radius around the pose, and RTAB-Map's existing graph-neighbor retrieval all move parts of the map that are not needed. Because semantic zone boundaries roughly follow boundaries of visibility (a wall terminates both the room and the line of sight), the same amount of memory holds the space the robot actually sees, and more of the mission is localized.
-
An evaluation that separates the two contributions. On an AGX Orin (32 GB unified memory) and an Orin Nano (8 GB), over two maps and several budgets, the bound is evaluated by comparing bounded against unbounded operation, and the unit of admission is evaluated by comparing semantic zones, cubic chunks of matched zone count, and RTAB-Map's keyframe-level retrieval under one budget.
-
Route-conditioned prefetch. When a planned route is available, the next zone is read incrementally (at most K = 8 keyframes per cycle) before the robot reaches its boundary, provided the current zone is fully resident and the current and next zones fit the budget together.
Main Findings
-
The budget holds in every run. No recorded cycle exceeded the byte budget in any configuration, and no process was killed. Without the bound, the operating system ended one of the two processes on every device–map pairing — the model on three pairings and the map on the Orin Nano with the hospital map.
-
Semantic zones localize more of the mission. Averaged over the twelve budget columns of the localization table, keyframe-level RTAB-Map retrieval localizes 20.4 percent of query frames (20.2 percent with the route variant), the cubic chunk 33.4 percent, the reference semantic partition 39.7 percent and the VLM-drawn partition 42.0 percent. That is 6–9 points ahead of the geometric partition at a matched zone count, and roughly twice the retrieval.
-
Trajectory error drops sharply. ATE RMSE on the hospital map is 5.84 m for RTAB-Map and 5.62 m with the route, against 0.27 m for the reference partition, 0.33 m for the VLM partition and 0.57 m for the cubic chunk. On the office map the figures are 6.76 m, 4.63 m, 1.82 m, 1.57 m and 1.90 m respectively — an order of magnitude on the hospital and a factor of three on the office.
-
Retrieval fails through a feedback loop. The original retrieval produces no pose in the target room in 58 of the 72 runs of the two original conditions, and under 4 percent of the frames spent there in six more; it holds the room only in the remaining eight, at 44–87 percent. On the leg out of the first route, its 24 runs split into ten that localize 24–40 percent of the leg and fourteen that localize 1–7 percent, because a failed match leaves the same neighborhood resident and the next cycle fails for the same reason. Zone admission has no such loop, since what is read is decided by the pose and the zone it falls in.
-
Model throughput is nearly untouched. On the AGX Orin with the hospital map the model's median throughput is 2.09 tokens/s alone and 2.13 under ZEBRA; on the office map 2.09 and 2.12. On the Orin Nano with the hospital map, 44.88 alone and 44.61 under ZEBRA; on the office map, 28.20 and 27.99. The tenth percentile stays within 0.03 of the median on the AGX Orin and within 0.6 on the Orin Nano.
-
Unbounded operation degrades before it dies. On both Orin Nano pairings throughput fell while the map was still resident, to a tenth percentile of 43.8 against 44.88 with no map resident on the hospital map, and 25.0 against 28.20 on the office map before the model itself was ended. On the AGX Orin the model is killed before enough calls complete for a decline to be visible.
-
Zone size matters alongside zone unit. The VLM partition leads on the hospital map partly because its largest zone holds 172 keyframes versus 271 for the reference partition, so an admission fits whole more often. On the office map the two largest zones are nearly the same size (164 versus 159) and the partitions are within seven points on the AGX Orin.
-
One pairing does not favor semantics. On the Orin Nano with the office map the budget (450, 400, 350 MB) is below the largest zone on the route, so the fit property fails for the reference partition; the paper attributes the lack of a semantic advantage there to this.
-
No single chunk side works. Localization by chunk side is 17.5 percent at 2 m, 22.1 at 4 m, 39.1 at 6 m, 36.8 at 8 m and 33.6 at 10 m, with payload read rising from 794 MB to 2412 MB and reloads from 32 to 93. The best side differs per device and map and is not known before the run.
-
Route-guided prefetch beats boundary admission. Reading the next zone while still in the current one raises localization from 40.0 to 45.6 percent, while loading slightly fewer keyframes (560 versus 572) and unloading fewer (231 versus 251).
-
Continuous missions preserve the ordering. The three routes were also run as one continuous mission (685 and 643 seconds of replay) on all four pairings at the residual budget, and the ordering of the per-route table held.
Methodology in Plain English
The researchers start from a dense map that has already been built offline, and partition it into zones — rooms and corridors — either by hand-drawn reference (61 zones for the hospital, 43 for the office, drawn offline by Claude Fable from a top-down view) or automatically by a vision-language model (Gemma4 26B, giving 92 and 83 zones from a top-down rendering of the occupancy grid). Every keyframe is assigned to exactly one zone by its location.
Because the decoded point cloud is generated on demand and never stored in the database, its size cannot be measured at runtime. So the team computes the resident size of every keyframe offline — compressed image and depth data plus the point cloud decoded at a given decimation — and ships it with the map as a table indexed by keyframe identifier. That makes each zone's admission cost known exactly in advance.
At runtime, a Zone Manager maps the current pose to a zone, and a Memory Manager decides what to admit and what to retire. The critical detail is ordering: the system first computes the free room (budget minus current resident bytes) from the metadata, releases keyframes that belong to no active zone and are not protected, retires whole zones by least-recent-use if that is still not enough, and only then reads the new data. Reading first and correcting afterward would allow a brief overshoot, which on a shared-memory device is an allocation failure. A protected set keeps the current zone, already-prefetched keyframes of the next zone, short-term memory, loop-closure hypothesis nodes, and nodes on the path ahead from being evicted.
A planned route — the ordered list of zones the mission will traverse, return leg included — feeds only two decisions: which zone to read ahead and which zones not to retire. If a single zone exceeds the entire budget, the system admits the part of it that fits in identifier order, breaking zone granularity only in that case.
The layer is implemented inside RTAB-Map with pose estimation, loop-closure detection and graph optimization unchanged. Evaluation uses two maps built in NVIDIA Isaac Sim (hospital, 1620 keyframes, 8399 MB payload; office, 1041 keyframes, 5263 MB payload) and a replayed query trajectory from a wheeled robot with an RGB-D camera at 5 Hz moving at 0.6 m/s. The robot starts in the lobby, travels to a designated room, stays 55 s while the model keeps answering queries, and returns — three routes per floor. Models are served through Ollama and stay resident throughout, and the map receives only the residual memory the model leaves free.
Why This Matters
The paper reframes map residency from a cache-replacement problem into a resource-accounting problem, and shows that the unit in which a map is moved matters as much as the bound itself. A keyframe reduced to sparse features is enough to produce a pose but not enough to answer a question about the space, so the layer is aimed at exactly the payload that semantic and question-answering systems on top of the map need to keep.
Real-world applications:
- Indoor service and delivery robots that must answer place-referring language instructions ("go to the table next to the sofa in the hallway") while carrying a full dense map of a building.
- Hospital and office assistant robots, the two environments evaluated, where a mission is a sequence of rooms and corridors and a route is known in advance.
- Inspection and patrol robots on 8 GB-class embedded boards, where the entire map is 2.5–10.5 times the residual budget and cannot be resident at once.
- Any robot that has already partitioned a building into rooms for navigation or question answering, and can reuse that same partition for memory management at no extra cost.
Industry relevance: The evaluation targets two shipping Jetson boards (AGX Orin 32 GB, Orin Nano 8 GB) and models served through Ollama, so the constraints are those of deployed hardware rather than a workstation. The finding that unbounded operation does not degrade gracefully but is killed by the operating system — and that on the AGX Orin the model dies before a slowdown is even visible — is a practical argument for enforcing a byte budget rather than a keyframe count.
Future Directions
-
Online partition construction. The partition is currently drawn offline and the map is built beforehand. Composing with scene-graph systems such as ConceptGraphs, HOV-SG or Hydra, which already derive room nodes from geometry, could draw the partition while the map is still being built, so the layer applies where the robot maps and localizes at once.
-
Choosing zone granularity automatically. A room as a person would name it is not always the right zone: a large room costs more to admit than the robot needs at once, and the VLM partition's advantage on the hospital came from splitting large rooms at furniture boundaries. How to choose zone size, and weigh it against the number of keyframes a zone holds, is left open.
-
Handling zones that exceed the budget. When the budget falls below the largest zone on the route (the Orin Nano office pairing), the fit property fails and the semantic advantage disappears. Guaranteeing fit, or splitting oversized zones at runtime, is unresolved.
-
Comparison against the closest prior system. DiskChunGS pages Gaussians inside an online reconstruction and reports rendering quality, whereas this work pages keyframes consumed by localization against a pre-built map and reports whether a pose was produced. The paper states this is not a system it can compare against directly, leaving a direct head-to-head open.
Target Audience
Researchers and engineers working on dense SLAM, map management, and on-device spatial AI — particularly those deploying large pre-built maps alongside language or vision-language models on memory-constrained embedded hardware such as Jetson-class boards. It is also relevant to practitioners building scene-graph or semantic-map systems who need a stated bound on residency, and to readers interested in how the unit of data movement (semantic zone versus fixed grid versus keyframe neighborhood) affects localization robustness rather than only memory footprint.
Authors’ abstract
Running a language model and a dense 3D map on one device means the two share one memory, and exceeding its limit is an out-of-memory failure. Map systems that keep a bounded working set bound it by a count of keyframes, but the memory one keyframe occupies varies widely with what it carries, so a count does not control what the working set occupies. The unit of admission is as poorly matched, since a radius around the pose, a fixed cell, or the graph neighbors of the last…
The full abstract on arXivRelated papers
- V3DSAM: Semantic-Geometric Loop Verification and Geometry-Anchored Persistent Instance Mapping for Feed-Forward Dense SLAM 2026-11-09 · cs.RO · Key terms of the title in common
- OpenSplatGraph: From Dense Semantic Maps to Structured Scene Graphs for Open-Vocabulary Robot Perception 2026-10-06 · cs.RO · Key terms of the title in common
- What the Elevation Map Cannot See: Semantic-Aware Locomotion and Execution-Aware Navigation for Humanoid Robot 2026-10-05 · cs.RO · Key terms of the title in common
- STVLA: Spatial-aware and Temporal-memory forVision-Language-Action Models 2026-11-12 · cs.RO · Key terms of the title in common
- Robust 2D Traversability Mapping for Construction AMRs via Failure-Mode-Aware Fusion of LiDAR Geometry and Monocular Semantics 2026-10-04 · cs.RO · Key terms of the title in common