Learning Embeddings that Capture Spatial Semantics for Indoor Navigation

Vidhi Jain, Prakhar Agarwal, Shishir Patil, Katia P. SycaraOpenReview 2021 · OpenReview

Introduction

When humans enter an unfamiliar home to find a specific item, such as a spoon, they do not search randomly. Instead, they rely on "spatial semantic priors"—an intuitive understanding that a spoon is likely located in a kitchen, specifically near a sink or inside a drawer. Traditional robotic navigation systems often struggle with this level of intuition, relying either on geometric mapping and planning (which lacks semantic context) or end-to-end reinforcement learning (which requires massive datasets and often fails to generalize to new environments).

This research addresses the challenge of giving robots "common sense" for indoor navigation. By leveraging pre-trained embeddings that capture object-to-object relationships, the authors propose a modular navigation algorithm capable of finding specific objects in unseen environments with high efficiency.

Methodology

The proposed system separates high-level semantic reasoning from low-level path planning through a modular architecture. The core of this approach is the use of object embeddings to represent spatial relationships.

Object Embeddings

Objects are represented as vectors in a high-dimensional space where proximity reflects physical co-location likelihood. The study compares four types of embeddings:

  1. Pre-trained Word Embeddings: Word2Vec (trained on Google News) and FastText (trained on Wikipedia).
  2. Knowledge-Base Embeddings: RoboCSE and a custom Graph Embedding, both trained on specific object relationships extracted from indoor simulators.

The navigation process operates in a loop, as illustrated in the system overview below:

System overview showing the pipeline from graph extraction to embedding learning and the iterative navigation loop.
  1. Scanning: The robot performs a 360° scan to identify visible "anchor" objects (e.g., sofas, tables).
  2. Similarity Calculation: It computes the cosine similarity between the embedding of the target query (e.g., "credit card") and the embeddings of all detected objects.
  3. Sub-goal Selection: The object with the highest similarity is selected as a temporary sub-goal.
  4. Momentum-based Movement: The robot plans a path using A* but only moves a fraction of the distance ($\beta < 1$) before re-scanning. This heuristic prevents the robot from oscillating between two likely targets if one is momentarily obscured.

Experimental Setup

The researchers utilized the AI2Thor indoor simulator for both training graph-based embeddings and evaluating navigation performance across four room types: Kitchen, Living Room, Bedroom, and Bathroom. Performance was measured using two primary metrics: Success Rate (SR) and Success weighted by Path Length (SPL).

Key Results and Insights

The experimental results demonstrate that modular, similarity-based navigation is highly effective, achieving success rates exceeding 90% in most scenarios.

Quantitative results comparing different embedding types across room categories and path lengths.

Graphs vs. General Text

A critical finding is that while general language models like Word2Vec perform adequately at short ranges, graph-based embeddings (Graph Embedding and RoboCSE) significantly outperform them as the distance to the target increases. For instance, in kitchen environments with a shortest path length $l \ge 20$, RoboCSE achieved an SPL of 0.867, compared to Word2Vec’s 0.581. This suggests that knowledge graphs capture specific spatial relationships (like "remote next to television") that general news corpora do not emphasize.

The "Close-Range" Equalizer

When the target is within 10 meters, the specific choice of embedding becomes less critical. At this proximity, moving toward any semi-relevant anchor object is likely to bring the target into the robot's field of view.

Generalization and Efficiency

Because the system uses pre-trained embeddings, it is highly sample-efficient. It does not need to "learn" the concept of a kitchen through trial-and-error; it simply applies existing semantic maps to new, unseen floor plans, demonstrating robust generalization.

Limitations and Future Work

While promising, the current model assumes "perfect perception," where any object occupying more than 1% of the field of view is correctly identified. Real-world applications would need to account for sensor noise and lighting variations. Additionally, the study focused on single-query navigation. Future research will explore multi-object navigation, requiring the robot to optimize paths for a sequence of items (e.g., "find the bread, then the knife"), and navigation in dynamic environments with moving obstacles or humans.

Summary updated

BibTeX
@misc{jain2021learning,
  author = {Vidhi Jain and Prakhar Agarwal and Shishir Patil and Katia P. Sycara},
  title = {{Learning Embeddings that Capture Spatial Semantics for Indoor Navigation}},
  year = {2021},
  eprint = {2108.00159},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.00159},
}
Figure