Towards Object Detection from Motion

Rico Jonschkowski, Austin StonearXiv 2019

Abstract

Scaling object detection in robotics is hindered by the high cost of manual data annotation. We introduce NEMO (Negative Examples and MOtion), a weakly supervised framework that learns to detect objects using only two short video sequences: a "positive" video of the object in motion and a "negative" video of the empty environment. By optimizing for physical plausibility and object presence, NEMO trains a spatial encoder capable of single-frame object detection without human-labeled bounding boxes. Our results demonstrate that NEMO outperforms general-purpose supervised detectors and traditional trackers in specialized robotic environments.

Introduction

In dynamic robotic environments, the ability to quickly learn and detect new objects is critical. Traditional supervised learning requires thousands of annotated images, a process that is both time-consuming and difficult to scale. While weakly supervised methods have reduced this burden, they often still require image-level labels.

NEMO addresses this by lowering the supervision threshold to per-video labels. By simply observing an object move—whether through natural motion, human demonstration, or robot interaction—a system can learn its appearance. This approach leverages the inherent structure of the physical world as a supervisory signal.

High-level overview of the NEMO pipeline, utilizing positive and negative video sequences to train an object detector.

The NEMO Framework

The core of NEMO is a Spatial Encoder network, consisting of eight residual convolutional blocks followed by a spatial softmax layer. This architecture acts as a bottleneck, forcing the network to condense feature maps into a single $(x, y)$ coordinate representing the object's location.

To train this encoder without manual labels, NEMO employs three physics-based loss functions:

  1. Slowness Loss: This loss enforces temporal consistency, penalizing large, discontinuous jumps in detected position between consecutive frames.
  2. Variation Loss: To prevent the model from collapsing to a static background point, this loss encourages the detected coordinates to vary significantly over longer time intervals.
  3. Presence Loss: By utilizing the "negative" video of the empty scene, this loss trains the network to produce high activations only when the object is present, effectively filtering out background distractors.
The NEMO training architecture and its three core loss functions: Slowness, Variation, and Presence.

At inference time, the trained model operates on single images. Unlike traditional trackers, it does not require temporal context or a known initial position to detect the object, making it robust to stationary periods and reappearances.

Experimental Evaluation

NEMO was evaluated across three distinct robotic scenarios: Learning from Observation (drones/cars), Learning from Demonstration (human-moved objects), and Learning from Interaction (robot sweeping).

Quantitatively, NEMO consistently achieved lower Mean Squared Error (MSE) than standard trackers (KCF, TLD, MIL) and even outperformed a Faster R-CNN model pre-trained on the COCO dataset. While Faster R-CNN is a powerful generalist, NEMO’s ability to "specialize" on the specific object and environment through motion cues provided a significant advantage. Furthermore, NEMO demonstrated remarkable robustness to partial occlusions, such as those caused by a robot arm or a human hand.

Discussion and Limitations

The success of NEMO highlights the power of physical priors—specifically spatial locality and motion continuity—as alternatives to human supervision. However, the method currently relies on the object moving relative to its background during the training phase. If an object remains static or moves insufficiently, the Variation Loss cannot provide a strong enough signal for learning.

Future work aims to extend NEMO toward continuous, life-long learning from live video streams and expanding the output from single points to full bounding boxes or segmentation masks.

Conclusion

NEMO provides a scalable path for robots to acquire new object detection capabilities autonomously. By replacing manual labels with motion-based supervision, we move closer to robotic systems that can learn and adapt to their environments through simple observation and interaction.

Summary updated

BibTeX
@misc{jonschkowski2019towards,
  author = {Rico Jonschkowski and Austin Stone},
  title = {{Towards Object Detection from Motion}},
  year = {2019},
  eprint = {1909.12950},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.12950},
}
Figure