Abstract
Within the research scope of knowledge distillation, contrastive representation distillation has achieved remarkable research results by introducing the Contrastive Representation Distillation Loss. However, previous research has relatively paid scant attention to the influence of factors at the input sample level. We observe that the existence of a large number of negative sample pairs in the knowledge transfer process leads to the issue of information redundancy. To mitigate this issue, we propose a representation normalization method and apply it to contrastive representation distillation. The method aims to reduce the information redundancy caused by negative sample pairs. Meanwhile, drawing on the idea of the Triplet Loss function in contrastive learning, we constructed a loss function and integrated it into the Contrastive Representation Distillation Loss to form the Contrast Enhanced Representation Normalization Distillation Loss. This new loss function aims to enhance the similarity between positive sample pairs and increase the distance between negative sample pairs. The experimental results demonstrate that the Contrast Enhanced Representation Normalization Distillation algorithm outperforms the Contrastive Representation Distillation algorithm on the CIFAR100 and ImageNet datasets, and shows remarkable performance compared with other state-of-the-art knowledge distillation methods.
Introduction
Knowledge Distillation (KD) is a pivotal technique for model compression, enabling the deployment of high-performance neural networks on resource-constrained devices. By training a compact "student" model to mimic a larger "teacher" model, KD transfers complex knowledge across architectures. A prominent recent development is Contrastive Representation Distillation (CRD), which leverages contrastive learning to align the internal representations of the student and teacher.
Despite its success, CRD faces challenges related to information redundancy. Effective contrastive learning typically requires a vast number of negative sample pairs to establish a robust mutual information lower bound. However, the inclusion of excessive negative samples introduces significant noise, which can degrade the student's learning efficiency and lead to performance plateaus. This paper introduces Contrast Enhanced Representation Normalization Distillation (CERND) to address these limitations by refining feature normalization and optimizing the contrastive loss function.
Methodology
The CERND framework introduces two primary innovations to improve the quality of knowledge transfer:
Dual-Channel Representation Normalization
To filter noise and highlight essential structural knowledge, CERND employs a hybrid normalization strategy. It combines Z-score Normalization, which preserves the global feature distribution by centering and scaling data, with Min-Max Scaling, which maintains local contrast and response intensity. By blending these techniques, the model becomes resilient to outliers while ensuring that critical feature activations remain prominent for the student to learn.
Contrast Enhanced Loss
Inspired by Triplet Loss, the authors developed a new loss function that incorporates an explicit margin. This mechanism forces the student to not only minimize the distance to positive teacher representations but also actively maximize the distance from negative samples that are semantically similar. This "cleaning" of the feature space reduces the impact of redundant information.
Results and Discussion
The CERND algorithm was rigorously evaluated on the CIFAR-100 and ImageNet datasets, demonstrating superior performance over standard CRD and other state-of-the-art methods.
The Negative Sample "Sweet Spot"
A key finding of this research is the empirical verification of information redundancy. As shown in the experimental data, increasing the number of negative samples initially improves accuracy. However, beyond a certain threshold (typically between 8,000 and 10,000 samples), performance begins to decline. This confirms that excessive negative pairs introduce more noise than useful contrastive signal.
Performance Benchmarks
On CIFAR-100, CERND achieved a Top-1 accuracy of 74.04% for a VGG13-to-VGG8 distillation task, significantly outperforming the CRD baseline of 72.41%. The method also proved effective for cross-architecture distillation (e.g., ResNet to ShuffleNet) and downstream tasks like semantic segmentation on the PASCAL VOC dataset, where it showed consistent gains in Mean Intersection over Union (mIoU).
Conclusion
CERND effectively mitigates the issue of information redundancy in contrastive knowledge distillation through dual-channel normalization and a triplet-inspired loss function. While highly effective, future work will explore more sophisticated "hard negative mining" strategies and graph-based constraints to further enhance the relational knowledge transferred from teacher to student. This approach provides a robust foundation for deploying high-quality models in real-world, resource-limited environments.
Summary updated