A Generalization Theory of Cross-Modality Distillation with Contrastive Learning

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lin, Hangyu, Liu, Chen, Xu, Chengming, Gao, Zhengqi, Fu, Yanwei, Yao, Yuan
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929361757667328
author Lin, Hangyu
Liu, Chen
Xu, Chengming
Gao, Zhengqi
Fu, Yanwei
Yao, Yuan
author_facet Lin, Hangyu
Liu, Chen
Xu, Chengming
Gao, Zhengqi
Fu, Yanwei
Yao, Yuan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_03355
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Generalization Theory of Cross-Modality Distillation with Contrastive Learning
Lin, Hangyu
Liu, Chen
Xu, Chengming
Gao, Zhengqi
Fu, Yanwei
Yao, Yuan
Machine Learning
Computer Vision and Pattern Recognition
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.
title A Generalization Theory of Cross-Modality Distillation with Contrastive Learning
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.03355