## Real Time Visual Tracking using Spatial-Aware Temporal Aggregation Network

## Tao Hu Lichao Huang Xianming Liu Han Shen Horizon Robotics Inc

{ tao,hu, lichao.huang, xianming.liu, han.shen @horizon.ai }

## Abstract

More powerful feature representations derived from deep neural networks benefit visual tracking algorithms widely. However, the lack of exploitation on temporal information prevents tracking algorithms from adapting to appearances changing or resisting to drift. This paper proposes a correlation filter based tracking method which aggregates historical features in a spatial-aligned and scale-aware paradigm. The features of historical frames are sampled and aggregated to search frame according to a pixel-level alignment module based on deformable convolutions. In addition, we also use a feature pyramid structure to handle motion estimation at different scales, and address the different demands on feature granularity between tracking losses and deformation offset learning. By this design, the tracker, named as Spatial-Aware Temporal Aggregation network (SATA), is able to assemble appearances and motion contexts of various scales in a time period, resulting in better performance compared to a single static image. Our tracker achieves leading performance in OTB2013, OTB2015, VOT2015, VOT2016 and LaSOT, and operates at a real-time speed of 26 FPS, which indicates our method is effective and practical. Our code will be made publicly available at https://github.com/ecart18/SATA.

## 1. Introduction

As a fundamental problem in computer vision, visual object tracking, which aims to estimate locations of a visual target at each frame within a video sequence [31], has been applied extensively on navigation, security and defense areas. Correlation filter based (CF) trackers have shown great potential on this task due to its impressive speed in the last decade. It attempts to get the best match position of objects from frame to frame and solves a ridge regression problem efficiently in Fourier frequency domain [17]. Hand-crafted features are usually adopted in canonical CF trackers [17, 5, 18, 11] until deep learning features become prevalent [9, 4]. To further improve the feature correlation, several fully convolutional network based correlation filter

Figure 1. Tracking results with the comparison to state-of-the-art deep DCF trackers including CCOT, SiamFC, and DeepSRDCF. Our SATA tracker enhances the localization robustness and accuracy of challenging scenarios.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-fe1da163-8bb5-4346-8322-ac37d62e630c.jpg)

trackers have been proposed [16, 36, 34], which demonstrated the superior performance and efficiency by combining a learnable feature extractor, such as CNN, with the correlation loss. Unfortunately, challenging scenarios such as partial occlusion, motion blur, and low-resolution remain unsolved with only considering the frame-level appearance and simple inter-frame position prior for most existing CF trackers [24].

Visual tracking relies on motion and temporal context, which motivates us to incorporate more information from historical contents to improve the confidence of a tracker, analogy to using memories to enrich object representations in the current frame to improve tracking accuracy, especially when dramatic appearance changes such as rapid object motion and out-of-plane rotation. A more robust feature representation could be constructed by aggregating related historical frames. It has been exploited in video object detection recently [39, 43, 2], and brings noticeable performance improvements due to the better feature learned especially for challenging frames. To eliminate the appearance inconsistency introduced by object deformation, visual features need to be properly aligned before aggrega-

The work was done when Tao Hu was an intern in Horizon Robotics Inc.

tion. The explored alignment methods include pixel-wise correlation [39], optical flow warping [43] or deformable convolution sampling [2]. Compared to applying an opticalflow based warping method [44], which requires intensive computation by extracting features in an extra branch and dense flow prediction [14, 20], we attempt to utilize deformable convolution networks [6] to estimate the motion transformation and conduct the spatial alignment in a more computational efficient manner.

In terms of scales of feature to align, shallow layers of CNN favor fine-grained spatial details and help locate precise object location [4, 22], while deeper layers maintain semantic patterns that are robust to variation and motion blur. Recent deep tracker [25] employs multiple convolutional layers in a hierarchical weighted ensemble of independent CF models. However, such naive feature ensemble still lacks full use of multi-level semantics.

In this work, we present a novel spatial-aware temporal feature aggregation network for visual object tracking as shown in Figure 2. The intuition is to find out a pixel-level alignment among historical frames and explore an elegant fusion of multi-resolution feature maps. The features of different layers from historical frames are aligned to their corresponding feature layers of the template frame through Align Module, and then aggregated by Aggregation Module. The features from different layers are combined gradually top-down to produce final predicted CF features. Our network architecture is able to balance the need of tracking for shallow layer features from CF loss and the need of translation invariance for deep semantic features aroused by deformable offset learning. As illustrated in Figure 1, our method enhances the localization robustness and accuracy in scenarios of intra-class variation and motion blur.

The key contributions of this paper are summarized as follows:

- · We apply a pixel-wise 'align-and-aggregate' temporal fusion paradigm to the visual tracking task. Without using extra annotated data, the method can exploit information from previous frames to enhance both accuracy and robustness of the tracking algorithm.
- · We propose a sequential multi-level feature aggregation mechanism which balances spatial details and semantic invariant properly.
- · This network is trained end-to-end and significantly boosts the performance on VOT2015, VOT2016, OTB-2013, OTB-2015 and LaSOT. We conduct extensive ablation studies and show significant enhancement achieved by each component. Our code will be made publicly available.

## 2. Related Work

In this section, we give a brief overview on the CF based visual tracking and spatial-temporal fusion approaches related to our method.

## 2.1. Discriminative Correlation Filter Based Tracker

