paper-with-me

Papers

Knowledge Distillation vs. Pretraining from Scratch under a Fixed (Computation) Budget

2024-04-30 · Minh Duc Bui, Fabian David Schmidt, Goran Glavaš, Katharina von der Wense

Compared to standard language model (LM) pretraining (i.e., from scratch), Knowledge Distillation (KD) entails an additional forward pass through a teacher model that is typically substantially larger than the target student model. As such, KD in LM pretraining materially slows down throughput of pretraining instances vis-a-vis pretraining from scratch. Scaling laws of LM pretraining suggest that smaller models can close the gap to larger counterparts if trained on more data (i.e., processing more tokens)-and under a fixed computation budget, smaller models are able be process more data than larger models. We thus hypothesize that KD might, in fact, be suboptimal to pretraining from scratch for obtaining smaller LMs, when appropriately accounting for the compute budget. To test this, we compare pretraining from scratch against several KD strategies for masked language modeling (MLM) in a fair experimental setup, with respect to amount of computation as well as pretraining data. Downstream results on GLUE, however, do not confirm our hypothesis: while pretraining from scratch performs comparably to ordinary KD under a fixed computation budget, more sophisticated KD strategies, namely TinyBERT (Jiao et al., 2020) and MiniLM (Wang et al., 2023), outperform it by a notable margin. We further find that KD yields larger gains over pretraining from scratch when the data must be repeated under the fixed computation budget.

📄 PDF Abstract BibTeX arXiv:2404.19319

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationLanguage ModelingLanguage ModellingMasked Language Modeling

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 제목 키워드 기반

SlimQwen: Exploring the Pruning and Distillation in Large MoE Model Pre-training

2026-05-09 · Shengkun Tang, Zekun Wang, Bo Zheng, Liangyu Wang 외 arxiv

Structured pruning and knowledge distillation (KD) are typical techniques for compressing large language models, but it remains unclear how they should be applied at pretraining scale, especially to recent mixture-of-exp…

Knowledge DistillationContinual Pretraining

Pretraining Multiple Instance Learning Networks with Multi-Teacher Distillation from Pathology Slide Foundation Models

2026-07-16 · Mingxi Fu, Jiawen Li, Renao Yan, Jiali Hu 외 arxiv

Multiple instance learning (MIL) has become the main paradigm for whole-slide image (WSI) analysis in computational pathology. However, existing MIL aggregators are still typically trained from scratch for each downstrea…

Multiple Instance LearningComputational Efficiency

Shortcutting Pre-trained Flow Matching Diffusion Models is Almost Free Lunch

2025-10-15 · Xu Cai, Yang Wu, Qianli Chen, Haoran Wu 외 arxiv

We present an ultra-efficient post-training method for shortcutting large-scale pre-trained flow matching diffusion models into efficient few-step samplers, enabled by novel velocity field self-distillation. While shortc…

Strong Teacher Not Needed? On Distillation in LLM Pretraining

2026-05-22 · Taiming Lu, Zhuang Liu arxiv

Knowledge distillation generally assumes a strong-to-weak relationship where stronger teachers yield better students. In this work, we examine this assumption about distillation in large language model pretraining. By va…

Knowledge Distillation

Quantifying the Knowledge in a DNN to Explain Knowledge Distillation for Classification

2022-08-18 · Quanshi Zhang, Xu Cheng, Yilan Chen, Zhefan Rao

Compared to traditional learning from scratch, knowledge distillation sometimes makes the DNN achieve superior performance. This paper provides a new perspective to explain the success of knowledge distillation, i.e., qu…

3D Point Cloud ClassificationClassificationimage-classificationImage Classification+5