MODNet: Moving Object Detection Network with Motion and Appearance for Autonomous Driving

Mennatullah Siam, Heba Mahgoub, Mohamed Zahran, Senthil Yogamani, Martin Jagersand, Ahmad El-SallabarXiv 2017

TL;DR

MODNet is a novel two-stream, multi-task convolutional neural network that jointly detects vehicles and segments their motion by fusing appearance (RGB) and motion (optical flow) cues. By sharing a unified fusion encoder between both tasks, the network achieves a massive 21.5% improvement in mean Average Precision (mAP) over motion-only baselines while running at a real-time-capable 8 frames per second.

Fig. 1: One Forward pass infers vehicle detection and motion segmentation. Green masks represent motion, while blue rectangles represent detected vehicles.

What Problem Does This Paper Address?

For autonomous vehicles to navigate safely, they must accurately identify moving objects like cars and pedestrians to make immediate maneuvering and braking decisions. However, detecting motion from a moving platform (ego-motion) is highly challenging.

Traditional approaches fall into two flawed categories:

  1. Pure geometry-based methods: These struggle with motion parallax and camera translation, and they are often too computationally expensive for real-time deployment.
  2. Appearance-only deep learning models: These excel at semantic object detection but cannot explicitly infer motion or geometry.

Furthermore, multi-task networks designed for scene understanding have historically relied solely on appearance cues. To bridge this gap, the authors address how to effectively combine motion and appearance features within a single, efficient network architecture tailored for autonomous driving.

Methods

MODNet introduces a Two-Stream Multi-Task Learning Architecture consisting of a shared fusion encoder and two task-specific decoders:

  • Shared Fusion Encoder: The network utilizes two parallel VGG16 streams—one for appearance (RGB images) and one for motion. The motion stream can accept either consecutive image pairs or dense optical flow. To leverage powerful ImageNet pre-trained weights, optical flow is converted into a 3-channel "color wheel" representation. The features from both streams are fused using a memory-efficient summation junction.
  • Motion Segmentation Decoder: Based on the FCN8s architecture, this decoder uses skip connections from the encoder to retain high-resolution details, outputting pixel-wise motion masks that define moving vehicle boundaries.
  • Vehicle Detection Decoder (FastBox): Based on the single-shot YOLO framework, this decoder outputs bounding box coordinates and confidence scores across a 39x12 grid. It incorporates a "rezoom" layer and Region of Interest (ROI) pooling to recover spatial resolution lost during encoder pooling steps.

The entire network is optimized using an alternating joint loss function ($L_{total} = L_{seg} + L_{det}$), where the gradients from both tasks backpropagate through the shared encoder.

Datasets

The authors evaluated their approach on three distinct datasets, including a newly introduced benchmark:

  • KITTI MOD (Moving Object Detection): Because existing motion datasets were either synthetic or lacked realistic autonomous driving scenarios, the authors created KITTI MOD. They built an automated pipeline that projects KITTI's 3D bounding boxes into 2D, tracks them across frames, calculates their velocity vectors, and cross-references them with GPS/IMU odometry data to automatically label vehicles as either static (5,997 instances) or moving (2,383 instances).
  • KITTI Scene Flow: Used for initial baseline evaluations of the motion segmentation stream.
  • DAVIS: A standard, non-automotive video object segmentation benchmark used to test the model's ability to generalize to generic object tracking and segmentation.
Fig. 2: Overview of the pipeline used to generate KITTI Moving Object Detection annotations. Blue boxes for mov- ing vehicles, green boxes for static ones.

Key Insights and Ideas

  • Cross-Task Synergy: The paper's standout insight is that data-rich tasks can uplift data-poor tasks. Motion segmentation data is notoriously tedious to annotate and scarce in real-world datasets. By forcing the encoder to jointly learn vehicle detection (a data-rich task), the shared representation becomes significantly more generalized, directly boosting motion segmentation accuracy.
  • Complementary Cues: The two streams serve distinct, complementary purposes: the motion stream excels at identifying which objects are moving, while the appearance stream refines and sharpens the structural boundaries of those objects.
  • The Color Wheel Trick: Converting 2D optical flow vectors into a 3-channel RGB color wheel allows researchers to reuse standard pre-trained weights (like ImageNet) for motion analysis, avoiding the need to train deep networks from scratch.

Key Results

  • State-of-the-Art Detection: On the KITTI MOD dataset, MODNet achieved a 62.57% mAP, outperforming the state-of-the-art motion-based baseline (MPNet) by 21.5%.
  • The Power of Joint Training: Jointly training the detection and segmentation decoders improved the motion segmentation F-score by 8.2% (jumping from 54.25% when trained separately to 62.46% when trained jointly).
  • Real-Time Efficiency: MODNet processes frames at 8 fps on a Titan X GPU. While this leaves room for optimization, it vastly outperforms geometry-based scene flow methods (which can take up to 50 minutes per frame) and alternative video segmentation networks that take up to 8 seconds per frame.
  • DAVIS Generalization: Without using Conditional Random Field (CRF) post-processing, MODNet achieved a mean IoU of 63.88%, performing on par with top unsupervised methods.

Limitations and Future Work

While MODNet marks a significant step forward, the authors note a few key limitations:

  • Backbone Architecture: The network relies on a basic VGG16 encoder. Upgrading to more modern, lightweight, or deeper backbones (like ResNet or MobileNet) would likely improve both inference speed and accuracy.
  • Dataset Bottlenecks: Despite creating KITTI MOD, the authors emphasize that the lack of massive, highly varied, real-world datasets explicitly annotated for motion segmentation remains the primary bottleneck preventing these systems from being fully deployed in production autonomous vehicles.

Summary updated

BibTeX
@misc{siam2017modnet,
  author = {Mennatullah Siam and Heba Mahgoub and Mohamed Zahran and Senthil Yogamani and Martin Jagersand and Ahmad El-Sallab},
  title = {{MODNet: Moving Object Detection Network with Motion and Appearance for Autonomous Driving}},
  year = {2017},
  eprint = {1709.04821},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.04821},
}
Figure