---
title: "TCTrack: Temporal Contexts for Aerial Tracking (2022)"
description: "TCTrack uses earlier video frames to extract better visual features and refine where an aerial tracker expects to find its target."
canonical: "https://research.elamur.ai/free/en/papers/cao-2022-tctrack-temporal-contexts-aerial-tracking/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/cao-2022-tctrack-temporal-contexts-aerial-tracking/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / TCTrack: Temporal Contexts for Aerial Tracking

# TCTrack: Temporal Contexts for Aerial Tracking

Paper · 2022 · Ziang Cao, Ziyuan Huang, Liang Pan et al.

**Authors:** Ziang Cao, Ziyuan Huang, Liang Pan, [Shiwei Zhang](https://md.research.elamur.ai/free/en/authors/shiwei-zhang/), [Ziwei Liu](https://md.research.elamur.ai/free/en/authors/ziwei-liu/) and Changhong Fu · **Year:** 2022 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**272** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4312735552) · Cited by **6** papers in our library of more than 163,000 papers whose bibliographies we read · [IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings](https://openalex.org/S4210176548) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/2203.01885)
- [DOI 10.1109/cvpr52688.2022.01438](https://doi.org/10.1109/cvpr52688.2022.01438)
- [arXiv 2203.01885](https://arxiv.org/abs/2203.01885)
- [OpenAlex](https://openalex.org/W4312735552)

Citations: OpenAlex, 2026-10-14.

## Summary

An aerial tracker has to keep finding the same object as both the object and the aircraft move. The target may look different from one frame to the next, and blur or an obstruction can briefly erase the details that made it recognizable. TCTrack asks how much a tracker can gain by using information it already collected from the video. The authors put that information to work at two points. They change how the tracker extracts visual features from the current image, and they use a running record of earlier evidence to refine its estimate of where the target is.

The first change lets selected convolutional layers adjust their weights and biases as the video unfolds. A convolution detects patterns in a small neighborhood of an image or feature map. TCTrack adjusts those operations using compact summaries of the current frame and recent frames, keeping the image processing spatial while making it sensitive to time. The second change acts on a similarity map, which records how well different parts of the search image match the target. The tracker updates a learned state from that map and the previous state. Attention then uses the resulting state to refine the map before the tracker predicts a location and bounding box. The state occupies a fixed amount of space as the sequence grows.

The authors compare TCTrack with 51 existing trackers across four public aerial tracking benchmarks. On the long-term UAVTrack112 L benchmark, TCTrack records a success score of 0.582 and precision of 0.786, the highest values in the comparison reported for that dataset. On DTB70, which emphasizes difficult motion, it leads the lightweight comparison and remains competitive against deeper trackers. The paper reports 125.6 frames per second on a PC and over 27 frames per second during flight tests on an NVIDIA Jetson AGX Xavier. The onboard tests include partial occlusion, dim lighting, blur and camera motion.

The controlled experiments explain why keeping a history is only part of the solution. On UAV123, training the attention stage on multiple frames without its information filter lowered overall success relative to the single-frame comparison. With filtering, initialization from the target’s first observation and the authors’ attention arrangement, overall success reached 0.604 in the attention-stage study. The convolution study also favored using recent history over calibrating from the current frame alone. Together these tests support a tracker that decides what to carry forward and how to use it. The authors leave behavior over very long intervals and during prolonged occlusion open.

## Deep dive: TCTrack: Temporal Contexts for Aerial Tracking

TCTrack uses earlier video frames to extract better visual features and refine where an aerial tracker expects to find its target. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Keeping track of an object through a changing view

A single-object tracker begins with a particular target. Its task as each new image arrives is to maintain the correspondence between that target and a region of the image. A useful prediction therefore has to answer which region contains the same object and how much of the image it occupies. This becomes difficult when the evidence that helped distinguish the object in the first image is less clear later on. A sharp outline can become a streak. A visible object can pass behind something else. A change in viewpoint or apparent size can make the same object look quite different.

An aerial video adds a moving camera to that problem. An object can change its position in the image because it moved, because the aircraft moved or because both did. Severe camera motion can shift the background as well as the target. A tracker has to use whatever evidence is available in the new frame without treating the last location or appearance as a fixed answer. At the same time, observations shortly before a difficult frame can contain visual evidence that the new image lacks. The paper motivates aerial tracking with applications that include analyzing moving objects, surveying and localizing from images.

A tracker running aboard an aircraft also has to produce its estimates promptly. The authors emphasize the processing constraints of airborne hardware because an approach that runs comfortably on a PC can be impractical on a smaller computer. Adding temporal information creates a resource question alongside the recognition question. The system has to choose what to retain, how to incorporate it into the next decision and how much work that incorporation entails at each frame.

One relevant unit of work is the search for a target in the current image. In tracking by detection, the tracker repeatedly evaluates candidate locations as frames arrive. In a Siamese tracker, a template represents the target, and a second input covers the region searched for it. Related feature extractors turn both images into representations that can be compared. Matching them produces a spatial response, giving the tracker evidence about where the target is likely to be. This division makes it possible to distinguish the evidence that comes from the template, the evidence that comes from the search image and the decisions made after comparing them.

#### How earlier trackers used time

The paper traces fast tracking by detection through the MOSSE filter and later discriminative correlation filter approaches. These methods use a learned filter to produce a response over possible target locations. The authors attribute their appeal for aerial deployment to efficient computation in the Fourier domain, where the relevant operations can be carried out with modest resource demands. They also identify difficulty with rapid movement and large changes in the target’s appearance. Some work in that family already uses previous responses, imposing a penalty when the response map changes over time so that earlier maps guide the new one.

Siamese networks give the comparison a learned feature representation. They extract patterns from the template and search inputs before determining where the target matches. The paper describes this family as attractive for both tracking quality and speed and notes earlier attempts to make such trackers practical aboard aircraft. A system can still compare a new search image with a stored template using a feature extractor that processes the two inputs independently of the intervening frames. The template gives the tracker a reference to an earlier observation, while the matching computation has limited access to how the target has changed since then.

Dynamic templates are one way around that gap. The paper describes prior Siamese tracking work that incorporates historical appearance by combining feature representations. Some methods concatenate them or learn a weighted sum. Others use a graph, attention or a memory mechanism to select or combine evidence. The common aim is to make the representation of the target more useful as its appearance changes. The authors locate much of the prior temporal work on the template side of the pipeline, where it changes what the current image is being compared with.

TCTrack examines what the tracker could do with history at other stages. Before matching, it asks whether features extracted from the current image can benefit from knowledge of the recent images. After matching, it asks whether past evidence can help the tracker interpret the current response. The first question concerns which visual patterns the convolutional layers emphasize. The second concerns how much confidence to place in the resulting pattern of matches. The paper chooses separate mechanisms because the information available at those stages is different.

The distinction matters in cases where several regions resemble the target. In the feature extractor, the immediate opportunity is to change the representation on which the comparison will operate. Once the tracker has made the comparison, it has a map of competing matches that can be refined using earlier evidence. A changed representation can produce a more useful starting map. The later stage still has work to do when that map is ambiguous. These are complementary intervention points within one search for the target.

#### From video recognition to online tracking

The authors also draw on research that treats time as part of a video representation. They describe supervised work that connects neighboring images using spatiotemporal convolution, convolution across time or shifts of features across frames. They point to self-supervised work that learns by predicting future information, solving rearranged video puzzles or classifying apparent motion. Those examples establish the broader problem of learning from frame order. The closest architectural precedent in the paper is temporally adaptive convolution for video understanding, where the convolution itself can change with the input sequence.

Tracking places a specific constraint on that idea. A live tracker must give an answer for the frame it has just received. Its feature extractor can consult earlier observations and the current input, while later images will only become available for later decisions. TCTrack’s adaptation is to compute the adjustment from summaries it can maintain as the sequence arrives. The feature maps for recent frames need not all stay in memory for a new convolution to use their context.

The paper uses the term temporal context for information derived from observations ordered in time. In TCTrack this covers both recent frame descriptors and a state that is repeatedly updated. The descriptor history has an explicit length. The state at the matching stage can in principle carry forward effects from much earlier frames, because the old state participates in each update. These two meanings of history explain much of the architecture and also set up different questions for evaluation. A change to the descriptor queue tests how much recent evidence the feature extractor can use. A change to the attention mechanism tests what happens when the tracker keeps passing on its interpretation of earlier matches.

### The method, step by step

#### From a target image to a bounding box

The architecture starts with a template image of the target and a search image from the current frame. It extracts a feature map from each. A feature map preserves spatial positions and assigns each position a set of channels that capture different visual patterns. Comparing the two feature maps yields a similarity map. A high response at a search location provides evidence that the region resembles the target under the learned representation.

TCTrack changes this pipeline on both sides of that comparison. Its temporally adaptive convolutional network, TAdaCNN, contains layers whose parameters are calibrated for the current frame. The adaptive temporal [transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/) mechanism, called AT-Trans, works with the similarity map after the template and search features have been compared. It has an encoder that updates the state carried between frames, and a decoder that uses the updated state to refine the current map. The prediction stage uses the refined map for classification and regression. Classification scores candidate target locations. Regression estimates the geometry of the target box.

How TCTrack processes an incoming frame The steps in order.

The memory used at the two stages has different content. The feature extractor keeps summaries of layer inputs in a short queue. That information is suitable for adjusting the operation that extracts features. The encoder carries a representation learned from matching maps, which contain evidence about the relationship between the template and search regions. The decoder combines the state derived from those maps with the current evidence. During tracking, the same kinds of updates recur for each new image.

The paper uses *online* to describe processing as the frames arrive. Learned parameters such as the base convolution weights and the attention projections come from training. During tracking, the data-dependent quantities change, including the calibration factors, the resulting frame-specific weights and the temporal state. Understanding that difference is important because changes to the weights during inference here follow directly from the calibration network. The per-frame procedure described by the authors computes them from features already available to it.

#### Adapting the feature extractor online

An ordinary convolutional layer applies the same learned filters as it processes the successive images of a tracking sequence. In TCTrack’s online temporally adaptive convolution, called TAdaConv, the base filters are still learned. The layer scales them using information about the current and recent inputs. A calibration step therefore changes the relative emphasis of the learned filters as the appearance of the scene changes.

```
X̃ₜ = Wₜ ∗ Xₜ + bₜ
```

Here `t` is the frame index. `Xₜ` is the input feature map at the adaptive layer, and `X̃ₜ` is the output of that layer. `Wₜ` is its frame-specific convolution weight and `bₜ` is its frame-specific bias. The symbol `∗` denotes convolution in this expression. The bias is added to the convolution’s result.

```
Wₜ = Wᵦ · αʷₜ
```

`Wₜ` is computed from the learned base weight `Wᵦ` and the weight calibration factor `αʷₜ` for frame `t`. The raised `w` identifies the weight factor. The dot denotes scaling the base weight by that factor. The calibration step changes the operation applied to the current feature map through this product.

```
bₜ = bᵦ · αᵇₜ
```

`bₜ` is the bias for frame `t`, `bᵦ` is the learned base bias, and `αᵇₜ` is the bias calibration factor. The raised `b` on the factor identifies bias, and the dot again denotes scaling. The weight and bias use separate factors, so their adjustments need not follow the same pattern.

The calibration network takes compact descriptions of the layer inputs. Global average pooling averages each channel over its spatial positions. The output preserves a value for each channel, giving the calibration step an indication of how strongly each kind of feature is present across the map as a whole. The main convolution still processes the spatial feature map. Pooling is used on the path that determines the parameters for that operation.

```
X̂ₜ = GAP(Xₜ)
```

`Xₜ` is the input at frame `t`, `GAP` is global average pooling and `X̂ₜ` is the resulting frame descriptor. The hat distinguishes the pooled vector from the spatial input. The descriptor has `C` entries, where `C` is the number of feature channels. It is much more compact than the spatial map from which it came.

```
X̂ = Cat(X̂ₜ, X̂ₜ₋₁, …, X̂ₜ₋L₊₁)
```

`X̂` is the descriptor queue, with shape `L × C`. `L` is the number of descriptor slots and `C` is the size of each descriptor. `Cat` concatenates the vectors in the stated order. The subscript `t` refers to the incoming frame, `t−1` to its immediate predecessor and `t−L+1` to the oldest frame in a full queue. The ellipsis represents the intervening descriptors. When the sequence is too young to fill the queue with distinct observations, the authors repeat the first frame’s descriptor, `X̂₁`, in the missing slots.

Including the current descriptor makes the operation sensitive to what has just arrived as well as to recent history. It is possible to generate that descriptor before calibrating the convolution because the descriptor comes from the layer’s input. After the queue fills, each new descriptor enters the same fixed-size structure and the oldest descriptor drops out. A feature stored for this purpose is a channel summary, so the cost of keeping it is tied to the number of channels and the queue length instead of the area of the feature map.

```
αʷₜ = Fʷ(X̂) + 1
```

`Fʷ` is the convolution over the queue `X̂` that generates the weight adjustment. Its temporal kernel has length `L`, covering the descriptor slots. `αʷₜ` is the resulting weight calibration factor for frame `t`. The added `1` is the identity value for the scaling of the base filter. The authors initialize the weights of the calibration operation to zero so the adjustment starts at that identity.

```
αᵇₜ = Fᵇ(X̂) + 1
```

`Fᵇ` is the separate convolution over the same queue for bias calibration. `αᵇₜ` is its factor for frame `t`, and the added `1` serves the same role for the base bias. With the authors’ initialization the layer begins with the base weight and base bias. Training can then make the adjustment depend on the observations in the queue.

There is a useful difference between the two operations called convolution here. The calibration convolutions work over the sequence of pooled descriptors and produce factors. The calibrated convolution works on spatial features and produces a new spatial map. The approach places most of the direct interaction between frames in the compact descriptor path. It still lets that interaction change the features the tracker obtains across the search region.

TCTrack uses the adaptive operation in the last two convolutional layers of its backbone. A backbone is the shared feature extractor on which the rest of the tracking computation depends. The authors use AlexNet, starting from its ImageNet-pretrained weights, and adapt the selected layers. This leaves the earlier stages in place while making the features supplied to the matching stage sensitive to the input sequence. The paper distinguishes its online operation from the video-understanding approach on which it builds. [ImageNet Classification with Deep Convolutional Neural Networks](https://md.research.elamur.ai/free/en/papers/krizhevsky-2012-imagenet-classification-deep-convolutional/) · [ImageNet Large Scale Visual Recognition Challenge](https://md.research.elamur.ai/free/en/papers/russakovsky-2014-imagenet-large-scale-visual-recognition/)

#### Producing the map of candidate matches

The tracker compares features from the template and search inputs by depthwise correlation. The search region can contain the target at different positions. Correlation evaluates how well the template features align with search features at those positions. Depthwise correlation performs the comparison separately by channel, leaving a spatial pattern of responses for each matching channel.

```
Rₜ = ϕᵗᵃᵈᵃ(Z) ⋆ ϕᵗᵃᵈᵃ(Xₜ)
```

`Rₜ` is the similarity map at time `t` from correlation. `ϕᵗᵃᵈᵃ` denotes the temporally adaptive backbone, `Z` is the target template and `Xₜ` in this expression is the current search input. The paper also uses `Xₜ` for an input internal to an adaptive layer when discussing that layer in isolation. `⋆` here denotes depthwise correlation. The two terms on either side of it are the features supplied by the backbone for the template and the search region.

```
Fₜ = F(Rₜ)
```

`Rₜ` is the correlation output for frame `t`, `F` is a convolutional layer applied to that output and `Fₜ` is the map passed into AT-Trans. Terms with `F` and a time subscript denote feature maps in the attention stage. The unadorned `F` in a function call denotes a convolution, with different convolutional operations used where the architecture calls for them. The weight and bias calibration functions above belong to the earlier feature extractor.

By the time the map reaches AT-Trans, temporal context has already affected the features that produced it. The map remains a measurement of the current match. It can show several plausible candidates, and the strongest raw response may be unstable when the current image is hard to interpret. The encoder treats this map as the new evidence to be integrated. The decoder later starts from the same current map when constructing the representation for prediction.

#### How attention combines maps

The attention operations used in AT-Trans distinguish queries, keys and values. A query represents what a location wants to find. Keys are representations against which it can be compared. Values provide the content gathered from those comparisons. In the formula, similarity between queries and keys determines the weights applied to the values. Changing which map supplies the queries, keys or values therefore changes both the comparisons and the information they can return. This is the attention construction introduced in [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/).

```
Attention(Q, K, V) = Softmax(QKᵀ / √d)V
```

`Attention` is the operation, and `Q`, `K` and `V` are matrices of queries, keys and values. `Kᵀ` is the transpose of the key matrix. The product `QKᵀ` gives query–key scores, which are divided by the square root of `d`, the scale term. `Softmax` converts the scores for a query into normalized weights across keys. Multiplication by `V` returns combinations of the value vectors according to those weights. `T` denotes transpose and `√` denotes a square root.

```
Hₙᵃᵗᵗ = Attention(QWₙᑫ, KWₙᵏ, VWₙᵛ)
```

`Hₙᵃᵗᵗ` is the result from attention head `n`. `Q`, `K` and `V` are the input queries, keys and values before projection. `Wₙᑫ`, `Wₙᵏ` and `Wₙᵛ` are the learned matrices that project them for that head. The superscripts `q`, `k` and `v` identify the role of each projection. Each matrix maps a channel width of `Cᵢ` to a head width of `Cₕ`. This gives the parallel heads separate learned representations of the maps they are comparing.

```
MultiHead(Q, K, V) = Cat(H₁ᵃᵗᵗ, …, Hₙᵃᵗᵗ, …, Hₙ₌ₙₘₐₓᵃᵗᵗ)W
```

`MultiHead` is the combined operation. `Q`, `K` and `V` name the inputs shared by the heads before their individual projections. `Cat` joins their outputs along the channel dimension. `H₁ᵃᵗᵗ` is the first head’s output, `Hₙᵃᵗᵗ` is any intervening head’s output and `Hₙ₌ₙₘₐₓᵃᵗᵗ` denotes the last one, where `nₘₐₓ` is the total number of heads. The ellipses indicate the remaining heads, and `W` is the learned output projection with shape `Cᵢ × Cᵢ`. The authors use 6 heads, each with a channel width equal to the input channel width divided by 6.

Attention lets a position draw on evidence across the map. In some of the operations, the three inputs come from the same map, an arrangement called self-attention. Other operations mix maps. The authors use this flexibility to allocate different roles to current evidence and accumulated state. Which role gets the current map is an explicit architecture choice that they test in the ablations.

#### Updating the state in the encoder

The encoder receives the current similarity representation and the state saved after the previous frame. The authors call the saved state temporal prior knowledge. It is a learned feature representation and enters the attention process as an input. Its role is to carry information about past matching evidence into the current computation.

In the first encoder operation, the previous state supplies the queries while the current map supplies the keys and values. The earlier representation can thus influence which parts of the current map matter, and the content returned by attention comes from current evidence. The authors use this arrangement to emphasize the frame for which the tracker needs to make a decision.

```
Fₜ¹ = Norm(Fₜ + MultiHead(Fₜ₋₁ᵐ, Fₜ, Fₜ))
```

`Fₜ` is the current similarity representation and `Fₜ₋₁ᵐ` is the temporal state from the preceding frame. The raised `m` marks the carried state. The argument order of `MultiHead` is query, key, value. The attention result is added to `Fₜ`, giving the block a direct path for the current representation. `Norm` denotes layer normalization, applied after that addition. `Fₜ¹` names the stage’s output.

```
Fₜ² = Norm(Fₜ¹ + MultiHead(Fₜ¹, Fₜ¹, Fₜ¹))
```

`Fₜ¹` supplies all three attention inputs, so this block relates positions within the representation just produced. Its attention output is added to `Fₜ¹` and then passed through layer normalization `Norm`. `Fₜ²` is the result. The raised `1` and `2` in these names distinguish the successive maps in the encoder. They are stage labels.

The temporal information filter uses both of these maps. Its job is to limit the effect of unreliable evidence introduced by conditions such as occlusion and blur. It derives an adjustment from a pooled description of the first map and uses that adjustment to modulate a contribution computed from the two maps together. The pooling makes the adjustment depend on the content of the current representation as a whole.

```
α = FFN(GAP(F(Fₜ¹)))
```

`Fₜ¹` is the first encoder map. The function `F` is a convolution applied before `GAP`, which averages the resulting features over space. `FFN` is a feed-forward network receiving the pooled descriptor. It produces `α`, the filter’s adaptive factor. This `α` belongs to the temporal information filter in AT-Trans. The calibration factors in TAdaConv come from a different input and adjust a different operation.

```
Fₜᶠ = Fₜ² + F(Cat(Fₜ², Fₜ¹)) ∗ α
```

`Fₜ¹` and `Fₜ²` are the successive encoder maps for frame `t`. `Cat` joins the two maps, and the convolution `F` turns the joined representation into a contribution to the filter output. In this expression the product `∗ α` applies the factor `α` to that contribution. The result is added to `Fₜ²`, so the second attention stage also has a direct path to the output. `Fₜᶠ` denotes the resulting filtered map, with `f` marking the filter stage.

This arrangement allows the new state to depend on both stages of the comparison. The first stage mixed previous and current evidence. The second organized that mixture through self-attention. The learned factor acts on a contribution formed from both and can vary with the incoming content. The authors test whether adding this filter matters, especially when multiple frames contribute evidence during training.

```
Fₜᵐ = Norm(Fₜᶠ + MultiHead(Fₜᶠ, Fₜᶠ, Fₜᶠ))
```

`Fₜᶠ` is the filtered map for the current frame and provides the query, key and value inputs to `MultiHead`. The self-attention output is added to `Fₜᶠ` and passed through layer normalization `Norm`. `Fₜᵐ` is the new temporal state. It goes to the decoder for the current prediction and takes the place of `Fₜ₋₁ᵐ` in the encoder’s input for the following frame.

The storage advantage follows from this replacement. The encoder needs the current map and the representation carried from the preceding step to update the state. Each new state can reflect evidence that reached the previous one. Keeping fewer maps puts the burden of retaining useful historical evidence on the learned update itself. The memory reserved for the state keeps the same shape as the sequence grows, even when the evidence that has influenced it comes from many frames.

#### Starting the state from the target

At the start of tracking, there is no preceding state. The authors initialize it from the first similarity response so the initial representation depends on the target. That response is already built from a comparison involving the template, which makes it a source of object-specific evidence at the very point where a history would otherwise be empty.

```
F₀ᵐ = Fᵢₙᵢₜ(R₁)
```

`F₀ᵐ` is the initial temporal state and `Fᵢₙᵢₜ` is the convolution that constructs it. The formula labels the initial correlation response `R₁`. The accompanying explanation describes initialization from the initial similarity map. The operational point is that the seed is a learned transformation of the first response for this target. The controlled comparison later substitutes random initialization to test the value of that starting information.

This initialization serves a different purpose from filling empty descriptor slots with the first frame in TAdaConv. Padding supplies the inputs required by a convolution over a queue of a fixed length. Initialization supplies an object-specific state to an encoder that will then revise it. Both let the architecture work at the beginning of a sequence, when there is little or no prior evidence to consult.

#### Refining the current prediction in the decoder

The decoder keeps the estimation of the current target location tied to the current similarity map. It first applies self-attention directly to that map. The resulting representation supplies queries for an operation that uses the new temporal state as keys and the current map as values. The current prediction can therefore benefit from a history-informed comparison while gathering its content from present matching evidence.

```
Fₜ³ = Norm(Fₜ + MultiHead(Fₜ, Fₜ, Fₜ))
```

`Fₜ` is the similarity representation before refinement and supplies queries, keys and values. `MultiHead` produces self-attention over that map. Its output is added to the input and then layer-normalized by `Norm`. `Fₜ³` denotes the result of this decoder stage.

```
Fₜ⁴ = Norm(Fₜ³ + MultiHead(Fₜ³, Fₜᵐ, Fₜ))
```

`Fₜ³` supplies the queries, `Fₜᵐ` is the newly updated state supplying the keys, and `Fₜ` remains the source of values. The attention result is added to `Fₜ³`, then normalized by `Norm` to obtain `Fₜ⁴`. The raised `3` and `4` distinguish stages of the decoder. Because the state supplies the keys, it participates in choosing how current evidence should be combined.

```
Fₜ★ = Norm(Fₜ⁴ + FFN(Fₜ⁴))
```

`Fₜ⁴` is the representation produced by the preceding attention block. `FFN` is the decoder’s feed-forward transformation, and its output is added to `Fₜ⁴`. `Norm` layer-normalizes the sum. The star in `Fₜ★` identifies the final refined map that goes to the classification and regression stage.

The decoder’s input and the carried state serve different downstream purposes. The encoder’s output is the information retained for the next update. The decoder’s output is the map used for the present prediction. By producing them separately, the architecture can learn a state that is useful across frames and a final representation suited to localization. The classification and regression stage then turns that representation into scores and a box. The paper directs readers to its supplementary material for details of the loss and evaluation criteria.

#### Training on short sequences

The AlexNet backbone starts from ImageNet pretraining. The temporal calibration mechanism begins from the base convolution, while the authors randomly initialize AT-Trans for training. That random initialization concerns the trainable parameters of the attention architecture. At the start of a tracking sequence, the temporal state itself is initialized from the first target response, as described above.

Training uses sequences of length 4 from VID, Lasot and GOT-10K. In multi-frame training the temporal stages operate across successive observations, so the state generated from earlier matching evidence can influence how the architecture processes later frames. That setup is important for learning how to update the state and how to read it. The single-frame comparison used in the paper gives the authors a way to test what changes when that temporal training opportunity is introduced.

Using two NVIDIA TITAN RTX GPUs, the authors run training for 100 epochs. The backbone stays frozen for the first 10 epochs. In the rest of training, the learning rate decreases in logarithmic space from 0.005 to 0.0005. They use stochastic gradient descent with a momentum of 0.9 and mini-batches of 124 pairs. The reported template and search input sizes are 127² and 287², respectively. The larger search input gives the matching stage a region in which to locate the target represented by the smaller template.

The feature calibration setting used in TCTrack is `L = 3`. That length governs the descriptor queue at inference and includes the current frame. The training sequence length of 4 governs the examples from which the tracker learns. The attention state has a separate lifetime. Its representation is updated repeatedly at inference, so the tracker can process sequences that extend well beyond the clips used in training. Whether it retains useful information over such intervals remains an empirical question. The authors name their official implementation TCTrack and make the code available.

### Experiments and results

#### What the benchmarks test

The evaluation uses four aerial tracking datasets with different emphases. UAV123 covers 123 sequences and more than 112K frames, giving the paper a broad test of common aerial tracking conditions. DTB70 contains 70 difficult motion scenarios and gives particular weight to the ability to follow a target when movement is severe. UAV123@10fps runs at an image rate of 10 FPS. Greater changes between available observations make the tracking evidence more abrupt. UAVTrack112 L is used for longer runs and contains over 60k frames.

These settings give different meanings to a strong tracking result. On the broad benchmark the question is how well the tracker performs across a mix of conditions. A motion-focused benchmark and a lower frame rate put more pressure on the transition between observations. The long-term benchmark gives tracking errors more opportunity to accumulate across a sequence. It also tests the tracker in a setting where a fixed-size state can offer a practical storage advantage. A good aggregate score on any of these datasets describes the tracker on that benchmark and can coexist with different results under individual attributes.

The paper reports success and precision as its main measures. Success concerns the overlap of the predicted bounding box with the ground-truth box. A success curve evaluates the predictions across overlap thresholds, and the area under that curve, or AUC, summarizes the curve as a single score. Precision concerns how close the predicted target center comes to the annotated center. The paper refers readers to the supplementary material for the precise evaluation criteria. These measures capture related aspects of localization. A box can place its center close to the target while fitting its extent less well.

The authors report comparisons involving 51 existing trackers in the overall evaluation. They use the official implementations and corresponding settings to obtain comparison results. In the lightweight section they compare TCTrack with 29 efficient trackers, and for Siamese methods in that comparison they use the same backbone as TCTrack. That is an important control because the speed and quality of the feature extractor can influence the result independently of the temporal method. A separate comparison asks how the whole lightweight system fares against trackers with deeper feature extractors.

#### Lightweight tracking across different conditions

On UAV123, the authors report that TCTrack exceeds HiFT by 3% in AUC and SiamRPN++ by 4.3% in AUC. These are the comparisons as expressed in the paper. UAV123 is also the dataset for the paper’s component studies, which furnish overall scores under controlled changes to the transformer and feature extractor. Those studies use designated variants and baselines. The headline comparisons against complete trackers address the end-to-end system.

On DTB70, TCTrack ranks first among the lightweight trackers in the paper’s comparison, with a reported AUC improvement of 5% over the strongest other tracker. This benchmark is useful for the paper’s argument because it makes demanding motion a feature of the test design. UAV123@10fps presents a related difficulty through the available frame rate. The authors report that TCTrack leads the next tracker on both success and precision there. They describe the ranking for that comparison in the text and present the overall results in their plots.

The attribute-based evaluation considers conditions such as camera motion, fast motion, occlusion and deformation. The figures show promising results for TCTrack across several of these conditions. The authors interpret the performance under fast motion and occlusion as evidence that accumulated context can help maintain a useful estimate of where the object has been. They also attribute some of the robustness to the way both the state and the convolution adapt to the content. The attribute subsets indicate whether the advantage is present in scenes with those characteristics, and the ablations help assess how it depends on architectural choices.

The main benchmark figure includes TCTrack-L, a version with the attention stage, alongside the complete TCTrack. This distinction lets the paper show the performance of the similarity-map approach within the broader comparison. The full tracker also includes online temporal calibration of its feature extraction. The component studies go further by changing how the attention stage works and by varying the amount of history available to the adaptive convolution.

#### Results over longer sequences

On UAVTrack112 L, TCTrack posts success of 0.582 and precision of 0.786. Both are the highest scores in the competition reported for that dataset. SiamRPN++ records 0.559 success and 0.773 precision. HiFT has success of 0.551 and precision of 0.734, while SiamAPN++ has success of 0.537 and precision of 0.735. The ordering of those last trackers depends on which measure one reads. The two measures agree on the leading system in that table.

Lightweight trackers compared on UAVTrack112 L success TCTrack leads the reported lightweight comparison on bounding-box success.

**The numbers**

| System or setting | Success score |
| --- | --- |
| SiamAPN++ | 0.537 |
| HiFT | 0.551 |
| SiamRPN++ | 0.559 |
| TCTrack (this paper) | 0.582 |

The long-term results show that the design can remain competitive when evaluated over extended tracking sequences. The state is still updated each time the tracker receives a frame. A sequence that lasts a long time can contain much shorter intervals of difficulty, and tracking through it successfully can rely on a succession of good local updates. The dataset-level success and precision scores therefore answer a broad question about performance over long sequences. The duration of occlusions the architecture can withstand is a narrower question, which the authors identify as open.

The longer sequences are also a useful setting in which to distinguish runtime from memory behavior. Each step has to extract and compare features, update the prior and make a prediction. Those operations occupy time regardless of the sequence length. The size of the stored state, in contrast, is governed by its representation and the descriptor queue. The architecture can run on a long sequence without expanding those structures to store all the maps it has seen.

#### Speed against deeper trackers and on embedded hardware

On DTB70 the authors compare with over 20 trackers using deeper backbones, measuring on NVIDIA TITAN RTX. They describe TCTrack’s accuracy as competitive with the best tracker in that comparison and report that it runs 2.49 times faster than TransT. The result addresses the balance the authors were seeking. The lightweight feature extractor and the temporal stages give TCTrack an operating point with strong tracking performance and comparatively high throughput. The speed factor applies to that comparison and hardware. Separately, the paper reports a PC frame rate of 125.6 FPS for TCTrack.

Backbone selection was guided by a separate latency test on the NVIDIA Jetson AGX Xavier. The authors timed the CNN alone with an input of 287×287×3. AlexNet took 3.4ms, VGG11 took 3.7ms and ResNet18 took 10.1ms. MobileNet v2 took 13.7ms in the same test. These measurements describe the backbone operation with the stated input. The full tracker also performs correlation, state updates, refinement and prediction, so its frame rate is a different measurement.

The backbone test helps explain the choice of a relatively simple feature extractor. Parameter counts describe storage for the learned weights, and the device also has to move and process data as it applies them. The authors point to memory access cost when explaining why some newer network designs aimed at mobile use had greater latency on the Jetson. Their selection reflects measured behavior on the intended platform. The comparison includes representatives of the designs introduced in [Very Deep Convolutional Networks for Large-Scale Image Recognition](https://md.research.elamur.ai/free/en/papers/simonyan-2014-very-deep-convolutional-networks-large/) and [Deep Residual Learning for Image Recognition](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/).

#### What happened in flight

The aircraft used a Jetson AGX Xavier for onboard computation and a Pixhawk 2 as the flight controller. The tracker ran at over 27 FPS during the real flights without TensorRT acceleration. The paper reports RAM use of 15.29% and GPU video memory use of 3%. Average GPU utilization was 46%, and average CPU utilization was 12.43%. These figures refer to the onboard tests. They complement the frame rate with a view of the resources occupied in that deployment.

The authors evaluate the flight recordings with center location error, the distance between the predicted and reference target centers. They use 20 as the success threshold for that error. The recordings cover a range of conditions, including illumination and scale changes, occlusion, blur and low image resolution. In the examples used to illustrate the test, one sequence combines partial occlusion with low illumination. Another shows blur and an occluded target. A further example shows the behavior under camera motion.

The flight evidence complements the benchmark evidence in a specific way. The benchmarks let the authors compare competing trackers on common datasets and report performance trends across conditions. The flights demonstrate that the complete method ran aboard the aircraft at the reported speed and produced usable tracking traces in the examples. The backbone timing alone could not establish this, because the more expensive system includes all the operations after feature extraction as well as the ongoing maintenance of temporal information.

### What the ablations show

#### When multi-frame training helps

The central comparison in the attention-stage ablation uses UAV123. The authors call the architecture without its temporal information filter Transformer. They vary single-frame and multi-frame training, the presence of the filter, the way the temporal state is initialized and which input supplies the encoder query. Most of the tracking setup is held fixed to make these changes interpretable. Some comparisons isolate one change, while the strongest setting combines several choices.

The single-frame Transformer baseline records overall precision of 0.750 and overall success of 0.550. Adding the temporal information filter while retaining single-frame training gives precision of 0.765 and success of 0.573. In this comparison, introducing the filter improves the scores even under the training regime that does not use successive frames in the way proposed for TCTrack. Its contribution therefore includes how it processes the map within the architecture, in addition to its role in choosing useful temporal information.

With multi-frame training and no filter, the Transformer reaches overall precision of 0.732 and success of 0.508. Both are below the single-frame baseline. On the partial-occlusion subset, the same unfilt​ered multi-frame setup scores 0.415 in success, while the single-frame Transformer scores 0.458. This is the paper’s clearest evidence that integrating observations over time can hurt when the tracker passes on unreliable evidence. A blurred or obstructed frame can affect the state that will help interpret later frames. The filter gives the architecture a learned mechanism for modulating information before it is carried forward.

The best setting in the attention-stage comparison reaches overall precision of 0.800 and success of 0.604. It uses multi-frame training with the filter, initializes the state from the first response and uses the previous state as the encoder query. Relative to the baseline, the authors express the gains as 6.7% in overall precision and 9.8% in overall AUC. Those reported improvements belong to the combined setting. They place the more narrowly controlled comparisons in context, because the gains from that configuration cannot all be attributed to one operation.

Attention-stage settings compared on UAV123 overall success The full attention-stage setting leads, while multi-frame training without filtering scores below the single-frame baseline.

**The numbers**

| System or setting | Overall success score |
| --- | --- |
| Single-frame Transformer | 0.550 |
| Single-frame Transformer with filter | 0.573 |
| Multi-frame Transformer | 0.508 |
| Multi-frame AT-Trans with target initialization and prior query (this paper) | 0.604 |

The result also clarifies what the paper means by adaptive use of time. The encoder always has a way to pass along a state, but that architectural capacity can preserve weak evidence as well as useful evidence. The output of the filter depends on the current content, and the multi-frame comparisons show that the effectiveness of the temporal path depends on including such a selection mechanism in the tested setup.

#### Choosing the first state and the direction of attention

To test initialization, the authors compare versions with the filter and multi-frame training while using the previous state as query. The randomly initialized temporal prior gives overall success of 0.586 and precision of 0.772. Initializing the prior with a convolution over the first target response gives overall success of 0.604 and precision of 0.800. On partial occlusion, success is 0.483 with the random prior and 0.510 with the convolutional prior. The paper describes the initialization benefit in occlusion conditions as about 6%.

This supports starting from evidence specific to the object being tracked. At the beginning of a sequence the initial response is the information the architecture can use to seed its matching history. Even after later observations have modified the state, the test shows a difference from choosing that seed. The aggregate scores establish a benefit of the initialization choice in this configuration. They give no direct reading of how strongly the first observation continues to affect the state as the sequence progresses.

The query comparison keeps the filter, multi-frame training and convolutional initialization in place. When the current similarity map supplies the encoder query, overall success is 0.580 and precision is 0.771. With the previous state as the query, overall success is 0.604 and precision is 0.800. This comparison helps unpack a potentially confusing statement in the paper. To emphasize the current map, the authors give it the key and value roles. It provides the evidence being searched and the content that the attention operation returns. The prior’s role as query makes earlier evidence a means of selecting among those current observations.

The direction of attention also matters on the motion subsets. On the fast-motion subset, the current-map query setting gives success of 0.528, and the prior-query setting gives 0.586. The authors describe the query choice as improving performance by over 10% in motion scenarios. The comparison supports their practical preference for drawing attention values from the current similarity map while letting the prior guide the comparison.

The table also compares the strongest attention-stage configuration with the basic Transformer across attributes. The authors report about 12.0% improvement in success under camera motion and 15.1% under fast motion. On partial occlusion the reported success gain is 11.4%. The camera-motion result addresses changes introduced by the camera itself. The fast-motion result concerns sequences where the target’s position changes quickly in the image. The partial-occlusion result gives a more specific test of the idea that earlier matching evidence can help when the current image contains an incomplete view. These figures refer to the combined AT-Trans setting against the baseline.

#### How much recent history convolution uses

The TAdaConv study starts with the Transformer baseline and changes the history length in the adaptive convolution. A length of 1 allows the current frame to calibrate the layer without consulting earlier descriptors. A length of 2 adds the preceding descriptor, and a length of 3 gives the calibration operation a longer recent context. Because the current frame is included in every queue, comparing these settings helps distinguish adapting to the present input from adapting to a short history.

The Transformer baseline records overall success of 0.550 and precision of 0.750 on UAV123. With a descriptor length of 1, success is 0.561 and precision is 0.749. The current-frame calibration has a small success advantage in this comparison and a slightly lower precision score. With a length of 2, overall success is 0.573 and precision is 0.774. With a length of 3, success reaches 0.580 and precision reaches 0.776. The tested settings give both measures a clearer advantage when the calibration can consult earlier images.

TAdaConv descriptor history compared on UAV123 overall success The longest tested descriptor queue gives the best success score.

**The numbers**

| System or setting | Overall success score |
| --- | --- |
| Transformer baseline | 0.550 |
| TAdaConv with L = 1 | 0.561 |
| TAdaConv with L = 2 | 0.573 |
| TAdaConv with L = 3 (this paper) | 0.580 |

The authors choose a length of 3 to introduce useful temporal context while keeping the operation efficient. The experiment establishes the choice within the lengths tested. It also shows why the results of the convolution and attention ablations need to be read with their own baselines. The convolution table varies the feature extractor with the Transformer comparison in place. The attention table varies the temporal treatment of the map after feature comparison. Each table answers a different question about where the benefit comes from.

#### What the response maps add to the scores

The paper shows the similarity maps before and after decoder refinement for selected frames. These examples cover difficulties such as camera motion, severe movement and occlusion. Looking at the response map makes it possible to inspect what the tracker is using just before the final prediction. A box alone shows the outcome of that decision, while the map shows how evidence is distributed among candidate locations. The before-and-after comparison illustrates the change introduced by the attention stage at that point in the pipeline.

The maps illustrate the mechanism on particular examples. The controlled scores give the broader test of whether the corresponding changes improve tracking across UAV123 and its attribute subsets. Together they connect the authors’ explanation to two observations. The current matching representation can change appreciably after refinement, and the tracking scores depend on how the state is initialized, filtered and used in attention.

### Limitations

#### Limits identified by the authors

The authors identify short training sequences as a limit on what they can claim about very long temporal dependencies. TCTrack can keep updating its state for as long as frames arrive, but its training uses sequences of length 4. The capacity to continue running and the ability to preserve a useful clue through a prolonged interruption are separate properties. In particular, the paper leaves tracking through a long occlusion insufficiently explored.

The authors also identify TensorRT and ONNX versions as future work. The Jetson test establishes the reported throughput for the onboard implementation they ran. It supplies no deployment results for those future versions. Their discussion of negative impacts also points out that the combination of effective tracking and efficient aerial deployment can facilitate unauthorized surveillance.

#### Limits of the evidence

The long-term benchmark shows how well the complete tracker performs across the longer sequences in that dataset. The paper gives aggregate success and precision, while the occlusion ablations cover an attribute subset of UAV123. Neither comparison traces recovery as a function of how long the target is hidden. A sequence with mostly clear observations can contribute to a good long-term score even if the tracker has limited ability to recover after an extended absence.

The encoder’s fixed-size state brings a corresponding question about what it preserves. It can carry forward information from frame to frame, and the ablations show that this process benefits from a filter. Those comparisons do not identify individual past observations stored in the state or show how quickly their effects fade. The architecture guarantees that the storage for the state does not grow with sequence duration. Its ability to retain particular evidence depends on the learned update and the conditions in which that evidence is needed.

The convolution history experiment establishes a trend within the tested settings. Increasing the queue length through 3 improves overall success, with the strongest precision result at that setting as well. The paper gives no measurements for longer queues. Performance could depend on how rapidly the scene changes and how informative older observations are. The study supports the authors’ chosen setting for UAV123 and gives a comparison with current-frame calibration, while leaving the behavior of other history lengths open.

The benchmark comparisons and ablations have different kinds of control. Several Siamese trackers in the lightweight comparison use the same backbone, which reduces one important source of variation. The compared systems still differ in their matching, prediction and other design choices. The UAV123 ablations concentrate on particular changes within the authors’ tracker, giving stronger grounds for attributing those score changes to the specified settings. Their concentration on one dataset also limits what can be said about the size of individual component effects elsewhere.

The reported hardware results are tied to the systems and measurements named in the paper. The Jetson backbone test times only the CNN on a specified input, the deeper-tracker comparison runs on NVIDIA TITAN RTX, and the onboard flight result measures the complete tracker in use. These measurements answer different questions about deployment. A backbone’s latency helps explain the selection of AlexNet, while the flight FPS shows the throughput achieved in the tested conditions. The paper gives no onboard speed comparison against the full set of benchmark trackers on that aircraft.

The visual evidence has a narrower scope than the aggregate benchmarks. The illustrated flight sequences show that TCTrack can operate under the particular combinations of blur, movement, dim light and occlusion the authors selected. They do not establish how often those conditions cause failures across flights or how results vary with the severity of each condition. Similarly, the response-map examples provide a view of refinement in action. The benchmark and controlled comparisons carry the quantitative claim about improvement.

### What came after

The paper closes by proposing that temporal context at feature extraction and similarity refinement could also be useful in general visual tracking. No subsequent study is documented that establishes which parts of TCTrack were adopted, modified or independently tested. The evidence for that broader direction therefore remains the aerial tracking experiments reported by the authors.

## Cite

Cite as Ziang Cao, Ziyuan Huang, Liang Pan, Shiwei Zhang, Ziwei Liu and Changhong Fu. 2022. TCTrack: Temporal Contexts for Aerial Tracking. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/cvpr52688.2022.01438](https://doi.org/10.1109/cvpr52688.2022.01438) · [arXiv 2203.01885](https://arxiv.org/abs/2203.01885)

```bibtex
@inproceedings{cao2022tctrack,
  title = {{TCTrack: Temporal Contexts for Aerial Tracking}},
  author = {Ziang Cao, Ziyuan Huang, Liang Pan, Shiwei Zhang, Ziwei Liu and Changhong Fu},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.01438},
  eprint = {2203.01885},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr52688.2022.01438}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
