SwiTrack: Tri-State Switch for Cross-Modal Object Tracking

Boyue Xu, Ruichao Hou, Tongwei Ren, Dongming Zhou, Gangshan Wu, Jinde CaoarXiv 2025 · DOI

Abstract

Cross-Modal Object Tracking (CMOT) involves sensors that switch between RGB and Near-Infrared (NIR) modes, often resulting in a brief "blind spot" due to overexposure during the transition. SwiTrack is a novel tracking framework designed to maintain target locks during these invalid frames. By implementing a tri-state switch (RGB, NIR, and Invalid) and a specialized trajectory predictor, SwiTrack effectively bridges the modality gap and handles sensor blindness. The framework achieves state-of-the-art performance on the CMOTB benchmark while maintaining real-time operation at 65 FPS.

Introduction

In surveillance and robotics, cameras frequently toggle an IR-cut filter to switch between daylight RGB and nighttime NIR modes. This transition introduces two primary challenges: the modality gap, where RGB and NIR images exhibit different feature distributions, and the transition "blind spot", where sudden lighting changes cause extreme overexposure, rendering visual features temporarily invalid.

Overview of the CMOT problem and the proposed SwiTrack solution. (a) Traditional methods struggle with feature extraction and object drifting during modality switches. (b) SwiTrack introduces a tri-state switch and trajectory prediction to maintain robust tracking.

Standard trackers often lose targets during these invalid frames. SwiTrack addresses this by explicitly recognizing the "Invalid" state and switching to motion-based tracking until the sensor recovers.

Methodology

SwiTrack moves away from traditional dual-branch architectures, opting for a more adaptive, unified approach centered around three core components.

Detailed architecture of the SwiTrack framework, featuring the Tri-State Switch, NIR Gated Adapter, and Consistence Trajectory Prediction (CTP) module.

1. The Tri-State Switch

Unlike binary systems, SwiTrack identifies three distinct states: RGB, NIR, and Invalid.

  • Modality Detection: Uses spatial and spectral feature analysis to distinguish between RGB and NIR tokens.
  • Invalid Detection: A pixel-based overexposure detector identifies "washed out" frames where visual tracking is unreliable.

2. NIR Gated Adapter

To bridge the modality gap efficiently, SwiTrack employs a lightweight NIR Gated Adapter integrated with a standard Vision Transformer (ViT) encoder. This adapter uses hierarchical gating to dynamically adjust weights across network layers. It recognizes that shallow layers (capturing textures) require more adaptation than deeper layers (capturing semantics), allowing NIR features to be effectively aligned into a shared latent space without the overhead of a full secondary branch.

3. Consistence Trajectory Prediction (CTP)

When the "Invalid" state is triggered, SwiTrack activates its CTP module. This "autopilot" system utilizes an Extended Kalman Filter (EKF) to predict the target's position based on historical trajectory data and a reliability score. By relying on motion cues when visual data is absent, the tracker prevents drifting during sensor recovery periods.

4. Dynamic Template Reconstruction

To account for appearance changes during modality switches, SwiTrack iteratively updates its target template. It employs a Similarity Alignment Loss to ensure feature consistency across the lighting spectrum, preventing the model from losing the target's identity as it transitions between RGB and NIR.

Experimental Results

SwiTrack was evaluated on the Cross-Modal Object Tracking Benchmark (CMOTB), which includes 1,000 sequences categorized into Easy, Hard, and Joint sets.

  • State-of-the-Art Performance: On the Joint Set, SwiTrack improved the Precision Rate (PR) by 7.2% and the Success Rate (SR) by 4.3% over previous leading methods.
  • Robustness in Challenging Scenarios: In the "Hard Set," characterized by frequent switching and modality delays, SwiTrack outperformed the BAT tracker by 15.2% in PR.
  • Efficiency: The model operates at 65 FPS on an RTX 4090, demonstrating its suitability for real-time deployment.
  • Ablation Studies: Tests confirmed that the CTP module is critical; its removal led to significant performance degradation during overexposed sequences.

Conclusion

SwiTrack redefines cross-modal tracking by treating sensor failure as a manageable state rather than an insurmountable error. By combining efficient modality adaptation with robust motion modeling, it provides a reliable solution for real-world environments where lighting conditions are dynamic and unpredictable. Future work may extend this tri-state logic to other sensor combinations, such as RGB-Thermal or event-based cameras.

Summary updated

BibTeX
@misc{xu2025switrack,
  author = {Boyue Xu and Ruichao Hou and Tongwei Ren and Dongming Zhou and Gangshan Wu and Jinde Cao},
  title = {{SwiTrack: Tri-State Switch for Cross-Modal Object Tracking}},
  year = {2025},
  eprint = {2511.16227},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.16227},
}
Figure