Discriminative correlation filter (DCF) based tracker is one of the most import methods in visual tracking for its impressive performance and speed [9, 10]. In these methods, the filters are trained by minimizing the least-squares loss for all circular shifts of a training template patch, and the new location for object in the search patch are obtained through finding the maximize value in the correlation response map [5]. The matching formulation is simple which makes the features become rather important, and many researchers start from this aspect to optimize the tracking performance. For example, CN [11] combines the Color Name and grayscale features to describe the object. KCF [17] uses multi-channel HOG feature maps to extend single-channel gray features. Recently, deep neural networks like CNN have attached more and more attention to researchers in the field of visual tracking [9]. ImageNet [13] pre-trained deep CNN models are utilized in DCF based methods to extract the features to correlate [25]. However, the achieved tracking performance may not be sufficient because the pretrained features are extracted independently with the correlation tracking process. To address this issue, several methods [16, 36, 34, 3] interpret CF as a layer of the fully convolutional network based on Siamese architecture and train it with video detection datasets [29] from scratch. The integration of DCF with features from CNNs has achieved exciting performance boosting [35]. However, these approaches have an inherent limitation When dealing with challenging scenario such as illumination changes, motion blur in practice.

## 2.2. Feature Aggregation in Video Analysis

Feature aggregation is proposed to utilize motion cues and improve performance for video analysis task such as video object detection and video object segmentation(VOS) [1, 32]. There are two mainstream categories methods of feature aggregation: recurrent neural networks (RNNs) based approaches and spatial-temporal convolution based approaches. Ballas et al. [1] proposes convolutional gated recurrent units (ConvGRU) which model the video sequence in spatial and temporal dimension simultaneously. This network shows the significant advantage of capturing long-distance dependencies and makes remarkable improvements in video object detection tasks [39].

Another direction to fuse the motion dynamic across frames is the spatial-temporal convolution-based methods.

Such methods have been widely used in VOS, which is defined as a one-shot video object learning problem similar to visual object tracking. CRN [19] takes the inter-frame motion as a guidance to generate an accurate segmentation based on cascaded refinement network. OSMN [41] uses a spatial modulator to integrate historical object location information in its segmentation framework. By introducing a distance transform layer, MoNet [40] separates motioninconstant feature in historical frames to refine segmentation results. FGFA [43] aggregates temporal features by using weighted summation directly. However, as a typical video analysis task, visual object tracking has been less benefited from these advances in temporal feature aggregation. In fact, given more temporal context, it provides the potential to improve the robustness of the tracking algorithm. Besides, it is also consistent with the pattern of how human eyes track objects. These intuitions drive us to employ temporal feature aggregation in the visual tracking task.

## 2.3. Motion Estimation by Deep Learning

Motion estimation in videos requires correspondences in pixel-level of raw image or features-level to find the relationship between consecutive frames [33]. Optical flow is widely used to estimate precise per-pixel localization between two input frames. Early attempts for estimating optical flow have focused on variational and combinatorial matching approaches [33]. Recently, many works have shown that optical flow estimation can be solved as a supervised learning problem through CNNs [14, 20, 28]. However, such flow estimation networks are always integrated as a bypass branch, which makes the training procedure more challenging when the task loss is not consistent with the flow loss. In addition, training a flow network usually requires large amounts of flow data, which is difficult and expensive to obtain. Instead, some recent works find the correspondences implicitly, without the need for extra annotations to supervise the model. STMN [39] proposes a pixel-wise correlation module to learn the object motion between features of neighboring frames. STSN [2] uses several stacked deformable sampling modules to align the high-level features. Nevertheless, the tasks of detection and tracking are quite different, such that when high-level features work on detection tasks whereas not the case on tracking task because the latter often addresses the appearance details.

The work most related to ours in visual tracking is FlowTracker [44]. It proposes a temporal feature aggregation method based on optical flow. Though good performance achieved, their network is quite inefficient because it trains and extracts the optical flow field on the raw image. In addition, this method operates on fixed-length temporal windows, which has difficulty modeling variable motion duration and the long-term temporal information.

## 3. Spatial-Aware Temporal Aggregation Network

In this section, we first describe the overall architecture of this spatial-aware temporal aggregation network. Then we introduce each individual module in detail including the Alignment Module, the Aggregation Module and correlation filter layer.

## 3.1. Multi-scale Feature Aggregation Mechanism

In a deep neural network like CNN, features of different layers show different patterns [42]. Generally, low level features contain sufficient appearance details, which has present better performance in localization, especially for visual tracking [16, 10]. Respectively, the high layer features present semantic patterns to deal with the intra-class variation, which play an important role when the context varies with time. To take advantage of the feature in both shallow and deep layers, we propose a multi-scale feature aggregation mechanism to learn the alignment across frames adaptively inspired by FPN [23].

As shown in Figure 2, our framework adopts the Siamese network architecture, which consists of search and template branches. Given the input video frames { I t } , t = 1 , ., N , we define the search frame index and its feature as t and F t respectively, and the historical frame feature as F t -τ , where τ = 1 2 , ...T is a integer large than zero in online tracking. Template frame, which is different from the history frames and the search frame, is selected randomly near the search frame.

In the search branch, we construct a feature pyramid for the search frame I t and historical frame I t -τ through the backbone feature extraction network. Without loss of generality, we set the number of pyramid layers to l = 3 , where l represents the deepest layer of the feature pyramid for aggregation. The feature pyramid consists of three proportionally sized feature maps, named { P , P l t l -1 t , P l -2 t } and { P l t -τ , P l -1 t -τ , P l -2 t -τ } from deep layer to shallow layer for search and historical frame respectively. Then, the Alignment Module (see details in section 3.2) are used to learn the relative offsets { O , O l l -1 , O l -2 } for every feature map layer in { P , P l l -1 , P l -2 } between I t and I t -τ . After that, { O , O l l -1 , O l -2 } are used to generate the aligned feature { P l t - → τ t , P l -1 t - → τ t , P l -2 t - → τ t } with deformable ConvNets. Note that the Alignment Module is tailor-made for multi-scale pyramid feature to learn the motion dynamics and appearance change hierarchically. Finally, the { P l t - → τ t , P l -1 t - → τ t , P l -2 t - → τ t } are aggregated to { P , P l t l -1 t , P l -2 t } by temporal feature aggregation (see details in section 3.3) and then merged through topdown pathway as FPN.

