Pay Attention to Your Positive Pairs: Positive Pair Aware Contrastive Knowledge Distillation
Zhipeng Yu, Qianqian Xu, Yangbangyan Jiang, Haoyu Qin, Qingming Huang
Abstract
Deep neural networks have achieved impressive success on various multimedia applications in the past decades. To reach a higher performance on real-world resource-constrained devices with large models that are already learned, knowledge distillation, which aims at transferring representational knowledge from a large teacher network into a small student network, has attracted increasing attention. Recently, contrastive distillation methods have achieved superior performance in this area, due to the powerful representability brought by contrastive/self-supervised learning. These models often transfer knowledge through individual samples or inter-class relationships, while ignoring the correlation lying among intra-class samples, which convey abundant information. In this paper, we propose a Positive pair Aware Contrastive Knowledge Distillation (PACKD) framework to extend the contrastive distillation with more positive pairs to capture more abundant knowledge from the teacher. Specifically, it pulls together features of pairs from the same class learned by the student and teacher while simultaneously pushing apart those of pairs from different classes. With a positive-pair similarity weighting strategy based on optimal transport, the proposed contrastive objective is able to improve the feature discriminability between positive samples with large visual discrepancies. Experiments on different benchmarks demonstrate the effectiveness of the proposed PACKD.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers2
- Bit-mask Robust Contrastive Knowledge Distillation for Unsupervised Semantic HashingLiyang He, Zhenya Huang, Jiayu Liu, Enhong Chen et al.WWW 2024 · 9 citations
- ICD-Face: Intra-class Compactness Distillation for Face RecognitionZhipeng Yu, Jiaheng Liu, Haoyu Qin, Yichao Wu et al.ICCV 2023 · 7 citations
Related papers
- Beyond Direct Relationships: Exploring Multi-Order Label Pair Dependencies for Knowledge DistillationJingchao Wang, Zhengnan Deng, Tongxu Lin, Wenyuan Li et al.ACM MM 2024 · 5 citations
- Complementary Relation Contrastive DistillationJinguo Zhu, Shixiang Tang, Dapeng Chen, Shijie Yu et al.CVPR 2021
- Prototypical Contrastive Predictive CodingKyungmin LeeICLR 2022 · 9 citations
- Knowledge Distillation from A Stronger TeacherTao Huang, Shan You, Fei Wang, Chen Qian et al.NeurIPS 2022 · 477 citations
- G-DetKD: Towards General Distillation Framework for Object Detectors via Contrastive and Semantic-guided Feature ImitationLewei Yao, Renjie Pi, Hang Xu, Wei Zhang et al.ICCV 2021 · 48 citations
