[Paper Review] Positive-Unlabeled Compression on the Cloud
This paper proposes a novel positive-unlabeled (PU) compression framework for cloud-based deep learning model compression, enabling efficient distillation using only 8% of ImageNet's data by leveraging unlabeled data via a PU classifier with attention-based feature extraction and a robust knowledge distillation (RKD) scheme to correct label noise and class imbalance. The method achieves state-of-the-art performance with minimal labeled data, reducing transmission costs while maintaining high accuracy.
Many attempts have been done to extend the great success of convolutional neural networks (CNNs) achieved on high-end GPU servers to portable devices such as smart phones. Providing compression and acceleration service of deep learning models on the cloud is therefore of significance and is attractive for end users. However, existing network compression and acceleration approaches usually fine-tuning the svelte model by requesting the entire original training data (\eg ImageNet), which could be more cumbersome than the network itself and cannot be easily uploaded to the cloud. In this paper, we present a novel positive-unlabeled (PU) setting for addressing this problem. In practice, only a small portion of the original training set is required as positive examples and more useful training examples can be obtained from the massive unlabeled data on the cloud through a PU classifier with an attention based multi-scale feature extractor. We further introduce a robust knowledge distillation (RKD) scheme to deal with the class imbalance problem of these newly augmented training examples. The superiority of the proposed method is verified through experiments conducted on the benchmark models and datasets. We can use only $8\%$ of uniformly selected data from the ImageNet to obtain an efficient model with comparable performance to the baseline ResNet-34.
Motivation & Objective
- To address the high transmission cost of uploading large-scale training datasets (e.g., ImageNet) to the cloud for model compression.
- To enable efficient, scalable deep learning model compression on the cloud without requiring full access to original training data.
- To mitigate performance degradation caused by noisy and imbalanced labels in data-augmented training sets derived from unlabeled data.
- To develop a practical, user-friendly cloud service for compressing deep neural networks using minimal labeled data and massive unlabeled data.
- To achieve state-of-the-art compression performance comparable to full-data fine-tuning with only a small fraction of original training data.
Proposed method
- A two-stage pipeline is proposed: first, a positive-unlabeled (PU) classifier is trained using a small set of labeled data and massive unlabeled data from the cloud to identify relevant unlabeled examples as 'positive' data.
- The PU classifier employs an attention-based multi-scale feature extractor to improve representation learning and selection accuracy of relevant unlabeled samples.
- The selected unlabeled data are combined with the original labeled data to form an augmented training set for knowledge distillation.
- A robust knowledge distillation (RKD) scheme is introduced to handle class imbalance and noisy labels in the augmented dataset, improving generalization and accuracy.
- Knowledge distillation is performed using the original pre-trained model as a teacher and a smaller student network, minimizing cross-entropy loss between teacher and student outputs.
- The method is evaluated on ImageNet, CIFAR-10, and MNIST, using standard models like ResNet-34 and LeNet-5, with performance measured via top-1 and top-5 accuracy.
Experimental results
Research questions
- RQ1Can a PU classifier effectively identify useful unlabeled data from massive cloud-based datasets to augment a small labeled set for model compression?
- RQ2How can class imbalance and label noise in the augmented training set be mitigated to preserve model accuracy?
- RQ3To what extent can model compression performance be maintained when using only a small fraction of the original training data?
- RQ4Can the proposed method achieve state-of-the-art performance in model compression without requiring the full original dataset?
- RQ5How does the attention-based multi-scale feature extractor improve the quality of selected positive examples in the PU setting?
Key findings
- Using only 8% of uniformly selected ImageNet data, the proposed method achieves a top-5 accuracy of 95.1%, with only a 0.5% drop compared to the full-data baseline.
- The method maintains strong performance even with extremely low labeled data: at 0.8% of the original dataset, it still achieves a promising top-5 accuracy of 94.6%.
- On the MNIST dataset, the proposed method outperforms state-of-the-art methods like FitNet and FSKD, especially when labeled data per class is limited (e.g., <5 samples), achieving 98.9% accuracy with 20 samples per class.
- The robust knowledge distillation (RKD) scheme effectively reduces the impact of noisy and imbalanced labels in the augmented dataset, improving generalization.
- The attention-based multi-scale feature extractor enhances the PU classifier’s ability to identify relevant unlabeled data, contributing to better data selection and overall performance.
- The method demonstrates strong scalability and efficiency, significantly reducing data transmission costs while maintaining competitive performance on benchmark datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.