In template branch, the feature maps of the template frame is extracted and the outputs of both branches are fed

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-cd2aa49a-58fa-4fb6-bbf4-e5a575c3c3f5.jpg)

Spatial infromation

Figure 2. The overall of our SATA architecture. The network adopts Siamese architecture consisting of template branches and search branches. In search branches, the feature of historical frames are warped to search frame( t frame). The white and grey boxes in middle part represent Alignment Module and Aggregation Module respectively. The feature map after aggregation of search frame and the feature map of template frame are fed to CF layer (right part).

into the subsequent CF layer(see details in section 3.4).

## 3.2. Alignment Module

Afeasible method to improve frame feature quality is the temporal feature aggregation. However, directly aggregating feature always decline the model performance because of the features for the same object across frames are usually misaligned. To resolve feature misalignment issue, we design the Alignment Module which uses deformable convolution [6] to estimate the object motions and to achieve feature alignment across frames. To our best knowledge, this is the first attempt to apply deformable ConvNets for object tracking.

Feature Alignment procedure For historical and search frames' feature F t -τ , F t , we warp the F t -τ to F t according to the Alignment Module, which consists of three major steps as illustrated in Figure 2 .

Step 1 : The feature tensor F t and F t -τ are of the same dimension that F , F t t -τ ∈ R c × × w h , where c, w, h denote the channel number, feature map width and height, respectively. We concatenate them along channels as F t,t -τ ∈ R 2 c × × w h to combine object appearance and motion information between the search and historical frames.

Step 2 : Next, to obtain the offsets of the historical frame w.r.t. the search frame for every pixel location in the feature map F t -τ , we use the concatenated feature tensor F t,t -τ to predict an offsets O t,t -τ with convolution layers.

Step 3 : Finally, the predicted offsets O t,t -τ are used to sample the points in the feature map of historical frames F t -τ via deformable ConvNets. The output feature F t - → τ t are then used to aggregate with the feature of the search frame.

## Tailor-made convolution network for offsets prediction

As described above, we use the concatenated feature tensor F t,t -τ to predict the relative offsets by convolution network. However, the expected relative offsets are distinguishing for different spatial resolution features in feature pyramid. On the one hand, the shallow feature with large feature map size takes on large relative offsets. Hence, a large kernel size should be considered, but it will greatly increase the parameter number, bringing issues of over-fitting. To address this problem, we stack more convolution layers to extend the receptive field. On the other hand, the shallow features with edge and contour awareness are extremely fine-grained, which makes it difficult to predict the relative offsets. Therefore, we should design a larger capacity convolution network. On the contrary, a shallow and small convolution network are applicable robust for modeling the small offsets between high level feature. In practice, our Alignment Module has 2,3,3 convolution layers for features P , P l l -1 , P l -2 in feature pyramid respectively, and we use dilation convolution network to extend reception field with dilation 1.

In summary, the Alignment Module uses deformable ConvNets to learn the motion and appearance offsets between the historical frames and search frame.

## 3.3. Temporal Feature Aggregation

The Alignment Module is applied for all selected historical frames in the specified range. After that, we obtain a series of complementary feature maps of historical frames which include diverse appearance information for the object being tracked. Inspired by the method in flowguide feature aggregation network(FGFA) [43], we use the adaptive weights to aggregate historical frames feature to search frames at each spatial location. The aggregation results could be formulated as:

$$F ^ { a g g } = \sum _ { \tau = 1 } ^ { T } w _ { t - \tau \rightarrow t } F _ { t - \tau \rightarrow t } \text{ \quad \ \ } ( 1 )$$

Where T is predefined range for historical frames and w t - → τ t is an adaptive weights mask for different spatial locations in the feature map F t - → τ t . To compute the weight w t - → τ t , we use a 3-layer fully convolutional bottleneck embedding network E to compute the feature representation e t - → τ t for F t - → τ t firstly. Then cosine similarity are used to measure the similarity of each corresponding point location between e t - → τ t and search frame embedding feature e t . We calculate the weights w t - → τ t by applying an exponential function on cosine similarity, and normalize all weights w t - → τ t , τ ∈ [1 , 2 , · · · T ] for all selected range of historical frames. The w t - → τ t could be formulated as:

$$w _ { t - \tau \rightarrow t } ( p ) = \frac { \exp ( \frac { e _ { t - \tau \rightarrow t } \cdot e _ { t } } { | e _ { t - \tau \rightarrow t } | \cdot | e _ { t } | } ) } { \sum _ { \tau = 1 } ^ { T } \exp ( \frac { e _ { t - \tau \rightarrow t } \cdot e _ { t } } { | e _ { t - \tau \rightarrow t } | \cdot | e _ { t } | } ) } \quad ( 2 ) \quad \begin{array} { c } 4. \end{array} ; \\ \quad \begin{array} { c } \\ \end{array} ;$$

where p is spatial location in feature map F t - → τ t .

## 3.4. Correlation Filter Layer

Discriminative correlation filter is one of the most popular solution for visual object tracking. Motivated by [16, 36, 34], we interpret correlation filter as a learnable layer embedded in the whole siamese tracking network.

