Cross-Modal Knowledge Transfer Without Task-Relevant Source Data

Sk Miraj Ahmed, Suhas Lohit, Kuan-Chuan Peng, Michael Jones, Amit K. Roy-Chowdhury

Abstract

Deep learning models for computer vision typically rely on large-scale labeled RGB datasets. However, many real-world applications require alternative modalities like depth or infrared (IR), which often suffer from data scarcity. This paper introduces SOCKET (SOurce-free Cross-modal KnowledgE Transfer), a framework designed to transfer knowledge from a pre-trained RGB source model to a target modality without requiring access to the original source training data. By utilizing task-irrelevant paired data and internal model statistics, SOCKET bridges the significant "modality gap," achieving substantial improvements in classification accuracy over existing domain adaptation methods.

Introduction

While RGB images are the standard for training robust vision models, modalities such as depth and near-infrared (NIR) are essential for specialized tasks like night-time autonomous driving or remote sensing. The primary bottleneck for these modalities is the lack of massive, labeled datasets. Traditional knowledge distillation requires simultaneous access to both source (RGB) and target (Depth/IR) data. However, privacy concerns or storage limitations often make the original source data unavailable—a scenario known as source-free transfer.

The Modality Gap Challenge

Existing source-free methods primarily address "domain shifts" (e.g., changing weather conditions within the same sensor type). SOCKET tackles the more difficult "modality shift," where visual features are fundamentally different (e.g., color vs. geometry). This creates a wide gap that standard domain adaptation techniques fail to bridge effectively.

The high-level concept of SOCKET: leveraging task-irrelevant paired data and internal model statistics to bridge the modality gap.

The SOCKET Framework

SOCKET aligns disparate modalities without task-specific source data through two primary mechanisms:

  1. Task-Irrelevant (TI) Feature Matching: The framework uses paired data from unrelated classes (e.g., chairs/tables) to learn the general cross-modal relationship between RGB and the target modality. This "irrelevant" data teaches the model how objects generally translate between sensors.
  2. Task-Relevant (TR) Distribution Matching: SOCKET leverages the "memory" stored in the pre-trained source model’s Batch Normalization (BN) layers. By forcing the target model's features to match the mean and variance statistics of the original source data, the target model learns to replicate the source model's feature space.
The detailed SOCKET architecture illustrating the two-stage process of extracting source statistics and training target encoders.

Experimental Evaluation

The researchers evaluated SOCKET across several benchmarks, including SUN RGB-D, DIML RGB+D, and RGB-NIR Scene.

  • SUN RGB-D: SOCKET improved accuracy by up to 6.7% over the SHOT baseline in single-source scenarios.
  • Multi-Source Transfer: In complex settings involving multiple RGB source models, SOCKET achieved 16.6% accuracy, significantly outperforming the previous best of 12.1%.
  • Cross-Modality Versatility: The method demonstrated a 3.5% improvement in RGB-to-NIR transfer, confirming its efficacy beyond depth sensors.

Conclusion

SOCKET demonstrates that task-specific source data is not a prerequisite for effective cross-modal knowledge transfer. By utilizing the statistical information embedded in pre-trained models and general paired data, SOCKET provides a robust solution for deploying high-performance models in data-scarce modalities. Future work will explore applications in LiDAR and medical imaging.

Summary updated

BibTeX
@inproceedings{ahmed2022cross,
  author = {Sk Miraj Ahmed and Suhas Lohit and Kuan-Chuan Peng and Michael Jones and Amit K. Roy-Chowdhury},
  title = {{Cross-Modal Knowledge Transfer Without Task-Relevant Source Data}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19830-4\_7},
}
Figure