Abstract
Cross-modal knowledge transfer aims to adapt models pre-trained on a source modality (e.g., RGB) to a target modality (e.g., depth or infrared). This task is particularly challenging in "source-free" settings where original source data is unavailable due to privacy or storage constraints. We propose a novel framework that utilizes paired task-irrelevant (TI) data—samples from categories outside the target task—to bridge the modality gap. Our approach consists of Task-irrelevant data-Guided Modality Bridging (TGMB) for image-to-image translation and Task-irrelevant data-Guided Knowledge Transfer (TGKT) for robust distillation. Evaluations across three benchmarks show significant improvements over existing state-of-the-art methods.
Introduction
Leveraging pre-trained RGB models for specialized sensors like depth or thermal cameras is a common strategy in computer vision. However, the significant distribution shift between modalities—the "Modality Gap"—often hinders effective transfer. Furthermore, data privacy regulations (e.g., GDPR) frequently restrict access to the original source training data, necessitating source-free transfer methods.
Previous methods like the SOCKET framework utilized Task-Irrelevant (TI) data for simple feature alignment. We argue that TI data contains essential structural information about the modality gap that can be more effectively exploited. By treating TI data as a distribution estimator, we can reconstruct "source-like" images from the target modality, providing a clearer path for knowledge distillation without ever seeing the original source training set.
Methodology
The proposed framework operates in two distinct stages: bridging the modalities and then transferring the knowledge.
Task-irrelevant data-Guided Modality Bridging (TGMB)
The TGMB module focuses on minimizing the domain shift by learning a translation network $T$ that maps target modality data into a "source-like" RGB space.
- Reconstruction and Alignment: Using paired TI data, the network learns to reconstruct RGB images from target inputs. Adversarial discriminators minimize the inter-modality gap (between TI pairs) and the intra-modality gap (between TI and task-relevant data).
- Mutual Information Maximization: To ensure the translated images are optimized for the pre-trained source model, TGMB maximizes mutual information, ensuring the output aligns with the source model's specific feature space.
Task-irrelevant data-Guided Knowledge Transfer (TGKT)
With the modalities bridged, the TGKT module handles the actual transfer of task-specific knowledge from the source model to the target model.
- Knowledge Distillation: The target model is trained to match the source model's predictions on the translated "source-like" images using KL divergence.
- Feature Alignment: Internal feature representations are aligned using the paired TI data to ensure consistent semantic understanding across models.
- Self-Supervised Pseudo-Labeling: To mitigate noise from the source model's predictions on translated data, the target model incorporates a self-supervised loss based on its own high-confidence predictions, improving overall robustness.
Experimental Evaluation
We evaluated our framework on three major cross-modal benchmarks: SUN RGB-D (indoor scenes), DIML RGB-D (indoor/outdoor scenes), and RGB-NIR (Near-Infrared pairs).
Key Results
Our method consistently outperformed existing baselines such as SHOT and SOCKET:
- DIML RGB-D: Achieved a +9.81% accuracy improvement over the SOCKET framework.
- RGB-NIR: Accuracy reached 90.48%, representing a +3.50% gain.
- SUN RGB-D: Ablation studies on the complex K-v1 task showed that the TGMB module alone provides a +5.33% boost over SOCKET, validating the efficacy of the translation-based bridging approach.
Discussion and Conclusion
The core insight of this work is that task-irrelevant data serves as a powerful distribution estimator for the modality gap. By moving beyond simple feature matching to explicit image translation guided by the source model, we can "unleash" the latent potential of available data.
While highly effective, the current multi-stage approach introduces computational overhead during training. Future work will explore iterative, end-to-end training schemes to further refine the synergy between modality bridging and knowledge transfer. This research paves the way for more robust and privacy-preserving adaptation of large-scale pre-trained models to specialized sensor domains.
Summary updated