In the standard DCF tracking framework for multidimensional feature, the goal is to learn series correlation filters w , d d ∈ { 1 2 , ...D } from training sample feature F x and the ideal response y . Here, feature tensor F x , extracted from CNN, has D channels and spatial size m × n , and the ideal response tensor y which is a Gaussian function peaked at the center has the same spatial size m × n . The correlation filter w d could be obtained by minimizing the output ridge loss:

$$L = \left \| \sum _ { d = 1 } ^ { D } w ^ { d } \ast F _ { x } ^ { d } - y \right \| ^ { 2 } + \lambda \sum _ { d = 1 } ^ { D } \left \| w ^ { d } \right \| ^ { 2 } \quad ( 3 ) \quad \text{Fin} \\ \text{fran}$$

Where w d and F d x refers to the d th channel of filter w and feature map of x respectively, glyph[star] denotes circular correlation operation. The λ in the second term of equation is regularization coefficient. Theoretically, the solution can be formed as:

$$\hat { w } _ { d } = \frac { \hat { F } _ { x } ^ { d } \odot \hat { y } ^ { * } } { \sum _ { d = 1 } ^ { D } \hat { F } _ { x } ^ { d } \odot \left ( \hat { F } _ { x } ^ { d } \right ) ^ { * } + \lambda } \quad \quad ( 4 )$$

where the ∧ symbol and the ∗ symbol represents discrete Fourier transform and complex conjugate of a complex respectively, and the symbol glyph[circledot] denotes Hadamard products.

In the tracking process, we crop a search patch z and obtain the corresponding feature tensor F z , then the correlation response map g for the search patch is calculated as:

$$g = \mathcal { F } ^ { - 1 } \left ( \sum _ { d = 1 } ^ { D } \hat { w } ^ { d * } \odot \hat { F } _ { z } ^ { \ d } \right ) \text{ \quad \ \ } \text{(5)}$$

Finally, the translation offsets could be obtained by searching the location of the maximum value of response map g . In the Siamese framework, we train network parameters w with template patch x , and calculate the loss with search patch z . The loss function for training is defined as:

$$l = \| g - y \| ^ { 2 } + \lambda \, \| \theta \| ^ { 2 }$$

θ represents parameters in CNN. Note that we embed correlation filters as a learnable layer for end-to-end training. The details of the derivation for back propagation could be found in [16, 36].

## 4. Training &amp; Inference

In this section, we detail the pipeline of the proposed SATA tracker for training and inference.

## 4.1. Training

During the training phase, the input data fed to this siamese network architecture are clips of the video sequences, which consist of historical frames, search frame and template frame. More specifically, we randomly sample historical frames before the search frame, and randomly select another frame near the search frame as template frame. The backbone feature extraction network is applied on individual frame to produce the multi-scale feature maps. The Alignment Module in Section 3.2 is used to estimate the sampling offsets between the historical frames and the search frame, and the feature maps from historical frames are sampled to the search frame according to the predicted sampling offsets in multi-scale layer. The sampled feature maps, as well as its own feature maps on the search frame, are aggregated through Aggregation Module in Section 3.3. Finally, the resulting aggregated feature maps of the search frame and the feature of template frame are then fed to the correlation filter layer to produce the tracking result. To explore more feature data for training Alignment Module, data augmentations are adopted including affine transformation to history frames. All the modules in this framework are trained end-to-end.

## 4.2. Inference

After off-line training, the learned network is used to perform online tracking. We fix backbone feature extraction network and other CNN layer but update parameters in correlation filter layer during the online tracking. The first frame of a video is set as template frame in tracking. Given a new frame, we crop and resize a search patch centered at the estimated position in the last frame. The historical frames are selected from previous frames of the search image with fixed window size T . Then the feature pyramid of historical frames are warped and aggregated to search patch with Alignment Module and Aggregation Module respectively. The estimation location of the search patch is obtained by finding the maximum value in the response score map of CF layer. To make tracker adaptive to appearance variations, we update our CF layer network frame-by-frame as [8]. To handle the scale changes, we carry out scale estimation followed the approach in [8] and use scale pyramid with the scale factors { α s | s = ⌊ -S -1 2 ⌋ , ..., ⌊ S -1 2 ⌋} .

## 5. Experiments

In this section, we first introduce the implementation details of experiments. Then, we perform in-depth analysis of SATA on various benchmark datasets including OTB2013 [37], OTB-2015 [38], VOT-2015 and VOT-2016 [21]. All the tracking results use the reported results to ensure a fair comparison. Finally, we present extensive ablation studies on the effect of spatial and temporal aggregation.

## 5.1. Implementation details

Training We implement the pre-trained VGG-16 model [30] as the backbone feature extraction network. Specifically, the output feature map of the Conv2, Conv4, Conv7, Conv10 layer are used to constructed feature pyramid. We apply 3 × 3 × 64 convolution layer as lateral to reduce and align the the channels of feature pyramid to 64. The feature map size for P , P 1 2 , P 3 are 62,31,15 respectively, The final output feature map size and response map size are both 125 × 125 . Align Module implement as described in section 3.2. Embedding subnetwork in spatial attention consists of three convolution layers ( 1 × × 1 32 3 , × × 3 32 1 , × × 1 64 ). The lateral layer, Align Module and embedding sub-network are initialized randomly. The parameters in backbone feature extractor are fixed after pre-trained using ImageNet [13]. We apply stochastic gradient descent (SGD) with momentum of 0.9 to end-to-end train the network and set the weight decay rate to 0.0005. The model is trained for 50 epochs with a learning rate of 10 -5 and mini-batch size of 32. The regularization coefficient λ for CF layer is set to 1e-4 and the Gaussian spatial bandwidth is 0.1.

Data dimensions Our training data comes from ILSVRC-

