RoboCSE: Robot Common Sense Embedding

Angel Andres Daruna, Weiyu Liu, Zsolt Kira, Sonia Chernova · DOI

TL;DR

RoboCSE (Robot Common Sense Embedding) uses multi-relational embeddings to help robots generalize knowledge about object affordances and locations. It achieves state-of-the-art prediction accuracy while using nine orders of magnitude less memory than traditional logic-based baselines, making it a highly scalable solution for real-world robotics.

Introduction

For a service robot to be useful in a home, it needs "common sense." It should know that a mug is likely found in a kitchen, that a microwave can be "turned on," and that fabric cannot be "filled."

A robot arm inferring affordances for a laptop based on common sense.

Historically, researchers have used two main approaches to model this:

  1. Logic-based methods (like Bayesian Logic Networks): These handle uncertainty well but suffer from "state-space explosion." As more objects and relations are added, memory requirements become astronomical.
  2. Vector-space methods (like Word2Vec): These scale beautifully but often lose the specific "graph" structure of relationships (e.g., the difference between "is located at" and "is made of").

RoboCSE bridges this gap, creating a representation that is structured enough for reasoning, flexible enough for uncertainty, and compact enough for a mobile robot's onboard memory.

Methods

RoboCSE leverages multi-relational embeddings, specifically a method called ANALOGY. Instead of treating words as isolated points, it models knowledge as "triples": (head entity, relation, tail entity)—for example, (mug, hasAffordance, pick up).

The multi-relational embedding process: (a) knowledge triple, (b-d) training via loss minimization in vector space, (e-f) final structured embeddings.
  • Entities (objects, locations, materials) are represented as high-dimensional vectors.
  • Relations are represented as linear mappings (matrices) that transform one entity vector toward another.

The system is trained by minimizing a loss function that brings "true" triples closer together in the vector space while pushing "false" or sampled negative triples away. Unlike standard word embeddings, RoboCSE preserves the directed graph structure of the knowledge, allowing the robot to query the model (e.g., "What are the most likely affordances for a laptop?") and receive a ranked list of answers based on confidence scores.

Datasets and Evaluation

The researchers used two primary sources:

  • AI2Thor: A realistic 3D indoor simulator. They mined over 15,000 triples involving 83 household items, 17 affordances, and 17 material properties.
  • MatterPort3D: A dataset of real-world household scans used to test domain transfer—seeing if a model trained in a simulator could still make accurate guesses about objects in real-world homes.

Key Insights and Results

  • The Power of Sparsity: The most striking finding is memory efficiency. A Bayesian Logic Network (BLN) representing this knowledge would require roughly 100 Terabytes of memory. RoboCSE represents the same knowledge in just 96 Kilobytes.
  • Generalizing from Little Data: RoboCSE outperformed frequency-based baselines when training data was scarce. It learns underlying patterns of the world, allowing it to make better guesses in a brand-new house after seeing only one or two examples.
  • Cross-Relation Learning: Because all entities and relations share the same embedding space, the model leverages latent interactions. Learning about an object's material properties can implicitly improve the robot's ability to predict that object's location or affordances.
  • Superior Accuracy: RoboCSE outperformed both Google’s pre-trained Word2Vec and theoretical upper bounds for logic-based systems across all metrics, including Mean Reciprocal Rank (MRR).

Limitations and Future Work

The model struggled more with queries like (?, relation, tail)—for example, "What objects can be toggled on?"—compared to predicting the properties of a specific object. This is likely because there are many more entities (83) than relations (3), making the search space much larger. Future work will focus on incremental learning, allowing robots to update their common sense on the fly as they encounter new objects.

Summary updated

BibTeX
@inproceedings{daruna2019robocse,
  author = {Angel Andres Daruna and Weiyu Liu and Zsolt Kira and Sonia Chernova},
  title = {{RoboCSE: Robot Common Sense Embedding}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2019},
  doi = {10.1109/icra.2019.8794070},
}
Figure