SCOD: Active Object Detection for Embodied Agents using Sensory Commutativity of Action Sequences

Hugo Caselles-Dupré, Michaël Garcia Ortiz, David FilliatarXiv 2021 · OpenReview

Abstract

We introduce SCOD (Sensory Commutativity Object Detection), an active method for movable and immovable object detection. SCOD exploits the commutative properties of action sequences, in the scenario of an embodied agent equipped with first-person sensors and a continuous motor space with multiple degrees of freedom. SCOD is based on playing an action sequence in two different orders from the same starting point and comparing the two final observations obtained after each sequence. Our experiments on 3D realistic robotic setups (iGibson) demonstrate the accuracy of SCOD and its generalization to unseen environments and objects. We also successfully apply SCOD on a real robot to further illustrate its generalization properties. With SCOD, we aim at providing a novel way of approaching the problem of object discovery in the context of a naive embodied agent.

Introduction

In traditional computer vision, object detection typically relies on large-scale supervised learning using pre-labeled datasets. However, a "naive" embodied agent—such as a newly deployed robot or a biological infant—must learn to distinguish objects through direct interaction with its environment without prior labels. The fundamental challenge lies in how an agent can autonomously differentiate between free space, immovable obstacles (like walls), and movable objects (like toys) using only its own sensory-motor feedback.

SCOD addresses this by leveraging a physical principle: Sensory Commutativity. By observing how the order of actions affects the final sensory state, an agent can infer the physical properties of its surroundings without human intervention.

Methodology: The SC-Experiment

The core of SCOD is the Sensory Commutativity (SC) experiment. In this setup, a robot executes a sequence of actions in two different orders (Order 1: Action A then B; Order 2: Action B then A) starting from the same initial position. By comparing the resulting final observations ($obs_1$ and $obs_2$), the agent can categorize its environment into three distinct scenarios:

  1. Free-space detection: If the final observations are identical, the actions commuted perfectly, implying the robot moved through unobstructed space.
  2. Immovable object detection: If the observations are completely different, the actions did not commute. This typically occurs when an immovable object (e.g., a wall) blocks the robot's path differently depending on the action order.
  3. Movable object detection: If the observations are identical except for a specific displaced region, the actions commuted but resulted in the movement of an object.
Overview of the three possible scenarios in a Sensory Commutativity (SC) experiment: movable object detection, immovable object detection, and free-space detection.

The Mask Predictor

To automate the comparison of observations, the authors developed a Mask Predictor based on the RAFT (Recurrent All-Pairs Field Transforms) architecture. This network is pre-trained on procedurally generated data to identify differences between image pairs. Unlike older architectures, RAFT excels at capturing the sharp boundaries of moved objects, which is critical for accurate segmentation.

The SCOD pipeline: an SC-experiment generates observations which are processed by a Mask Predictor to discover objects based on commutativity.

Experimental Setup and Results

The system was evaluated using the iGibson simulator, a high-fidelity 3D environment for robotics, and the YCB Object Benchmark. The Mask Predictor was trained on 40,000 procedurally generated image tuples to learn the "difference" between observations.

Key Findings

  • High Precision: In known environments, SCOD achieved a Jaccard index (IoU) of 0.97 for movable object detection.
  • Generalization: The system maintained robust performance in entirely new environments with unseen objects, achieving an IoU of 0.84.
  • Active Mapping: Immovable objects were mapped with over 90% accuracy, allowing the robot to build a probability map of its surroundings where low commutativity indicates the presence of walls or furniture.
  • Sim-to-Real Transfer: Qualitative tests on a physical Turtlebot in a home environment confirmed that the principle of commutativity effectively bridges the gap between simulation and reality.

Discussion and Future Work

SCOD demonstrates that the laws of physics can provide "free" supervision for autonomous agents. By treating commutativity as a map, the robot learns what an object is through the geometry of its own actions.

However, the current implementation has limitations. The SC-experiment requires the environment to be "reset" to its initial state to test the second action order, which is not always feasible in the real world (e.g., if an object breaks). Future research aims to integrate a forward model—a mental simulator—allowing the robot to imagine the results of the second action sequence. This would eliminate the need for physical resets, making the discovery process safer and more efficient.

Summary updated

Abstract

We introduce SCOD (Sensory Commutativity Object Detection), an active method for movable and immovable object detection. SCOD exploits the commutative properties of action sequences, in the scenario of an embodied agent equipped with first-person sensors and a continuous motor space with multiple degrees of freedom. SCOD is based on playing an action sequence in two different orders from the same starting point and comparing the two final observations obtained after each sequence. Our experiments on 3D realistic robotic setups (iGibson) demonstrate the accuracy of SCOD and its generalization to unseen environments and objects. We also successfully apply SCOD on a real robot to further illustrate its generalization properties. With SCOD, we aim at providing a novel way of approaching the problem of object discovery in the context of a naive embodied agent. We provide code and a supplementary video.
BibTeX
@misc{casellesdupre2021scod,
  author = {Hugo Caselles-Dupré and Michaël Garcia Ortiz and David Filliat},
  title = {{SCOD: Active Object Detection for Embodied Agents using Sensory Commutativity of Action Sequences}},
  year = {2021},
  eprint = {2107.02069},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.02069},
}

Loading related content...

Figure