paper-with-me

Papers

Marginal Utility Diminishes: Exploring the Minimum Knowledge for BERT Knowledge Distillation

2021-06-10 · ACL 2021 5 · Yuanxin Liu, Fandong Meng, Zheng Lin, Weiping Wang, Jie zhou

Recently, knowledge distillation (KD) has shown great success in BERT compression. Instead of only learning from the teacher's soft label as in conventional KD, researchers find that the rich information contained in the hidden layers of BERT is conducive to the student's performance. To better exploit the hidden knowledge, a common practice is to force the student to deeply mimic the teacher's hidden states of all the tokens in a layer-wise manner. In this paper, however, we observe that although distilling the teacher's hidden state knowledge (HSK) is helpful, the performance gain (marginal utility) diminishes quickly as more HSK is distilled. To understand this effect, we conduct a series of analysis. Specifically, we divide the HSK of BERT into three dimensions, namely depth, length and width. We first investigate a variety of strategies to extract crucial knowledge for each single dimension and then jointly compress the three dimensions. In this way, we show that 1) the student's performance can be improved by extracting and distilling the crucial HSK, and 2) using a tiny fraction of HSK can achieve the same performance as extensive HSK distillation. Based on the second finding, we further propose an efficient KD paradigm to compress BERT, which does not require loading the teacher during the training of student. For two kinds of student models and computing devices, the proposed KD paradigm gives rise to training speedup of 2.7x ~ 3.4x.

📄 PDF Abstract BibTeX arXiv:2106.05691

Code (1)

llyx97/Marginal-Utility-Diminishes 공식 구현 pytorch

Tasks

Knowledge Distillation

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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.…
Attention 설명 없음
Adam 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

From Stream to Pool: Pricing Under the Law of Diminishing Marginal Utility

2023-10-30 · Titing Cui, Su Jia, Thomas Lavastida

Dynamic pricing models often posit that a $\textbf{stream}$ of customer interactions occur sequentially, where customers' valuations are drawn independently. However, this model is not entirely reflective of the real wor…

Marginal Utility for Planning in Continuous or Large Discrete Action Spaces

2020-06-10 · NeurIPS 2020 12 · Zaheen Farraz Ahmad, Levi H. S. Lelis, Michael Bowling

Sample-based planning is a powerful family of algorithms for generating intelligent behavior from a model of the environment. Generating good candidate actions is critical to the success of sample-based planners, particu…

Action Generation

Assessment of Differentially Private Synthetic Data for Utility and Fairness in End-to-End Machine Learning Pipelines for Tabular Data

2023-10-30 · Mayana Pereira, Meghana Kshirsagar, Sumit Mukherjee, Rahul Dodhia 외

Differentially private (DP) synthetic data sets are a solution for sharing data while preserving the privacy of individual data providers. Understanding the effects of utilizing DP synthetic data in end-to-end machine le…

FairnessHumanitarianSynthetic Data Generation

Exploring the Benefits of Visual Prompting in Differential Privacy

2023-03-22 · ICCV 2023 1 · Yizhe Li, Yu-Lin Tsai, Xuebin Ren, Chia-Mu Yu 외

Visual Prompting (VP) is an emerging and powerful technique that allows sample-efficient adaptation to downstream tasks by engineering a well-trained frozen source model. In this work, we explore the benefits of VP in co…

image-classificationImage ClassificationTransfer LearningVisual Prompting

Large-scale Bayesian Structure Learning for Gaussian Graphical Models using Marginal Pseudo-likelihood

2023-06-30 · Reza Mohammadi, Marit Schoonhoven, Lucas Vogels, S. Ilker Birbil

Bayesian methods for learning Gaussian graphical models offer a comprehensive framework that addresses model uncertainty and incorporates prior knowledge. Despite their theoretical strengths, the applicability of Bayesia…

Computational Efficiency