FerKD: Surgical Label Adaptation for Efficient Distillation (2312.17473v1)
Abstract: We present FerKD, a novel efficient knowledge distillation framework that incorporates partial soft-hard label adaptation coupled with a region-calibration mechanism. Our approach stems from the observation and intuition that standard data augmentations, such as RandomResizedCrop, tend to transform inputs into diverse conditions: easy positives, hard positives, or hard negatives. In traditional distillation frameworks, these transformed samples are utilized equally through their predictive probabilities derived from pretrained teacher models. However, merely relying on prediction values from a pretrained teacher, a common practice in prior studies, neglects the reliability of these soft label predictions. To address this, we propose a new scheme that calibrates the less-confident regions to be the context using softened hard groundtruth labels. Our approach involves the processes of hard regions mining + calibration. We demonstrate empirically that this method can dramatically improve the convergence speed and final accuracy. Additionally, we find that a consistent mixing strategy can stabilize the distributions of soft supervision, taking advantage of the soft labels. As a result, we introduce a stabilized SelfMix augmentation that weakens the variation of the mixed images and corresponding soft labels through mixing similar regions within the same image. FerKD is an intuitive and well-designed learning system that eliminates several heuristics and hyperparameters in former FKD solution. More importantly, it achieves remarkable improvement on ImageNet-1K and downstream tasks. For instance, FerKD achieves 81.2% on ImageNet-1K with ResNet-50, outperforming FKD and FunMatch by remarkable margins. Leveraging better pre-trained weights and larger architectures, our finetuned ViT-G14 even achieves 89.9%. Our code is available at https://github.com/szq0214/FKD/tree/main/FerKD.
- Better fine-tuning by reducing representational collapse. arXiv preprint arXiv:2008.03156, 2020.
- Beit: Bert pre-training of image transformers. In ICLR, 2022.
- Curriculum learning. In ICML, 2009.
- Are we done with imagenet? arXiv preprint arXiv:2006.07159, 2020.
- Knowledge distillation: A good teacher is patient and consistent. In CVPR, 2022.
- Learning efficient object detection models with knowledge distillation. NeurIPS, 30, 2017.
- Feature-map-level online adversarial knowledge distillation. In ICML, 2020.
- General instance distillation for object detection. In CVPR, 2021.
- Imagenet: A large-scale hierarchical image database. In CVPR, 2009.
- Eva: Exploring the limits of masked visual representation learning at scale. arXiv preprint arXiv:2211.07636, 2022.
- Distilling object detectors via decoupled features. In CVPR, 2021.
- Mask r-cnn. In ICCV, 2017.
- Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
- The inaturalist species classification and detection dataset. In CVPR, 2018.
- Point-to-voxel knowledge distillation for lidar semantic segmentation. In CVPR, 2022.
- Structural and statistical texture knowledge distillation for semantic segmentation. In CVPR, 2022.
- What would elsa do? freezing layers during transformer fine-tuning. arXiv preprint arXiv:1911.03090, 2019.
- Lujun Li. Self-regulated feature learning via teacher-free feature distillation. In European Conference on Computer Vision, pages 347–363. Springer, 2022.
- Feature pyramid networks for object detection. In CVPR, 2017.
- Focal loss for dense object detection. In ICCV, 2017.
- Microsoft coco: Common objects in context. In ECCV, 2014.
- Structured knowledge distillation for semantic segmentation. In CVPR, 2019.
- Online batch selection for faster training of neural networks. arXiv preprint arXiv:1511.06343, 2015.
- Joel Michael. Where’s the evidence that active learning works? Advances in physiology education, 2006.
- When does label smoothing help? In NeurIPS, 2019.
- Distillation as a defense to adversarial perturbations against deep neural networks. In IEEE symposium on security and privacy (SP), 2016.
- Relational knowledge distillation. In CVPR, 2019.
- Michael Prince. Does active learning work? a review of the research. Journal of engineering education, 93(3):223–231, 2004.
- Do imagenet classifiers generalize to imagenet? In ICML, 2019.
- Autolr: Layer-wise pruning and auto-tuning of learning rates in fine-tuning of deep networks. In AAAI, 2021.
- Fitnets: Hints for thin deep nets. arXiv preprint arXiv:1412.6550, 2014.
- Burr Settles. Active learning literature survey. 2009.
- Meal: Multi-model ensemble via adversarial learning. In AAAI, 2019.
- Partial is better than all: Revisiting fine-tuning strategy for few-shot learning. In AAAI, 2021.
- Is label smoothing truly incompatible with knowledge distillation: An empirical study. In ICLR, 2021.
- Meal v2: Boosting vanilla resnet-50 to 80%+ top-1 accuracy on imagenet without tricks. arXiv preprint arXiv:2009.08453, 2020.
- A fast knowledge distillation framework for visual recognition. In ECCV, 2022.
- Training region-based object detectors with online hard example mining. In CVPR, 2016.
- Revisiting weakly supervised pre-training of visual perception models. In CVPR, 2022.
- Curriculum learning: A survey. International Journal of Computer Vision, 130(6):1526–1565, 2022.
- Does knowledge distillation really work? arXiv preprint arXiv:2106.05945, 2021.
- How to train your vit? data, augmentation, and regularization in vision transformers. arXiv preprint arXiv:2106.10270, 2021.
- Rethinking the inception architecture for computer vision. In CVPR, 2016.
- PyTorch TorchVision IMAGENET1K_V2. https://pytorch.org/vision/stable/models/generated/torchvision.models.resnet50.html#torchvision.models.ResNet50_Weights. 2022.
- Training data-efficient image transformers & distillation through attention. In ICML, 2021.
- Distilling object detectors with fine-grained feature imitation. In CVPR, 2019.
- Dataset distillation. arXiv preprint arXiv:1811.10959, 2018.
- A survey on curriculum learning. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(9):4555–4576, 2021.
- Resnet strikes back: An improved training procedure in timm. arXiv preprint arXiv:2110.00476, 2021.
- Tinyvit: Fast pretraining distillation for small vision transformers. In ECCV, 2022.
- Norm: Knowledge distillation via n-to-one representation matching. In ICLR, 2023.
- Self-training with noisy student improves imagenet classification. In CVPR, 2020.
- Focal and global knowledge distillation for detectors. In CVPR, 2022.
- A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In CVPR, 2017.
- How transferable are features in deep neural networks? NeurIPS, 27, 2014.
- Cutmix: Regularization strategy to train strong classifiers with localizable features. In ICCV, 2019.
- Re-labeling imagenet: from single to multi-labels, from global to localized labels. In CVPR, 2021.
- mixup: Beyond empirical risk minimization. In ICLR, 2018.
- Be your own teacher: Improve the performance of convolutional neural networks via self distillation. In ICCV, 2019.
- Learning deep features for scene recognition using places database. NeurIPS, 2014.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.