2015 [29], which consist of training and validation set. For each training samples, we randomly pick a pair of image as template and search image within the nearest 10 frames. Historical frames are selected among the nearest 20 frames of the search frame randomly. The historical frame number of aggregation is set to 3 in training. In each frame, patch is cropped around ground truth with a 2.0 padding and resized into 125 × 125 .

Inference In online tracking, scale step a and number S is set to 1.03 and 3, scale penalty and model updating rate is set to 0.993 and 0.01 for scale estimation. Hyperparameters in CF layer are seted as training. The learning rate for updating CF layer is 0.01. The proposed SATANET is implemented using Pytorch 4.0 [27] on a PC with an Intel i7 6700 CPU, 48 GB RAM, Nvidia GTX TITAN X GPU. Average tracking speed of the SATA is 26 FPS and the code will be made publicly available.

## 5.2. Results on OTB

OTB is a standard and popular tracking benchmark with contains 100 fully annotated videos. OTB-2013 contains 50 sequences, and OTB-2015 is the extension of OTB2013 which contains other 50 more difficult tracking video sequences. The evaluation of OTB is based on two metrics: center location error and bounding box overlap ratio. We follow the standard evaluation approaches of OTB and report the results based on success plots and precision plots of one-pass evaluation (OPE). We present the results on both OTB-2013 and OTB-2015.

OTB-2013 OPEis employed to compare our algorithm with the other 17 trackers from OTB-2013 benchmark, which including CCOT [12], ECO-HC [7], DeepSRDCF [10], SiamFC [3], et al. Figure 3 shows the results from all compared trakcers, our SATA tracker performs favorably against state of art trackers in both overlap and precision success. In the success plot, our approach obtain an AUC score of 0.698, significantly outperforms the winner of VOT2016 (CCOT). In the precision plot, our approach obtains a highest score of 0.920. For detailed performance analysis, we also report the performance under five video challenge attributes using one-pass evaluations in OTB2013 Figure 5 demonstrate that our SATA tracker effectively handles large appearance variations well caused by low resolution, illumination variations, in-plane and out-of-plane rotations while other trackers obtain lower scores.

OTB-2015 In this experiment, we compare our method against recent trackers on the OTB-2015 benchmark. Figure 4 illustrates the success and precision plots of OPE respectively. The results shows that our SATA tracker overall performs well. Specifically, our method achieves a success score of 0.661, which is far superior to other methods combining correlation filter and deep learning such as DeepSRDCF(0.635) and CFNet(0.568) [34].

Table 1. Comparison with the state-of-the-art trackers on the VOT 2016 dataset. The results are evaluated with expected average overlap (EAO), accuracy (mean overlap) and robustness (average number of failures).

|            |   SATA |   CCOT |   MDNet |   SiamFC |
|------------|--------|--------|---------|----------|
| EAO        |  0.319 |  0.331 |   0.257 |    0.277 |
| Accuracy   |  0.544 |  0.539 |   0.541 |    0.549 |
| Robustness |  0.243 |  0.238 |   0.337 |    0.382 |

## 5.3. Results on VOT

For completeness, we also present the evaluation results on benchmark datasets VOT-2015 and VOT-2016, which both consists of 60 identical challenging videos but the ground truth has been re-annotated in VOT-2016.

In VOT2015, we present a state-of-the-art comparison to the top 20 participants in the challenge under the evaluation metric expected average overlap (EAO). Figure 6 show that the performance of SATA ranks 2 nd after MDNet [26] only which is trained on OTB.

In VOT2016, we compare our SATA tracker with other state-of-the-art trackers including CCOT, MDNet and SiamFC. The performance of SATA is comparable to CCOT and better than SiamFC and MDNet. VOT-2016 report [21] defined the lower bound EAO of state-of-the-art tracker as 0.251. SATA tracker shows state-of-the-art performance according to this definition.

## 5.4. Results on LaSOT

To further validate SATA on a larger and more challenging scenario in the wild, we conduct experiments on LaSOT

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-e528997a-1b0f-4a2a-a209-461d451691bd.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-19f2457f-d6ca-45cb-acb1-43ae7c7f50c7.jpg)

Figure 3. Success and precision plots on OTB2013. The numbers in the legend indicate the representative the area-under-curve scores for success plots and precisions at 20 pixels for precision plots.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-94da093a-d805-48e5-b187-28d5b2d52bfa.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-2eee8252-864f-4c66-8a1e-1ed4e059a62f.jpg)

Figure 4. Precision and success plots on OTB2015.

|              |   SATA |   ECO |   ECO HC |   SATA (No agg) |
|--------------|--------|-------|----------|-----------------|
| Success rate |  0.331 | 0.324 |    0.304 |           0.3   |
| Precision    |  0.344 | 0.338 |    0.32  |           0.311 |

Table 2. Comparison with the state-of-the-art trackers on the LaSOT dataset. The results are evaluated with AUC score of success rate and precision as OTB.

without any parameters fine-tune [15]. The LaSOT dataset provides a large-scale annotations with 1,400 sequences and more 3.52 millions frames in the testing set. Table 2 reports the results of SATA on LaSOT testing set with protocol I. Without bells and whistles, the SATA achieves competitive results compared to recent outstanding trackers. Specifically, SATA increases AUC of success rate and precision significantly comoared to the baseline (SATA No agg).

## 5.5. Ablation study

In this section, we conduct ablation study on OTB2013 to illustrate the effectiveness of proposed components.We first analyze the contributions of multi-spatial feature aggregation. Then we illustrate how the number of historical frames affects visual object tracking performance.

