DeepTrack: Learning Discriminative Feature Representations Online for Robust Visual Tracking

Hanxi Li, Yi Li, Fatih Porikli

TL;DR

DeepTrack is a robust visual tracking framework that learns discriminative target features purely online using a single Convolutional Neural Network (CNN). By introducing a truncated structural loss and a noise-aware temporal sampling mechanism, it overcomes the traditional "big data" requirements of deep learning, achieving state-of-the-art accuracy on standard benchmarks at practical speeds.

What Problem Does This Paper Address?

In 2015, Convolutional Neural Networks (CNNs) were already dominating image recognition, but they were considered "impractical" for online visual tracking. Tracking presents a unique challenge: you start with only one reliable training sample (the first frame) and must adapt to appearance changes in real-time.

Standard CNNs typically require thousands of samples and hours of offline training. If applied naively to tracking, they tend to overfit to the most recent frames (leading to "drift"), struggle with the lack of data, and run far too slowly for real-time use. Consequently, most contemporary trackers used CNNs only as fixed, offline feature extractors. DeepTrack aims to break this limitation by training the network entirely online, from scratch, for every new video.

Methods

The authors propose a four-layer CNN architecture (2 convolutional, 2 fully connected) that employs several novel strategies to make online training viable:

  • Multi-Cue Fusion: The network processes three different "cues" (e.g., normalized grayscale and gradients) through independent channels before fusing them. This allows the model to pick the most informative features for a specific target in a data-driven way.
  • Truncated Structural Loss: Instead of simple binary classification (target vs. background), the authors use a "structural" loss that accounts for the spatial overlap (IoU) between samples. Crucially, they "truncate" the loss—ignoring samples with very small errors—which significantly accelerates backpropagation.
  • Robust Temporal Sampling: To prevent the model from forgetting the target's appearance, positive samples are drawn from a long-term memory pool. Conversely, negative samples are drawn from a short-term pool to capture the immediate background context.
  • Label Noise Handling: The system estimates "prediction quality" by analyzing the confidence map. If the tracker is likely failing (e.g., during an occlusion), it stops updating the model to avoid learning from "noisy" or incorrect labels.
  • Lazy Updating: The CNN is only updated when the training loss exceeds a certain threshold, saving significant computational power.

Datasets

The authors evaluated DeepTrack on two major benchmarks of the era:

  1. CVPR2013 Visual Tracker Benchmark: 50 fully annotated sequences featuring challenges like illumination changes, occlusion, and fast motion.
  2. VOT2013 Challenge Benchmark: 16 sequences used to test accuracy and robustness (failure frequency).

Key Insights and Ideas

  • Regression over Classification: Treating tracking as a regression of overlap scores provides a much richer training signal than binary labels. This is vital when training data is scarce.
  • The "Aha" of Truncation: You don't need to learn from what you already know. By ignoring "easy" samples where the error is negligible, the authors boosted tracking speed by ~37% without sacrificing accuracy.
  • Temporal Asymmetry: The insight that positive samples should be "long-lived" while negative samples should be "short-lived" effectively regularizes the model against drifting toward the background.
  • Self-Awareness: By recognizing when its own detections are "messy" (multiple peaks in the heat map), the tracker can decide not to learn, effectively shielding itself from the corrupting effects of occlusion.

Key Results

DeepTrack outperformed 29 other state-of-the-art trackers (including then-leaders like Struck, SCM, and TLD) on the CVPR2013 benchmark.

  • Accuracy: It achieved a Tracking Precision (TP) of 83%, a 6% improvement over the previous best-reported result (TGPR).
  • Robustness: On the VOT2013 benchmark, it ranked first in average accuracy and robustness across multiple experimental settings.
  • Speed: Despite the heavy lifting of online CNN training, the "lazy" update and truncated loss allowed it to run at 1.5 to 4 fps on a GTX 980 GPU—slow for real-time video, but highly practical for a deep learning tracker at the time.

Limitations and Future Work

While DeepTrack proved that online CNN training is possible, its speed (max 4 fps) remained a bottleneck compared to correlation filter-based methods that could run at 30+ fps. The authors noted that their implementation was an unoptimized mix of Matlab and CUDA; a more streamlined C++ implementation could likely reach real-time speeds. Additionally, the paper focuses on a relatively shallow 4-layer network; scaling this "online-only" approach to deeper architectures remains a challenge due to the vanishing gradient problem and increased computational cost.

Summary updated

BibTeX
@article{li2016deeptrack,
  author = {Hanxi Li and Yi Li and Fatih Porikli},
  title = {{DeepTrack: Learning Discriminative Feature Representations Online for Robust Visual Tracking}},
  journal = {IEEE Trans. Image Process.},
  year = {2016},
  doi = {10.1109/tip.2015.2510583},
}
Figure