Progressive Domain Adaptation for Thermal Infrared Object Tracking

Qiao Li, Kanlun Tan, Qiao Liu, Di Yuan, Xin Li, Yunpeng Liu

TL;DR

The Progressive Domain Adaptation for Thermal Tracking (PDAT) framework bridges the performance gap between RGB-trained models and Thermal Infrared (TIR) tracking by leveraging a massive new dataset of 1.48 million unlabeled TIR images. By combining adversarial global alignment with a novel clustering-based subdomain adaptation, the researchers achieved a ~6% boost in success rates without requiring expensive manual TIR annotations.

What Problem Does This Paper Address?

Thermal Infrared (TIR) imaging is a powerhouse for nighttime surveillance and autonomous driving because it doesn't rely on visible light. However, building high-performance TIR trackers is a "data desert" problem. While we have millions of labeled RGB images, labeled TIR datasets are tiny.

Most researchers simply train trackers on RGB data and hope for the best. Unfortunately, "domain shift"—the fundamental difference in how RGB (reflective) and TIR (emissive) sensors capture the world—causes a massive performance drop. TIR images lack rich textures, have lower resolution, and suffer from low signal-to-noise ratios. Standard deep features learned from colorful RGB photos don't always translate to the ghostly, heat-based signatures of TIR.

Methods

The authors propose PDAT, a framework that "teaches" an RGB tracker how to see in the dark using three main stages:

  1. SAM-based Data Preprocessing: To get around the lack of labels, they used the Segment Anything Model (SAM) to automatically generate pseudo-labels for a massive collection of raw TIR video frames. This creates a "silver" dataset that provides a starting point for training.
  2. Adversarial Global Domain Adaptation (AGDA): This module performs "coarse" alignment. It uses a Transformer-based discriminator and a Gradient Reversal Layer (GRL) to play a min-max game: the feature extractor tries to create features that the discriminator can't distinguish as being "RGB" or "TIR," effectively forcing the model to learn domain-invariant features.
  3. Clustering-based Subdomain Adaptation (CSDA): Global alignment isn't enough because tracking requires distinguishing between similar-looking objects (e.g., two different pedestrians). CSDA performs "fine-grained" alignment by clustering features into subcategories and using Local Maximum Mean Discrepancy (LMMD) to ensure that "pedestrian" features in RGB look like "pedestrian" features in TIR.
  4. Progressive Training: The model isn't dumped into the deep end all at once. It first learns global alignment alongside the tracking task, then moves to the more difficult subdomain alignment to refine its "vision."

Datasets

The authors introduced a massive unlabeled TIR dataset containing over 1.48 million frames across 2,549 sequences, making it one of the largest of its kind.

For evaluation, they tested on five major benchmarks:

  • LSOTB-TIR100 & LSOTB-TIR120: Large-scale high-diversity benchmarks.
  • PTB-TIR: Specifically for pedestrian tracking.
  • VTUAV: Focused on drone-based tracking.
  • VOT-TIR2017: A standard challenge dataset for robustness.

Key Insights and Ideas

  • Global vs. Local Alignment: The "aha" moment here is that simply making the entire RGB domain look like the TIR domain (global) isn't enough for tracking. You need to align specific categories (subdomains) so the model doesn't get confused by distractors that look similar in the thermal spectrum.
  • SAM as a Teacher: Using the Segment Anything Model to generate pseudo-labels for unlabeled data proved highly effective. It provided a 2.2% success rate boost even before the domain adaptation modules were added.
  • The Power of Unlabeled Data: This paper proves that you don't need a million hand-labeled thermal images to get state-of-the-art results; you just need a clever way to transfer knowledge from the labeled RGB world.

Key Results

The PDAT framework was integrated into the SiamCAR tracker as a baseline. The results were impressive:

  • Overall Gain: The method achieved an absolute gain of over 6% in success rate and 5% in precision across the major benchmarks compared to the baseline.
  • LSOTB-TIR100: Achieved a success rate of 62.4%, outperforming heavyweights like DiMP (61.9%) and KYS (60.9%).
  • Robustness: Qualitative results showed that PDAT is significantly better at ignoring "distractors" (other objects that look similar to the target) compared to standard RGB-trained models.

Limitations and Future Work

While the results are strong, a few areas remain for exploration:

  • Preprocessing Overhead: Using SAM to generate pseudo-labels for 1.48 million frames is computationally expensive (the authors noted it took about two days even with optimizations). This is an offline process, but it's a significant hurdle for scaling further.
  • Backbone Constraints: The current implementation uses a ResNet50 backbone. The authors suggest that moving to larger Vision Transformers (ViTs) might yield even better results, though at the cost of tracking speed.
  • Real-time Adaptation: The domain adaptation happens during training. Exploring "test-time adaptation," where the model continues to learn and align domains while actually tracking a new sequence, could be a promising future direction.

Summary updated

Abstract

Due to the lack of large-scale labeled Thermal InfraRed (TIR) training datasets, most existing TIR trackers are trained directly on RGB datasets. However, tracking methods trained on RGB datasets suffer a significant drop-off in TIR data due to the domain shift issue. To this end, in this work, we propose a Progressive Domain Adaptation framework for TIR Tracking (PDAT), which transfers useful knowledge learned from RGB tracking to TIR tracking. The framework makes full use of large-scale labeled RGB datasets without requiring time-consuming and labor-intensive labeling of large-scale TIR data. Specifically, we first propose an adversarial-based global domain adaptation module to reduce domain gap on the feature level coarsely. Second, we design a clustering-based subdomain adaptation method to further align the feature distributions of the RGB and TIR datasets finely. These two domain adaptation modules gradually eliminate the discrepancy between the two domains, and thus learn domain-invariant fine-grained features through progressive training. Additionally, we collect a largescale TIR dataset with over 1.48 million unlabeled TIR images for training the proposed domain adaptation framework. Experimental results on five TIR tracking benchmarks show that the proposed method gains a nearly 6% success rate, demonstrating its effectiveness.
BibTeX
@misc{li2024progressive,
  author = {Qiao Li and Kanlun Tan and Qiao Liu and Di Yuan and Xin Li and Yunpeng Liu},
  title = {{Progressive Domain Adaptation for Thermal Infrared Object Tracking}},
  year = {2024},
  eprint = {2407.19430},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.19430},
}
Figure