Multi-scale feature aggregation analysis . To verify the superiority of proposed multi-scale feature aggregation strategy and to assess the contributions of feature aggregation on different layer in our algorithm, we implement and evaluate six variations of our approach. Two metric are used to evaluate the performance of different architectures, AUC means area under curve (AUC) of each success plot and FPS stands for mean speed. At first, the baseline is implemented that no aggregation is utilized (denoted by No Agg). Then the influence of number of layer for feature aggregation are tested. Historical frame number for this ablation experiments is T = 3 . Wepresent our results in Table 3, where P l , P l -1 and P l -2 represent aggregation layer in feature pyramid. The algorithm P P l l -1 Agg, which assembles two highest layer feature aggregation, gains the performance with more than 0.05 compared to the version of baseline(No Agg). However, the performance boosting is not obvious but along with speed decreasing when we used more aggregation feature layer ( P P l l -1 P l -2 Agg gains 0.006 than P P l l -1 Agg). P P l l -1 Agg makes a trade-off between speed and performance. P P l l -1 Agg operate on real time speed 26 FPS and AUC 0.677 when set T = 3 (last line in Table 3). As shown in 7, the shallow aggregation could favor fine-grained spatial details and the deep aggregation maintains semantic patterns, which demonstrates our coarse-to-fine fusion paradigm in spatial is important to preserve the location information and improve the activation for motion blur.

In a word, our comparison results show that the aggregation of lower-resolution and strong semantic feature maps could increase tracking robustness and performance.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-4976ac8e-a6a0-49f0-90a5-d0e1301d5a26.jpg)

(a)

Low resolution

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-97c4784a-a24c-4e9f-b405-4ece6a39dcfe.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-4140a5d6-d250-45b7-bd07-d1910485e95b.jpg)

(b)

Illumination variations

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-093781af-e7c4-431b-b9f3-c65462e89a6e.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-7760783f-527b-4fa2-bfe5-f533a80117bb.jpg)

(d)

Figure 5. Success plots with attributes on OTB2013

## 0.6 Expected overlap scores for baseline

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-bb5a5190-53c1-4b06-a135-7c0fd995a023.jpg)

Order

Figure 6. EAO ranking with the top 20 trackers in VOT-2015. The better trackers are located at the right.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-cf188234-63cf-4eaa-920f-425be3d2d315.jpg)

Temporal feature aggregation analysis . In online tracking, complementary features are derived from previous frames of the search image with fixed window size T , and T could influence the performance of tracking. More historical frames mean that tracker could aggregate more temporal and motion information, but more historical frames will also introduce greater appearance changes. Then we need choose a appropriate number of historical frames to make a trade off. Figure 8 (Top) illustrate how the number of historical frames affects tracking accuracy (AUC of success plots). We notice that AUC increases first and then decreases as we add more historical frames. We further explore the reason of performance degradation with aggregation weight analysis. Figure 8 (Bottom) shows average weight magnitudes w i - → τ i for different values of τ . This weight magnitudes could indicate how similar each historical frame is to the search frame. We note that historical frames that are further away from the search frame have small weights, which means greater difference between historical and search frame in feature embedding space. Hence, an aggregation of long-distance historical frames may introduce appearance bias to search frame.

Figure 7. Feature maps of BlurFace in OTB. Activations are high at frames t-2 and t-1 but low at frame t due to motion blur. After aggregation, the feature map at the t frame is improved.

| Method                  | P l          | P l - 1      | P l - 2      |   T |   AUC |   FPS |
|-------------------------|--------------|--------------|--------------|-----|-------|-------|
| No Agg                  | ×            | ×            | ×            |   3 | 0.646 |    62 |
| P l Agg                 | glyph[check] | ×            | ×            |   3 | 0.653 |    26 |
| P l - 1 Agg             | ×            | glyph[check] | ×            |   3 | 0.671 |    24 |
| P l - 2 Agg             | ×            | ×            | glyph[check] |   3 | 0.662 |    21 |
| P l P l - 1 Agg         | glyph[check] | glyph[check] | ×            |   3 | 0.692 |    19 |
| P l P l - 1 P l - 2 Agg | glyph[check] | glyph[check] | glyph[check] |   3 | 0.698 |    14 |
| P l P l - 1 Agg         | glyph[check] | glyph[check] | glyph[check] |   2 | 0.677 |    26 |

Table 3. Configurations of ablation study.

Figure 8. A figure illustrating some of our ablation experiments. Top: we plot AUC of success plots as a function of the number of historical frames. Bottom: The contribution of each historical frames are represented with average weight magnitudes w i - → τ i .

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-4c3032cc-487f-43f5-a3ed-17a84c84a02a.jpg)

In plane rotation

(e) Out of plane rotation

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00692v1-figure-1630ce8b-a8bf-4348-ab93-62b1b6364491.jpg)

## 6. Conclusion

In this work, we propose a end-to-end spatial-aware Temporal Aggregation Network for Visual Object Tracking(SATA) which makes use of the rich information from multi-scale and variable-length temporal windows of historical frames. We developed a Aligned Module using deformable ConvNets to estimate the motion changing of multi-spatial resolution feature map across frames, and features of historical frame are sampled and aggregated to search frame with pixel-level alignment and multi-scale aggregation. In experiments, our method achieves leading performance in OTB2013, OTB2015, VOT2015, VOT2016 and LaSOT and operates at real time speed of 26 FPS.

## References

