CFNN: Correlation Filter Neural Network for Visual Object Tracking

Yang Li, Zhan Xu, Jianke Zhu

Abstract

Visual object tracking requires balancing speed and accuracy. Traditional Correlation Filter (CF) trackers offer speed but lack discriminative power, while deep learning trackers offer accuracy but require extensive pre-training. This paper introduces the Correlation Filter Neural Network (CFNN), a two-layer CNN architecture that bridges these approaches. CFNN requires zero offline pre-training, instead initializing its weights via a closed-form mathematical solution from the first frame and adapting online through backpropagation and hard negative mining.

Introduction

Visual object tracking involves following a specific target through a video sequence, often under challenging conditions such as lighting variations, occlusions, and deformations. Historically, the field has been divided into two paradigms: fast Correlation Filter (CF) trackers and accurate but computationally intensive CNN-based trackers. CF trackers are efficient but limited by boundary effects and linear update strategies. Conversely, CNN trackers typically rely on massive external datasets for pre-training and struggle with real-time online adaptation.

The CFNN framework addresses these limitations by reformulating the correlation filter as a neural network layer. This allows the tracker to leverage the mathematical efficiency of CFs for immediate initialization while utilizing the discriminative power and flexible update mechanisms of deep learning.

Methodology

The CFNN architecture is a lightweight, two-layer convolutional network designed to produce a spatial probability map for target localization.

Network Architecture

The network consists of two primary layers:

  1. Convolutional Layer: This layer extracts multiple response maps. Its weights are initialized using the Ridge Regression formula in the Fourier domain, mirroring the initialization of standard CF trackers. This enables the network to begin tracking immediately after the first frame without prior training.
  2. Deconvolutional Layer: To maintain spatial precision, CFNN employs a deconvolutional layer that merges the response maps and upsamples them to the original resolution. This avoids the precision loss common in trackers that use pooling or coarse feature cells.
Overview of the CFNN tracking pipeline, including first-frame initialization and online weight updating with hard negative mining.

Online Adaptation

As the tracking progresses, the network adapts to appearance changes through online backpropagation. To enhance robustness, the system implements Hard Negative Mining, identifying background patches that resemble the target and training the network to distinguish them. An adaptive early stopping mechanism is used to maintain efficiency by halting training once the weights converge.

Key Insights: CF as a Neural Layer

The fundamental contribution of CFNN is the realization that a Correlation Filter is mathematically equivalent to a single convolutional layer. By integrating this layer into a deep learning framework, the tracker gains access to non-linear activations (ReLU) and sophisticated optimization tools like backpropagation.

Comparison of standard correlation (circulant structure) and the convolutional approach used in CFNN to mitigate boundary effects.

Furthermore, this approach solves the "boundary effect" problem inherent in traditional CFs. While standard CFs use circulant padding that introduces artifacts, CFNN operates as a standard CNN, allowing for larger search windows and valid convolutions that preserve the integrity of the image content.

Experimental Results

The CFNN was evaluated on the OTB-2013 benchmark and a custom set of challenging sequences involving high motion and blur.

  • Benchmark Performance: On OTB-2013, CFNN achieved a success rate of 0.595 and a precision of 0.803. It outperformed established trackers such as SAMF, KCF, and DSST.
  • Comparison with Deep Trackers: CFNN significantly surpassed the DLT (Deep Learning Tracker), which achieved a 0.436 success rate, demonstrating that a specialized architecture can be more effective than a generic deep model for tracking tasks.
  • Robustness: In tests involving dramatic motion and blur, CFNN maintained a lower Center Error (CEL) than its competitors, validating the effectiveness of its online update strategy.

Conclusion

CFNN successfully combines the strengths of Correlation Filters and Convolutional Neural Networks. By eliminating the need for offline pre-training and providing a robust online update mechanism, it offers a powerful alternative for visual tracking. While the current implementation faces speed constraints (approximately 1 fps), future work focusing on C++ optimization and multi-threading could enable real-time performance. Additionally, exploring deeper architectures or integrating motion models could further improve long-term tracking stability.

Summary updated

BibTeX
@inproceedings{li2017cfnn,
  author = {Yang Li and Zhan Xu and Jianke Zhu},
  title = {{CFNN: Correlation Filter Neural Network for Visual Object Tracking}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/309},
}
Figure