Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Synergistic Self-supervised and Quantization Learning

About

With the success of self-supervised learning (SSL), it has become a mainstream paradigm to fine-tune from self-supervised pretrained models to boost the performance on downstream tasks. However, we find that current SSL models suffer severe accuracy drops when performing low-bit quantization, prohibiting their deployment in resource-constrained applications. In this paper, we propose a method called synergistic self-supervised and quantization learning (SSQL) to pretrain quantization-friendly self-supervised models facilitating downstream deployment. SSQL contrasts the features of the quantized and full precision models in a self-supervised fashion, where the bit-width for the quantized model is randomly selected in each step. SSQL not only significantly improves the accuracy when quantized to lower bit-widths, but also boosts the accuracy of full precision models in most cases. By only training once, SSQL can then benefit various downstream tasks at different bit-widths simultaneously. Moreover, the bit-width flexibility is achieved without additional storage overhead, requiring only one copy of weights during training and inference. We theoretically analyze the optimization process of SSQL, and conduct exhaustive experiments on various benchmarks to further demonstrate the effectiveness of our method. Our code is available at https://github.com/megvii-research/SSQL-ECCV2022.

Yun-Hao Cao, Peiqin Sun, Yechang Huang, Jianxin Wu, Shuchang Zhou• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy48.6
3518
Image ClassificationCIFAR-10 (test)
Accuracy76.6
3381
Image ClassificationCIFAR-10--
507
Image ClassificationDTD--
487
Image ClassificationImageNet (val)
Accuracy68.1
300
Object DetectionCOCO 2017
AP (Box)37.9
279
Instance SegmentationCOCO 2017
APm33.2
199
Image ClassificationDTD (test)
Accuracy64.8
181
Image ClassificationOxford-IIIT Pets (test)
Mean Accuracy71.1
125
Image ClassificationFlowers-102 (test)
Top-1 Accuracy83
124
Showing 10 of 13 rows

Other info

Follow for update