DMV: Visual Object Tracking via Part-level Dense Memory and Voting-based Retrieval

Gunhee Nam, Seoung Wug Oh, Joon-Young Lee, Seon Joo KimarXiv 2020

TL;DR

DMV is a real-time visual tracker that overcomes the limitations of fixed-template matching by using an external, part-level dense memory. By employing a novel Transformer-based voting mechanism to retrieve reliable information from past frames, it achieves state-of-the-art accuracy and handles complex appearance changes without the need for slow online fine-tuning.

What Problem Does This Paper Address?

Visual object tracking is a fundamental computer vision task: given a target in the first frame of a video, follow it through the rest of the sequence.

Current methods generally fall into two camps:

  1. Siamese Trackers: These are fast and efficient, treating tracking as a matching problem between the initial frame (template) and the current frame. However, they struggle when the object deforms, rotates, or changes appearance significantly because the template is fixed.
  2. Online Learning Trackers: These update their model weights during the tracking process to adapt to changes. While accurate, they are often slow (requiring expensive backpropagation) and can be unstable if they accidentally learn from noisy or incorrect predictions.

The authors of DMV aim to bridge this gap. They want the speed of offline-trained Siamese trackers but with the adaptability of online methods, all while avoiding the pitfalls of noisy data and slow updates.

Fig. 1: Comparison of our method with existing methods. (Left) Siamese-based trackers rely on template matching, while our method has an external memory and employs the attention mechanism for dense matching. This enables us to use intermediate information effectively and be robust to deformation and ap- pearance changes. (Right) We store both the foreground and the background information in a unified memory, which helps our tracker to differentiate the target using semantic information.

Methods

The core of DMV is a Dense Memory system that stores "key" (visual features) and "value" (target-aware features like bounding box info) pairs from previously tracked frames.

1. Part-level Dense Matching

Unlike standard Siamese trackers that match the whole object at once, DMV performs matching at the part level. It uses an attention mechanism to compare feature vectors in the current frame to all feature vectors stored in memory. This allows the tracker to recognize the object even if only certain parts are visible or if its geometric structure has changed.

2. Voting-based Retrieval

This is the paper's "secret sauce." Bounding box annotations in tracking are often coarse and include background pixels. If a tracker simply averages all memory information, this noise can lead to drift.

DMV introduces a Voting Network (based on a Transformer architecture). It selects the top-$K$ most similar candidates from memory and feeds them into the voting network to reach a "consensus" on which features are truly reliable. This effectively filters out noise and unreliable information.

Fig. 3: The details of the voting-based memory retrieval module, showing how top-K candidates are processed to reach a consensus.

3. Unified Foreground/Background Memory

Instead of just memorizing the target, DMV stores the entire scene context. By keeping track of the background, the model naturally learns to differentiate the target from similar-looking "hard negatives" (distractors) without needing complex heuristic sampling.

4. Architecture Overview

The system uses a ResNet backbone to extract features. The prediction head consists of two branches: one for estimating the center location of the target and another for bounding box regression.

Fig. 2: The overview of the DMV tracker architecture, including feature extraction, memory retrieval, and box prediction.

Datasets

The authors trained DMV on three large-scale datasets: GOT-10k, LaSOT, and TrackingNet.

They evaluated the model across a wide range of benchmarks to ensure robustness:

  • OTB-100: A classic benchmark with 100 sequences.
  • TrackingNet: A large-scale dataset for general tracking.
  • GOT-10k: Focused on generic object tracking in the wild.
  • LaSOT: A challenging dataset featuring very long sequences (avg. 2500 frames).
  • UAV123: Aerial videos captured from drones.

Key Insights and Ideas

  • Consensus over Softmax: Traditional attention mechanisms (like those in Video Object Segmentation) use a softmax-weighted sum. The authors found that for tracking, explicitly selecting top candidates and letting them "vote" via a Transformer is much more robust to the noisy labels inherent in bounding boxes.
  • Implicit Hard Negative Mining: By storing background features in the memory, the model learns to ignore distractors as a side effect of the retrieval process, removing the need for the complex "hard negative mining" steps required by other trackers.
  • Uncertainty is a Feature: When writing to memory, the model uses "soft" representations (probability maps) rather than hard bounding boxes. This allows the memory to represent the uncertainty of past predictions, preventing the tracker from becoming overconfident in a wrong result.

Key Results

  • Real-time Performance: DMV achieves over 40 FPS on an NVIDIA Titan X, making it suitable for real-world applications.
  • State-of-the-Art Accuracy: On OTB-100, DMV achieved a 69.9% AUC, outperforming leading trackers like SiamRPN++ (69.6%) and DiMP50 (68.4%).
  • Robustness to Noise: Ablation studies showed that the voting mechanism provided a 14.2% relative gain in AUC over simpler retrieval methods, proving its effectiveness in handling noisy memory.
  • Long-term Stability: On the LaSOT dataset, DMV showed strong performance, indicating that its memory management (keeping up to 32 frames) effectively prevents drift over thousands of frames.

Limitations and Future Work

  • Data Hunger: The authors noted that DMV relies heavily on large amounts of training data to learn the similarity metric for memory retrieval. This was evident in its slightly weaker performance on the UAV123 dataset, which has a domain gap from the training data.
  • Memory Management: While the current 32-frame FIFO (first-in, first-out) strategy works well, more sophisticated methods for pruning or summarizing long-term memory could potentially improve performance further.
  • Small Objects: Like many dense matching methods, performance on very small objects or extremely low-resolution video remains a challenge for future iterations.

Summary updated

BibTeX
@misc{nam2020dmv,
  author = {Gunhee Nam and Seoung Wug Oh and Joon-Young Lee and Seon Joo Kim},
  title = {{DMV: Visual Object Tracking via Part-level Dense Memory and Voting-based Retrieval}},
  year = {2020},
  eprint = {2003.09171},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.09171},
}
Figure