- [1] N. Ballas, L. Yao, C. Pal, and A. C. Courville. Delving deeper into convolutional networks for learning video representations. In 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016, Conference Track Proceedings , 2016. 2
- [2] G. Bertasius, L. Torresani, and J. Shi. Object detection in video with spatiotemporal sampling networks. In Computer Vision - ECCV 2018 - 15th European Conference, Munich, Germany, September 8-14, 2018, Proceedings, Part XII , pages 342-357, 2018. 1, 2, 3
- [3] L. Bertinetto, J. Valmadre, J. F. Henriques, A. Vedaldi, and P. H. S. Torr. Fully-convolutional siamese networks for object tracking. In Computer Vision - ECCV 2016 Workshops -Amsterdam, The Netherlands, October 8-10 and 15-16, 2016, Proceedings, Part II , pages 850-865, 2016. 2, 6
- [4] G. Bhat, J. Johnander, M. Danelljan, F. S. Khan, and M. Felsberg. Unveiling the power of deep tracking. In Computer Vision - ECCV 2018 - 15th European Conference, Munich, Germany, September 8-14, 2018, Proceedings, Part II , pages 493-509, 2018. 1, 2
- [5] D. S. Bolme, J. R. Beveridge, B. A. Draper, and Y. M. Lui. Visual object tracking using adaptive correlation filters. In The Twenty-Third IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2010, San Francisco, CA, USA, 13-18 June 2010 , pages 2544-2550, 2010. 1, 2
- [6] J. Dai, H. Qi, Y. Xiong, Y. Li, G. Zhang, H. Hu, and Y. Wei. Deformable convolutional networks. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017 , pages 764-773, 2017. 2, 4
- [7] M. Danelljan, G. Bhat, F. S. Khan, and M. Felsberg. ECO: efficient convolution operators for tracking. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017 , pages 6931-6939, 2017. 6
- [8] M. Danelljan, G. H¨ ager, F. S. Khan, and M. Felsberg. Accurate scale estimation for robust visual tracking. In British Machine Vision Conference, BMVC 2014, Nottingham, UK, September 1-5, 2014 , 2014. 6
- [9] M. Danelljan, G. H¨ ager, F. S. Khan, and M. Felsberg. Convolutional features for correlation filter based visual tracking.
- In 2015 IEEE International Conference on Computer Vision Workshop, ICCV Workshops 2015, Santiago, Chile, December 7-13, 2015 , pages 621-629, 2015. 1, 2
- [10] M. Danelljan, G. H¨ ager, F. S. Khan, and M. Felsberg. Learning spatially regularized correlation filters for visual tracking. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, December 7-13, 2015 , pages 4310-4318, 2015. 2, 3, 6
- [11] M. Danelljan, F. S. Khan, M. Felsberg, and J. van de Weijer. Adaptive color attributes for real-time visual tracking. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2014, Columbus, OH, USA, June 23-28, 2014 , pages 1090-1097, 2014. 1, 2
- [12] M. Danelljan, A. Robinson, F. S. Khan, and M. Felsberg. Beyond correlation filters: Learning continuous convolution operators for visual tracking. In Computer Vision - ECCV 2016 - 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part V , pages 472-488, 2016. 6
- [13] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and F. Li. Imagenet: A large-scale hierarchical image database. In 2009 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2009), 20-25 June 2009, Miami, Florida, USA , pages 248-255, 2009. 2, 6
- [14] A. Dosovitskiy, P. Fischer, E. Ilg, P. H¨ ausser, C. Hazirbas, V. Golkov, P. van der Smagt, D. Cremers, and T. Brox. Flownet: Learning optical flow with convolutional networks. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, December 7-13, 2015 , pages 2758-2766, 2015. 2, 3
- [15] H. Fan, L. Lin, F. Yang, P. Chu, G. Deng, S. Yu, H. Bai, Y. Xu, C. Liao, and H. Ling. Lasot: A high-quality benchmark for large-scale single object tracking. CoRR , abs/1809.07845, 2018. 7
- [16] E. Gundogdu and A. A. Alatan. Good features to correlate for visual tracking. IEEE Trans. Image Processing , 27(5):2526-2540, 2018. 1, 2, 3, 5
- [17] J. F. Henriques, R. Caseiro, P. Martins, and J. Batista. Highspeed tracking with kernelized correlation filters. IEEE Trans. Pattern Anal. Mach. Intell. , 37(3):583-596, 2015. 1, 2
- [18] J. F. Henriques, R. Caseiro, P. Martins, and J. P. Batista. Exploiting the circulant structure of tracking-by-detection with kernels. In Computer Vision - ECCV 2012 - 12th European Conference on Computer Vision, Florence, Italy, October 713, 2012, Proceedings, Part IV , pages 702-715, 2012. 1
- [19] P. Hu, G. Wang, X. Kong, J. Kuen, and Y. Tan. Motionguided cascaded refinement network for video object segmentation. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 18-22, 2018 , pages 1400-1409, 2018. 3
- [20] E. Ilg, N. Mayer, T. Saikia, M. Keuper, A. Dosovitskiy, and T. Brox. Flownet 2.0: Evolution of optical flow estimation with deep networks. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017 , pages 1647-1655, 2017. 2, 3
- [21] M. Kristan, J. Matas, A. Leonardis, M. Felsberg, L. Cehovin, G. Fern´ andez, T. Voj´ ır, G. H¨ ager, G. Nebehay, and R. P.
- Pflugfelder. The visual object tracking VOT2015 challenge results. In 2015 IEEE International Conference on Computer Vision Workshop, ICCV Workshops 2015, Santiago, Chile, December 7-13, 2015 , pages 564-586, 2015. 6, 7
- [22] H. Li, Y. Li, and F. Porikli. Deeptrack: Learning discriminative feature representations online for robust visual tracking. IEEE Trans. Image Processing , 25(4):1834-1848, 2016. 2
- [23] T. Lin, P. Doll´ ar, R. B. Girshick, K. He, B. Hariharan, and S. J. Belongie. Feature pyramid networks for object detection. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017 , pages 936-944, 2017. 3
- [24] H. Lu, P. Li, and D. Wang. Visual object tracking: A survey. Pattern Recognition and Artificial Intelligence , 31(1):61-76, 2018. 1
- [25] C. Ma, J. Huang, X. Yang, and M. Yang. Hierarchical convolutional features for visual tracking. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, December 7-13, 2015 , pages 3074-3082, 2015. 2
- [26] H. Nam and B. Han. Learning multi-domain convolutional neural networks for visual tracking. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016 , pages 42934302, 2016. 7
- [27] A. Paszke, S. Gross, S. Chintala, and G. Chanan. Pytorch: Tensors and dynamic neural networks in python with strong gpu acceleration. PyTorch: Tensors and dynamic neural networks in Python with strong GPU acceleration , 2017. 6
- [28] A. Ranjan and M. J. Black. Optical flow estimation using a spatial pyramid network. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017 , pages 2720-2729, 2017. 3
- [29] O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. S. Bernstein, A. C. Berg, and F. Li. Imagenet large scale visual recognition challenge. International Journal of Computer Vision , 115(3):211-252, 2015. 2, 6
- [30] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings , 2015. 6
- [31] Y. Song, C. Ma, X. Wu, L. Gong, L. Bao, W. Zuo, C. Shen, R. W. H. Lau, and M. Yang. VITAL: visual tracking via adversarial learning. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 18-22, 2018 , pages 8990-8999, 2018. 1
- [32] S. Tripathi, Z. C. Lipton, S. J. Belongie, and T. Q. Nguyen. Context matters: Refining object detection in video with recurrent neural networks. In Proceedings of the British Machine Vision Conference 2016, BMVC 2016, York, UK, September 19-22, 2016 , 2016. 2
- [33] Z. Tu, W. Xie, D. Zhang, R. Poppe, R. C. Veltkamp, B. Li, and J. Yuan. A survey of variational and cnn-based optical flow techniques. Sig. Proc.: Image Comm. , 72:9-24, 2019.
- [34] J. Valmadre, L. Bertinetto, J. F. Henriques, A. Vedaldi, and P. H. S. Torr. End-to-end representation learning for correlation filter based tracking. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017 , pages 5000-5008, 2017. 1, 2, 5, 6
- [35] N. Wang, W. Zhou, Q. Tian, R. Hong, M. Wang, and H. Li. Multi-cue correlation filters for robust visual tracking. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 1822, 2018 , pages 4844-4853, 2018. 2
- [36] Q. Wang, J. Gao, J. Xing, M. Zhang, and W. Hu. Dcfnet: Discriminant correlation filters network for visual tracking. CoRR , abs/1704.04057, 2017. 1, 2, 5
- [37] Y. Wu, J. Lim, and M. Yang. Online object tracking: A benchmark. In 2013 IEEE Conference on Computer Vision and Pattern Recognition, Portland, OR, USA, June 23-28, 2013 , pages 2411-2418, 2013. 6
- [38] Y. Wu, J. Lim, and M. Yang. Object tracking benchmark. IEEE Trans. Pattern Anal. Mach. Intell. , 37(9):1834-1848, 2015. 6
- [39] F. Xiao and Y. J. Lee. Video object detection with an aligned spatial-temporal memory. In Computer Vision - ECCV 2018 - 15th European Conference, Munich, Germany, September 8-14, 2018, Proceedings, Part VIII , pages 494-510, 2018. 1, 2, 3
- [40] H. Xiao, J. Feng, G. Lin, Y. Liu, and M. Zhang. Monet: Deep motion exploitation for video object segmentation. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 18-22, 2018 , pages 1140-1148, 2018. 3
- [41] L. Yang, Y. Wang, X. Xiong, J. Yang, and A. K. Katsaggelos. Efficient video object segmentation via network modulation. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 1822, 2018 , pages 6499-6507, 2018. 3
- [42] J. Yosinski, J. Clune, A. M. Nguyen, T. J. Fuchs, and H. Lipson. Understanding neural networks through deep visualization. CoRR , abs/1506.06579, 2015. 3
- [43] X. Zhu, Y. Wang, J. Dai, L. Yuan, and Y. Wei. Flow-guided feature aggregation for video object detection. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017 , pages 408-417, 2017. 1, 2, 3, 5
- [44] Z. Zhu, W. Wu, W. Zou, and J. Yan. End-to-end flow correlation tracking with spatial-temporal attention. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, Salt Lake City, UT, USA, June 18-22, 2018 , pages 548-557, 2018. 2, 3
Tao Hu Lichao Huang Xianming Liu Han Shen
Real Time Visual Tracking using Spatial-Aware Temporal Aggregation Network
More powerful feature representations derived from deep neural networks
benefit visual tracking algorithms widely. However, the lack of exploitation on
temporal information prevents tracking algorithms from adapting to appearances
changing or resisting to drift. This paper proposes a correlation filter based
tracking method which aggregates historical features in a spatial-aligned and
scale-aware paradigm. The features of historical frames are sampled and
aggregated to search frame according to a pixel-level alignment module based on
deformable convolutions. In addition, we also use a feature pyramid structure
to handle motion estimation at different scales, and address the different
demands on feature granularity between tracking losses and deformation offset
learning. By this design, the tracker, named as Spatial-Aware Temporal
Aggregation network (SATA), is able to assemble appearances and motion contexts
of various scales in a time period, resulting in better performance compared to
a single static image. Our tracker achieves leading performance in OTB2013,
OTB2015, VOT2015, VOT2016 and LaSOT, and operates at a real-time speed of 26
FPS, which indicates our method is effective and practical. Our code will be
made publicly available at
\href{https://github.com/ecart18/SATA}{https://github.com/ecart18/SATA}.