A Generalization Theory of Cross-Modality Distillation with Contrastive Learning

Hangyu Lin, Chen Liu, Chengming Xu, Zhengqi Gao, Yanwei Fu +1 more
5/6/2024
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Cross-modality distillation arises as an important topic for data modalities containing limited knowledge such as depth maps and high-quality sketches. Such techniques are of great importance, especially for memory and privacy-restricted scenarios where labeled training data is generally unavailable. To solve the problem, existing label-free methods leverage a few pairwise unlabeled data to distill the knowledge by aligning features or statistics between the source and target modalities. For instance, one typically aims to minimize the L2 distance or contrastive loss between the learned features of pairs of samples in the source (e.g. image) and the target (e.g. sketch) modalities. However, most algorithms in this domain only focus on the experimental results but lack theoretical insight. To bridge the gap between the theory and practical method of cross-modality distillation, we first formulate a general framework of cross-modality contrastive distillation (CMCD), built upon contrastive learning that leverages both positive and negative correspondence, towards a better distillation of generalizable features. Furthermore, we establish a thorough convergence analysis that reveals that the distance between source and target modalities significantly impacts the test error on downstream tasks within the target modality which is also validated by the empirical results. Extensive experimental results show that our algorithm outperforms existing algorithms consistently by a margin of 2-3\% across diverse modalities and tasks, covering modalities of image, sketch, depth map, and audio and tasks of recognition and segmentation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lin2024generalization,
  title  = {A Generalization Theory of Cross-Modality Distillation with Contrastive Learning},
  author = {Hangyu Lin and Chen Liu and Chengming Xu and Zhengqi Gao and Yanwei Fu and Yuan Yao},
  year   = {2024},
  eprint = {2405.03355},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.03355v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.03355.svg)](https://codeofpaper.com/paper/2405.03355)

Discussion