paper-with-me

Papers

Understanding the Effect of Data Augmentation on Knowledge Distillation

2023-05-21 · Ziqi Wang, Chi Han, Wenxuan Bao, Heng Ji

Knowledge distillation (KD) requires sufficient data to transfer knowledge from large-scale teacher models to small-scale student models. Therefore, data augmentation has been widely used to mitigate the shortage of data under specific scenarios. Classic data augmentation techniques, such as synonym replacement and k-nearest-neighbors, are initially designed for fine-tuning. To avoid severe semantic shifts and preserve task-specific labels, those methods prefer to change only a small proportion of tokens (e.g., changing 10% tokens is generally the best option for fine-tuning). However, such data augmentation methods are sub-optimal for knowledge distillation since the teacher model could provide label distributions and is more tolerant to semantic shifts. We first observe that KD prefers as much data as possible, which is different from fine-tuning that too much data will not gain more performance. Since changing more tokens leads to more semantic shifts, we use the proportion of changed tokens to reflect semantic shift degrees. Then we find that KD prefers augmented data with a larger semantic shift degree (e.g., changing 30% tokens is generally the best option for KD) than fine-tuning (changing 10% tokens). Besides, our findings show that smaller datasets prefer larger degrees until the out-of-distribution problem occurs (e.g., datasets with less than 10k inputs may prefer the 50% degree, and datasets with more than 100k inputs may prefer the 10% degree). Our work sheds light on the preference difference in data augmentation between fine-tuning and knowledge distillation and encourages the community to explore KD-specific data augmentation methods.

📄 PDF Abstract BibTeX arXiv:2305.12565

Code (0)

등록된 구현이 없습니다.

Tasks

Data AugmentationKnowledge Distillation

Methods 이 논문이 사용한 방법론

Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

QUILL: Query Intent with Large Language Models using Retrieval Augmentation and Multi-stage Distillation

2022-10-27 · Krishna Srinivasan, Karthik Raman, Anupam Samanta, Lingrui Liao 외

Large Language Models (LLMs) have shown impressive results on a variety of text understanding tasks. Search queries though pose a unique challenge, given their short-length and lack of nuance or context. Complicated feat…

Feature EngineeringKnowledge DistillationRetrieval

Why Knowledge Distillation Amplifies Gender Bias and How to Mitigate from the Perspective of DistilBERT

2022-07-01 · NAACL (GeBNLP) 2022 7 · Jaimeen Ahn, Hwaran Lee, JinHwa Kim, Alice Oh

Knowledge distillation is widely used to transfer the language understanding of a large model to a smaller model.However, after knowledge distillation, it was found that the smaller model is more biased by gender compare…

Knowledge Distillation

Understanding the Role of Mixup in Knowledge Distillation: An Empirical Study

2022-11-08 · Hongjun Choi, Eun Som Jeon, Ankita Shukla, Pavan Turaga

Mixup is a popular data augmentation technique based on creating new samples by linear interpolation between two given data samples, to improve both the generalization and robustness of the trained model. Knowledge disti…

AttributeData Augmentationimage-classificationImage Classification+3

Understanding the Success of Knowledge Distillation -- A Data Augmentation Perspective

2021-09-29 · Huan Wang, Suhas Lohit, Michael Jeffrey Jones, Yun Fu

Knowledge distillation (KD) is a general neural network training approach that uses a teacher model to guide a student model. Many works have explored the rationale for its success. However, its interplay with data augme…

Active LearningData AugmentationKnowledge Distillation

FAKD: Feature Augmented Knowledge Distillation for Semantic Segmentation

2022-08-30 · Jianlong Yuan, Qian Qi, Fei Du, Zhibin Wang 외

In this work, we explore data augmentations for knowledge distillation on semantic segmentation. To avoid over-fitting to the noise in the teacher network, a large number of training examples is essential for knowledge d…

Knowledge DistillationSegmentationSemantic Segmentation