Deep Attentive Tracking via Reciprocative Learning

Shi Pu, Yibing Song, Chao Ma, Honggang Zhang, Ming-Hsuan Yang

TL;DR

This paper introduces Reciprocative Learning, a novel training scheme for visual tracking that forces deep classifiers to "pay attention" to the right things. By using backpropagated gradients as a regularization term in the loss function, the tracker learns to focus on robust target features, significantly improving performance against appearance changes and occlusions without adding extra parameters during inference.

What Problem Does This Paper Address?

Visual tracking—following a specific object through a video—is notoriously difficult when the object changes appearance, gets partially blocked (occlusion), or moves rapidly. Most modern trackers use a "tracking-by-detection" approach: they draw candidate boxes and use a deep learning classifier to decide which one is the target.

However, standard classifiers are "lazy." They might focus on a tiny, non-robust part of the object (like a specific logo on a shirt) or get distracted by the background. While some researchers have added "attention modules" (extra layers that weigh features), these add complexity and often fail to capture long-term temporal robustness. The authors wanted to find a way to make the classifier inherently attentive to the entire target object.

Methods

The core innovation is the Reciprocative Learning algorithm. Instead of just doing a standard forward pass to calculate error, the training process involves a "reciprocal" loop:

Overview of the Reciprocative Learning algorithm.
  1. Forward Step: An image patch is fed into the network to get a classification score.
  2. Backward Step (Attention Generation): The network calculates the partial derivative (gradient) of the classification score with respect to the input pixels. This gradient map essentially shows which pixels most influenced the final score. The authors treat this as an Attention Map.
  3. Regularization: This is the "aha" moment. They don't just use the map for visualization; they use it to calculate a new Attention Regularization loss.
  4. For positive samples (the target), the loss encourages the attention map to have a high mean and low variance (forcing the network to look at the whole object clearly).
  5. For negative samples (background), it encourages the opposite.
  6. Optimization: The final loss function is a combination of standard Cross-Entropy and this new Attention Regularization.

During the test stage, the attention maps are no longer needed. The classifier has already been "trained" to be attentive, so it simply runs its forward pass as usual, making it efficient at inference time.

Datasets

The authors evaluated their tracker on three major large-scale benchmarks:

  • OTB-2013: A standard benchmark with 50 video sequences.
  • OTB-2015: An expanded version of OTB with 100 sequences.
  • VOT-2016: The Visual Object Tracking challenge dataset, known for being more difficult and requiring higher accuracy.

Key Insights and Ideas

  • Gradients as a Training Signal: Usually, gradients are just a tool to update weights. Here, the spatial structure of the gradient is used as a supervisory signal to tell the network where it should be looking.
  • Holistic Attention: By penalizing high variance in the attention map for target objects, the network is discouraged from "cheating" by looking at just one easy-to-identify corner. It learns to identify the target as a whole.
  • Zero-Overhead Inference: Because the attention mechanism is baked into the weights via the loss function during training, the tracker doesn't need to run extra "attention layers" during actual tracking, preserving its original architecture.

Key Results

The proposed method, referred to as the "Deep Attentive Tracker," performed favorably against state-of-the-art methods:

Distance precision and overlap success plots on the OTB-2015 dataset.
  • OTB-2013: Achieved a Distance Precision (DP) of 0.944 and an Overlap Success (OS) of 0.704, outperforming the baseline MDNet (0.911 DP / 0.671 OS).
  • Robustness to Occlusion: Qualitative results show that while baseline trackers drift when a target is occluded (e.g., a face behind a leaf), the attentive tracker maintains a high-confidence map on the visible parts of the target.
  • Center Location Error (CLE): On OTB-2013, the method achieved a CLE of 7.85 pixels, which was significantly lower (better) than competitors like CCOT (15.58) and MDNet (13.05).

Limitations and Future Work

  • Speed: The tracker runs at approximately 1 FPS on a GTX 1080. While accurate, this is far from real-time, making it unsuitable for live drone or automotive applications without further optimization.
  • Scale Estimation: The authors note that their method uses a sparse set of samples for scale estimation. They suggest that integrating a more continuous cropping method (like that used in CCOT) could further improve accuracy.
  • Offline Training: The current implementation relies heavily on online fine-tuning (learning during the video). Future work could explore how to pre-train this "attentive" property on massive datasets before the tracking begins.

Summary updated

BibTeX
@inproceedings{pu2018deep,
  author = {Shi Pu and Yibing Song and Chao Ma and Honggang Zhang and Ming-Hsuan Yang},
  title = {{Deep Attentive Tracking via Reciprocative Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=ryEv6_Wu-H},
}
Figure