MATE-KD: Masked Adversarial TExt, a Companion to Knowledge Distillation
Ahmad Rashid, Vasileios Lioutas, Mehdi Rezagholizadeh
Abstract
The advent of large pre-trained language models has given rise to rapid progress in the field of Natural Language Processing (NLP). While the performance of these models on standard benchmarks has scaled with size, compression techniques such as knowledge distillation have been key in making them practical. We present, MATE-KD, a novel textbased adversarial training algorithm which improves the performance of knowledge distillation. MATE-KD first trains a masked language model based generator to perturb text by maximizing the divergence between teacher and student logits. Then using knowledge distillation a student is trained on both the original and the perturbed training samples. We evaluate our algorithm, using BERT-based models, on the GLUE benchmark and demonstrate that MATE-KD outperforms competitive adversarial learning and data augmentation baselines. On the GLUE test set our 6 layer RoBERTa based model outperforms BERT LARGE .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- TinyBERT: Distilling BERT for Natural Language Understanding cites MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers
- TinyBERT: Distilling BERT for Natural Language Understanding cites MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices cites TinyBERT: Distilling BERT for Natural Language Understanding
- Teacher Guided Training: An Efficient Framework for Knowledge Transfer cites MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- Tutoring Helps Students Learn Better: Improving Knowledge Distillation for BERT with Tutor Network cites TinyBERT: Distilling BERT for Natural Language Understanding
- Tutoring Helps Students Learn Better: Improving Knowledge Distillation for BERT with Tutor Network cites MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers
- Tutoring Helps Students Learn Better: Improving Knowledge Distillation for BERT with Tutor Network cites Improved Knowledge Distillation via Teacher Assistant
- Tutoring Helps Students Learn Better: Improving Knowledge Distillation for BERT with Tutor Network cites MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- Universal-KD: Attention-based Output-Grounded Intermediate Layer Knowledge Distillation cites TinyBERT: Distilling BERT for Natural Language Understanding
- Universal-KD: Attention-based Output-Grounded Intermediate Layer Knowledge Distillation cites Improved Knowledge Distillation via Teacher Assistant
- Universal-KD: Attention-based Output-Grounded Intermediate Layer Knowledge Distillation cites MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- Universal-KD: Attention-based Output-Grounded Intermediate Layer Knowledge Distillation cites Towards Zero-Shot Knowledge Distillation for Natural Language Processing
- Towards Zero-Shot Knowledge Distillation for Natural Language Processing cites TinyBERT: Distilling BERT for Natural Language Understanding
Cited by top-tier papers4
- Towards Zero-Shot Knowledge Distillation for Natural Language ProcessingAhmad Rashid, Vasileios Lioutas, Abbas Ghaddar, Mehdi RezagholizadehEMNLP 2021 · 25 citations
- Universal-KD: Attention-based Output-Grounded Intermediate Layer Knowledge DistillationYimeng Wu, Mehdi Rezagholizadeh, Abbas Ghaddar, Md. Akmal Haidar et al.EMNLP 2021 · 18 citations
- Tutoring Helps Students Learn Better: Improving Knowledge Distillation for BERT with Tutor NetworkJunho Kim, Jun-Hyung Park, Mingyu Lee, Wing-Lam Mok et al.EMNLP 2022 · 4 citations
- Teacher Guided Training: An Efficient Framework for Knowledge TransferManzil Zaheer, Ankit Singh Rawat, Seungyeon Kim, Chong You et al.ICLR 2023 · 1 citation
Builds on4
- MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained TransformersWenhui Wang, Furu Wei, Li Dong, Hangbo Bao et al.NeurIPS 2020 · 2,727 citations
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang et al.EMNLP Findings 2020 · 1,787 citations
- Improved Knowledge Distillation via Teacher AssistantSeyed-Iman Mirzadeh, Mehrdad Farajtabar, Ang Li, Nir Levine et al.AAAI 2020 · 1,361 citations
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu et al.ACL 2020 · 660 citations
Related papers
- How to Select One Among All ? An Empirical Study Towards the Robustness of Knowledge Distillation in Natural Language UnderstandingTianda Li, Ahmad Rashid, Aref Jafari, Pranav Sharma et al.EMNLP Findings 2021 · 6 citations
- Adversarial Data Augmentation for Task-Specific Knowledge Distillation of Pre-trained TransformersMinjia Zhang, Uma-Naresh Niranjan, Yuxiong HeAAAI 2022 · 16 citations
- Towards Efficient Pre-Trained Language Model via Feature Correlation DistillationKun Huang, Xin Guo, Meng WangNeurIPS 2023 · 8 citations
- MixKD: Towards Efficient Distillation of Large-scale Language ModelsKevin J. Liang, Weituo Hao, Dinghan Shen, Yufan Zhou et al.ICLR 2021 · 90 citations
- Adversarial Self-Supervised Data-Free Distillation for Text ClassificationXinyin Ma, Yongliang Shen, Gongfan Fang, Chen Chen et al.EMNLP 2020 · 18 citations
