Deep-LK for Efficient Adaptive Object Tracking

Chaoyang Wang, Hamed Kiani Galoogahi, Chen-Hsuan Lin, Simon Lucey

TL;DR

Deep-LK bridges the gap between classical computer vision and modern deep learning by integrating the Lucas-Kanade (LK) alignment algorithm into a neural network. It achieves high-speed object tracking (100 FPS) that generalizes to unseen objects far better than previous regression-based trackers by allowing the model to adapt to a target's appearance on the fly.

What Problem Does This Paper Address?

Object tracking is a fundamental challenge in computer vision: given a bounding box in the first frame, follow that object through the rest of the video. Currently, the field is split into two camps:

  1. Classification-based trackers: These treat tracking as a "detect-then-classify" problem. They are very accurate but painfully slow (often <10 FPS) because they evaluate many image patches per frame.
  2. Regression-based trackers (e.g., GOTURN): These use a neural network to directly predict the object's movement. They are incredibly fast (100+ FPS) but suffer from a "generalization gap"—they perform well on objects they saw during training but fail miserably on new objects or viewpoints because their internal logic is "frozen" after training.

The authors identify that these fast regression trackers lack the adaptability of classical methods like the Lucas-Kanade (LK) algorithm, which naturally adjusts to the specific appearance of the object being tracked.

Methods

The authors propose Deep-LK, a framework that re-interprets the classical Inverse-Compositional Lucas-Kanade (IC-LK) algorithm as a Siamese regression network.

Key technical components include:

  • The Deep-LK Regressor: Instead of using raw pixels (which makes classical LK sensitive to lighting and noise), the model uses a Convolutional Neural Network (CNN) to extract robust features ($\phi$).
  • Dynamic Weights: Unlike standard deep networks where weights are fixed at test time, Deep-LK calculates its regression parameters ($R$ and $b$) directly from the current "template" image of the object. This is essentially a form of "one-shot learning" that happens every time a new object is tracked.
  • Conditional LK Loss: To train the CNN, the authors use a specialized loss function. It forces the network to learn a feature space where the relationship between feature changes and geometric movement is linear. This creates a "smooth" optimization landscape, helping the tracker converge quickly without getting stuck in local minima.
  • Iterative Refinement: The tracker doesn't just guess once; it iteratively warps the image to align it with the template, much like the original LK algorithm, but within a differentiable deep learning framework.

Datasets

The model was trained and evaluated using several key benchmarks:

  • ALOV300++: Used for training the feature extractor.
  • VOT2014: A standard tracking benchmark used to compare accuracy and robustness against state-of-the-art methods.
  • NfS (Need for Speed): A dataset of high-frame-rate (240 FPS) videos, where the efficiency of Deep-LK is particularly advantageous.
  • UAV Dataset: A custom set of 15 high-speed videos captured from drones to test how well the tracker generalizes to "unseen" aerial viewpoints and objects.

Key Insights and Ideas

  • The "Frozen" Regressor Flaw: The authors pinpoint why previous fast trackers failed: they couldn't adapt. By showing that IC-LK is mathematically equivalent to a Siamese network with a template-dependent linear layer, they found a way to make deep trackers adaptive.
  • Learning the Optimization Surface: Standard deep features (like those from AlexNet) are great for classification but "bumpy" for alignment. Deep-LK specifically trains the features to produce a near-quadratic cost curve, which is the "Goldilocks zone" for the LK algorithm's math to work perfectly.
  • Efficiency via Math, not just Hardware: By using the Inverse-Compositional formulation, the most expensive part of the math (the Jacobian inverse) only needs to be calculated once per template, allowing the tracker to maintain 100 FPS even with iterative updates.

Key Results

  • Speed: Deep-LK runs at 100 FPS on a GPU, making it an order of magnitude faster than high-end classification trackers like MDNet (~3 FPS).
  • Generalization: On the UAV dataset (unseen objects/views), Deep-LK achieved a success score of 60.38, significantly outperforming the previous regression leader, GOTURN, which scored 48.13.
  • Competitive Performance: On the NfS dataset, Deep-LK achieved the highest Area Under the Curve (AUC) of 51.2, beating out both deep trackers and sophisticated Correlation Filter (CF) methods.

Limitations and Future Work

While Deep-LK is robust, the authors note it still faces challenges with:

  • Unmodeled Transformations: Extremely complex deformations (like a person's limbs flailing) that aren't captured by simple translation and scale warps can still cause drift.
  • Early Stopping: To prevent failure from unreliable scale estimation, the authors implemented an "early stopping" mechanism. Improving the model's inherent ability to handle drastic scale changes remains a target for future work.
  • Warp Complexity: The current implementation focuses on translation and scale; extending this to affine or homography warps within the same deep framework is a natural next step.

Summary updated

BibTeX
@inproceedings{wang2018deep,
  author = {Chaoyang Wang and Hamed Kiani Galoogahi and Chen-Hsuan Lin and Simon Lucey},
  title = {{Deep-LK for Efficient Adaptive Object Tracking}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2018},
  url = {https://openreview.net/forum?id=YaMmb5-OoH9},
}
Figure