Real-Time MDNet

Ilchae Jung, Jeany Son, Mooyeol Baek, Bohyung Han

Abstract

We present a fast and accurate visual tracking algorithm based on the multi-domain convolutional neural network (MDNet). The proposed approach accelerates feature extraction procedure and learns more discriminative models for instance classification; it enhances representation quality of target and background by maintaining a high resolution feature map with a large receptive field per activation. We also introduce a novel loss term to differentiate foreground instances across multiple domains and learn a more discriminative embedding of target objects with similar semantics. The proposed techniques are integrated into the pipeline of a well known CNN-based visual tracking algorithm, MDNet. We accomplish approximately 25 times speed-up with almost identical accuracy compared to MDNet. Our algorithm is evaluated in multiple popular tracking benchmark datasets including OTB2015, UAV123, and TempleColor, and outperforms the state-of-the-art real-time tracking methods consistently even without dataset-specific parameter tuning.

Introduction

In visual tracking, a persistent challenge is the trade-off between accuracy and computational speed. While Convolutional Neural Networks (CNNs) provide state-of-the-art accuracy, their high computational cost often precludes real-time application. The original Multi-Domain Network (MDNet) addressed accuracy by learning target-specific features across multiple domains (videos). However, its R-CNN-like architecture—processing hundreds of candidate boxes independently—resulted in significant redundancy and a slow frame rate of approximately 1 FPS.

Real-Time MDNet (RT-MDNet) overcomes these limitations, achieving a 25x speedup (~46 FPS) while maintaining competitive accuracy. It introduces an efficient feature-sharing architecture using RoIAlign and a novel "instance embedding loss" to distinguish between semantically similar objects across different sequences.

Methods

RT-MDNet introduces two primary technical innovations to improve efficiency and discriminative power.

1. Improved RoIAlign for Feature Sharing

To eliminate redundant computations, RT-MDNet computes a single feature map for the entire search area. It then employs a modified RoIAlign layer to extract features for specific candidate regions.

The RT-MDNet architecture featuring shared feature extraction and Adaptive RoIAlign.
  • Architecture Tweaks: Standard CNNs typically downsample images, losing fine-grained spatial information critical for tracking. RT-MDNet removes a max-pooling layer and utilizes dilated convolutions in the final convolutional layer. This maintains a high-resolution feature map while preserving a large receptive field.
  • Adaptive Sampling: The RoIAlign interpolation grid is made adaptive to the target size, ensuring that localization cues are preserved for objects of varying scales.

2. Instance Embedding Loss

A core conceptual shift in RT-MDNet is moving beyond simple "target vs. background" classification. During offline pretraining, the network must learn that a target in one video is distinct from a target in another, even if they belong to the same category (e.g., two different cars).

Visualization of the Instance Embedding Loss which separates different target instances in the latent space.

By adding the Instance Embedding Loss, the authors force the network to map different target instances to separate locations in a latent space. This makes the resulting features significantly more discriminative for unseen objects during inference.

Evaluation and Results

The model was evaluated on several major tracking benchmarks, including OTB2015 (100 videos), UAV123 (123 aerial videos), and TempleColor (128 color sequences). Offline pretraining was conducted on the ImageNet-Vid dataset.

Key Results

  • Speed: RT-MDNet operates at 46–52 FPS on a modern GPU, a massive improvement over the original MDNet's 1 FPS.
  • Accuracy: On OTB2015, it achieved a success rate (AUC) of 65.0%, outperforming other real-time trackers like ECO-HC (64.3%) and SiamFC (58.2%).
  • Robustness: The tracker demonstrated strong generalization on the UAV123 dataset without dataset-specific tuning, indicating highly robust feature representations.

Discussion and Conclusion

RT-MDNet demonstrates that maintaining spatial resolution is more critical for tracking than the deep downsampling common in classification tasks. By replacing independent crops with a shared feature map and RoIAlign, the primary bottleneck of MDNet was removed. Furthermore, the instance embedding loss effectively "hacks" classification pretraining to prioritize individual identity over category invariance.

While RT-MDNet is a significant advancement, challenges remain in high-precision localization (overlap > 0.8) and handling extreme scenarios such as heavy occlusion or dramatic non-rigid appearance changes. Future work may focus on further refining the RoIAlign process to capture even finer spatial details.

Summary updated

BibTeX
@inproceedings{jung2018real,
  author = {Ilchae Jung and Jeany Son and Mooyeol Baek and Bohyung Han},
  title = {{Real-Time MDNet}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=B1EvJc-_WH},
}
Figure