Abstract
Object tracking traditionally involves computationally expensive region proposals or complex non-differentiable sampling. This paper introduces the Recurrent Attentive Tracking Model (RATM), a modular, fully differentiable framework that leverages "soft attention" to learn object trajectories. By processing only small, learned "glimpses" of a video frame through a recurrent neural network, RATM achieves efficient and effective tracking that can be optimized end-to-end via standard backpropagation.
Introduction
The evolution of computer vision has seen a shift towards mechanisms that mimic human visual attention. RATM applies these "soft attention" concepts—originally successful in natural language processing and image generation—to the problem of visual object tracking. Unlike traditional "tracking-by-detection" methods that rank hundreds of proposals per frame, RATM focuses computation on relevant sub-regions, maintaining temporal context through recurrence.
Methodology
The RATM framework is built on three distinct modules designed to work in a fully differentiable pipeline.
Attention Module and the Read Mechanism
The core innovation of RATM is its soft attention mechanism. Instead of a hard crop, which is non-differentiable, the model uses a grid of 2D Gaussian filters to extract a "glimpse" from the input frame. The parameters of these Gaussians—center, stride, and variance—are continuous values predicted by an RNN (specifically an IRNN with ReLU units). This differentiability allows the model to learn "where to look" directly from the tracking error.
Recurrent Architecture
The system operates in a loop: the RNN outputs attention parameters, the Read Mechanism extracts a glimpse, and this glimpse is fed back into the RNN for the next timestep. This feedback loop allows the model to leverage temporal context and predict object momentum, rather than treating every frame as an isolated search problem.
Feature Extraction and Objective
Once a glimpse is extracted, a Feature-Extraction module (often a CNN) identifies the content. The Objective module then calculates the Mean Squared Error (MSE) between the predicted trajectory and the ground truth. A notable emergent behavior is the "zoom" effect: penalizing misclassification and localization errors simultaneously encourages the model to "zoom in" on the object to maximize accuracy.
Experimental Results
RATM was evaluated on datasets of increasing complexity:
- Bouncing Balls: Achieved 66.86% IoU, demonstrating long-term tracking capability (300 frames) from short training sequences.
- Moving MNIST: Reached 63.53% IoU, successfully handling shape variations and ignoring distractors.
- KTH Action Recognition: Achieved 55.03% IoU on real-world human motion.
- Generalization: Models trained on KTH successfully tracked novel subjects (e.g., skaters, dancers) in the TB-100 benchmark, highlighting the robustness of the learned features.
Conclusion
RATM demonstrates that differentiable soft attention is a powerful alternative to reinforcement learning or exhaustive search in object tracking. While challenges like window drift and occlusions remain, the modularity and end-to-end trainability of RATM provide a strong foundation for future attentive vision systems.
Summary updated