TL;DR
AnyThermal is a new "universal" backbone for thermal perception that works across diverse environments—from urban streets to off-road trails and aerial views—without needing task-specific retraining. By distilling knowledge from the DINOv2 RGB foundation model into a thermal encoder using the new, diverse TartanRGBT dataset, the researchers achieved state-of-the-art results and performance gains of up to 36% across tasks like place recognition, segmentation, and depth estimation.
What Problem Does This Paper Address?
Thermal cameras are essential for robots operating in "degraded" environments where visible light fails, such as thick smoke, total darkness, or harsh weather. However, while RGB computer vision has entered the era of "foundation models" trained on billions of internet images, thermal imaging suffers from a massive data drought.
Most existing thermal models are trained on small, niche datasets (e.g., just urban driving). This makes them "brittle"—a model trained for city streets often fails when put on a drone or an off-road robot. Furthermore, most thermal backbones are trained for one specific task (like object detection), lacking the general-purpose utility of RGB encoders like DINOv2 or CLIP.
Methods
The authors propose a two-pronged solution: a new training methodology and a new data collection ecosystem.
- AnyThermal Backbone: Instead of training from scratch, the team uses Knowledge Distillation. They take a frozen DINOv2 model (the "teacher") and a trainable version (the "student"). The student is fed thermal images and forced to produce feature representations that match the teacher’s RGB representations of the same scene.
- Contrastive [CLS] Distillation: They apply a contrastive loss specifically on the global [CLS] token. This allows the model to learn high-level semantic alignment (e.g., "this shape is a car") between modalities without requiring perfect, pixel-to-pixel synchronization, which is notoriously difficult to achieve with different sensor types.
- Task-Agnostic Architecture: Once the backbone is trained, it can be paired with lightweight "heads" for specific downstream tasks like segmentation or depth estimation, keeping the core encoder frozen.
Datasets
The paper highlights that diversity matters more than raw scale for universal representations.
- TartanRGBT (New): The authors introduced an open-source hardware platform and a new dataset containing 16,943 synchronized RGB-Thermal pairs. Unlike previous datasets, it is balanced across four distinct environments: Indoor, Aerial, Off-road, and Urban.
- Existing Benchmarks: They also utilized ViVID++, STheReO, Freiburg, and Boson Nighttime for training, and evaluated on MS2 (Urban), CART (Aerial), and OdomBeyondVision (Indoor) to test zero-shot generalization.
Key Insights and Ideas
- The "Domain Gap" in Distillation: One of the most striking findings was that distilling from a single-domain dataset (like aerial-only) actually decreased performance in other domains compared to using a raw RGB model. Multi-domain data is the "secret sauce" for a truly robust backbone.
- Semantic vs. Low-level Cues: By distilling from DINOv2, AnyThermal inherits semantic understanding (shapes, structures) while learning to ignore RGB-specific cues like color, focusing instead on thermal-specific signatures.
- Hardware Matters: To bridge the data gap, the authors open-sourced their TartanRGBT platform—a 3D-printed, hardware-synced payload using FLIR Boson cameras and an NVIDIA Orin AGX, designed to make it easier for the community to collect high-quality multi-modal data.
Key Results
AnyThermal consistently outperformed both RGB-only backbones and existing thermal-specific models:
- Thermal Segmentation: On the MF-Net benchmark, AnyThermal achieved 53.47% mIoU, setting a new state-of-the-art while running 3.6x faster than the previous leading model (MCNET).
- Cross-Modal Place Recognition: In zero-shot tests (matching a thermal query to an RGB database), AnyThermal-VPR showed massive improvements, particularly in indoor and aerial settings where previous models struggled.
- Monocular Depth Estimation: Even without task-specific training, the AnyThermal backbone provided better depth cues from single thermal images than standard RGB-pretrained models.
Limitations and Future Work
While AnyThermal is a major step forward, the authors note a few hurdles:
- Registration Accuracy: The pixel-level alignment between RGB and Thermal images currently relies on stereo-RGB depth estimation, which can introduce artifacts in complex scenes.
- Odometry Precision: For place recognition, the current system uses "sufficient" odometry for ground truth, but integrating high-precision GPS and LiDAR would improve the training signal.
- Scaling Up: The authors plan to scale the distillation process further using even larger foundation models (like DINOv3 or SAM2) and expanding the TartanRGBT dataset to include more extreme weather conditions and additional sensor modalities.
Summary updated