EmbodiedLGR: Integrating Lightweight Graph Representation and Retrieval for Semantic-Spatial Memory in Robotic Agents

Paolo Riva, Leonardo Gargani, Matteo Frosi, Matteo MatteucciarXiv 2026

TL;DR

EmbodiedLGR-Agent introduces a hybrid memory architecture for robotic agents that splits environmental data into a lightweight semantic proximity graph for rapid object tracking and a traditional vector database for high-level scene descriptions. By leveraging parameter-efficient Vision-Language Models (VLMs) locally on the edge, it drastically reduces query latency while improving spatial reasoning accuracy, paving the way for real-time human-robot interaction.

What Problem Does This Paper Address?

For robots to effectively assist humans in domestic or public spaces, they must remember their surroundings and answer questions like "Where did I leave my keys?" or "Where is the closest fire extinguisher?" This task, known as Embodied Question Answering (EQA), requires integrating perception, spatial awareness, and reasoning.

Current state-of-the-art approaches often use Retrieval-Augmented Generation (RAG), where a robot stores visual observations and text captions in a vector database. However, these systems typically accumulate memory monotonically—meaning they save every single observation without filtering. This creates massive, redundant databases that introduce significant computational overhead. As a result, query response times slow down, making it impossible for robots to achieve the low-latency, human-like inference speeds required for natural interaction.

Methods

The authors propose EmbodiedLGR-Agent (Light Graph Retrieval), which utilizes a dual-level memory structure to separate low-level object instances from high-level scene context.

The operational cycle of EmbodiedLGR-Agent, spanning memory building, user querying, and real-world deployment.

1. Memory Building & Deduplication

As the robot explores, it captures image frames and processes them locally using Florence-2, a highly efficient, lightweight VLM.

  • The Vector Database is populated with global scene descriptions (captions).
  • The Memory Graph is populated with specific object labels and their spatial-temporal coordinates {Embedding, Pose, Time}.

To prevent memory bloat, EmbodiedLGR-Agent implements real-time spatial and semantic deduplication. If the robot sees a similar object (e.g., "cup" vs. "mug") within a specific distance threshold ($\delta_P$) and semantic similarity threshold ($\delta_E$), it updates the existing graph node's pose and timestamp rather than creating a duplicate entry.

2. Memory Retrieval & Querying

When a user asks a question, a cloud-based Large Language Model (GPT-4o) acts as the central agent. It is equipped with three specialized on-graph search tools:

  • Semantic Search: Finds nodes matching an object description using cosine similarity.
  • Positional Search: Locates objects physically close to a given coordinate.
  • Temporal Search: Retrieves objects seen around a specific timestamp.

If a query is semantically complex (e.g., describing an entire scene layout), the LLM falls back to querying the heavier vector database.

Detailed architecture of the Memory Building and Querying pipelines.

Datasets

The architecture was evaluated using the NaVQA dataset, a popular benchmark designed for evaluating long-horizon spatio-temporal memory and navigation-related question-answering tasks in robotic agents.

Key Insights and Ideas

  • Graph Traversability Beats Flat Vector Search: For simple, atomic queries ("Where is the hydrant?"), searching a sparse, localized graph is computationally trivial compared to scanning a massive vector database of historical captions.
  • Semantic Deduplication is Essential for Robotics: Unlike standard text-based RAG, embodied agents continuously re-observe the same environment. Filtering redundancies at the perception level keeps the memory footprint small and responsive.
  • Edge-Cloud Hybrid Split: By running the compact VLM (Florence-2) locally on the robot's hardware and offloading only the high-level language reasoning to a cloud LLM API, the system achieves a practical balance between local compute constraints and advanced cognitive capabilities.

Key Results

The authors validated their approach both on the NaVQA dataset and via a physical deployment on an AgileX Bunker Pro mobile robot equipped with an NVIDIA Jetson AGX Orin.

Latency and Efficiency

Querying the graph memory alone cut response latency nearly in half compared to the vector database baseline (ReMEmbR), dropping from ~19 seconds down to ~10 seconds. When using the combined architecture (Graph + Vector DB), the agent successfully answered up to 19.17% of queries using only the graph, avoiding the vector database entirely.

Accuracy Boost

Integrating the memory graph significantly improved region-level spatial accuracy. For the Florence-2-large configuration, combining the Graph Memory with the Vector DB boosted positional accuracy from 19.59% (baseline) to 29.17%.

Qualitative evaluation of the real-world deployment on a physical robot navigating a university campus.

Limitations and Future Work

Despite its strong performance, EmbodiedLGR-Agent has a few limitations:

  • Cloud Dependency: The system relies on cloud-based LLM APIs (GPT-4o) for tool calling and reasoning, which can degrade if network connectivity is lost.
  • VLM Granularity: Using a lightweight model like Florence-2 sacrifices the rich, fine-grained scene descriptions that larger, more computationally expensive models can provide.
  • 2D Spatial Grounding: The spatial memory relies on the robot's 2D odometry and pose reference frame, rather than true 3D spatial grounding.

Future work will focus on exploring alternative edge-deployable LLMs, implementing hierarchical memory representations, and integrating 3D spatial grounding to evaluate environmental reconstruction against absolute ground truths.

Summary updated

BibTeX
@misc{riva2026embodiedlgr,
  author = {Paolo Riva and Leonardo Gargani and Matteo Frosi and Matteo Matteucci},
  title = {{EmbodiedLGR: Integrating Lightweight Graph Representation and Retrieval for Semantic-Spatial Memory in Robotic Agents}},
  year = {2026},
  eprint = {2604.18271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.18271},
}
Figure