Learning Light-Weight Translation Models from Deep Transformer
Bei Li, Ziyang Wang, Hui Liu, Quan Du, Tong Xiao, Chunliang Zhang, Jingbo Zhu
Abstract
Recently, deep models have shown tremendous improvements in neural machine translation (NMT). However, systems of this kind are computationally expensive and memory intensive. In this paper, we take a natural step towards learning strong but light-weight NMT systems. We proposed a novel group-permutation based knowledge distillation approach to compressing the deep Transformer model into a shallow model. The experimental results on several benchmarks validate the effectiveness of our method. Our compressed model is 8 times shallower than the deep model, with almost no loss in BLEU. To further enhance the teacher model, we present a Skipping Sub-Layer method to randomly omit sub-layers to introduce perturbation into training, which achieves a BLEU score of 30.63 on English-German newstest2014. The code is publicly available at https://github.com/libeineu/GPKD.
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.
10 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 Reducing Transformer Depth on Demand with Structured Dropout
- Learning Multiscale Transformer Models for Sequence Generation cites ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation
- Learning Multiscale Transformer Models for Sequence Generation cites Shallow-to-Deep Training for Neural Machine Translation
- ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation cites Reducing Transformer Depth on Demand with Structured Dropout
- ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation cites Shallow-to-Deep Training for Neural Machine Translation
- ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation cites Understanding the Difficulty of Training Transformers
- ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation cites Improving Transformer Optimization Through Better Initialization
- LightSeq2: Accelerated Training for Transformer-Based Models on GPUs cites Reducing Transformer Depth on Demand with Structured Dropout
- LightSeq2: Accelerated Training for Transformer-Based Models on GPUs cites Shallow-to-Deep Training for Neural Machine Translation
- Shallow-to-Deep Training for Neural Machine Translation cites Understanding the Difficulty of Training Transformers
- Shallow-to-Deep Training for Neural Machine Translation cites Improving Transformer Optimization Through Better Initialization
Cited by top-tier papers10
- Learning Adaptive and View-Invariant Vision Transformer for Real-Time UAV TrackingYongxin Li, Mengyuan Liu, You Wu, Xucheng Wang et al.ICML 2024 · 63 citations
- ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence GenerationBei Li, Quan Du, Tao Zhou, Yi Jing et al.ACL 2022 · 43 citations
- LightSeq2: Accelerated Training for Transformer-Based Models on GPUsXiaohui Wang, Yang Wei, Ying Xiong, Guyue Huang et al.SC 2022 · 25 citations
- Shapeshifter: a Parameter-efficient Transformer using Factorized Reshaped MatricesAliakbar Panahi, Seyran Saeedi, Tom ArodzNeurIPS 2021 · 19 citations
- Learning Multiscale Transformer Models for Sequence GenerationBei Li, Tong Zheng, Yi Jing, Chengbo Jiao et al.ICML 2022 · 15 citations
Builds on6
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang et al.EMNLP Findings 2020 · 1,787 citations
- Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 citations
- Improving Transformer Optimization Through Better InitializationXiao Shi Huang, Felipe Pérez, Jimmy Ba, Maksims VolkovsICML 2020 · 181 citations
- Understanding the Difficulty of Training TransformersLiyuan Liu, Xiaodong Liu, Jianfeng Gao, Weizhu Chen et al.EMNLP 2020 · 158 citations
- Shallow-to-Deep Training for Neural Machine TranslationBei Li, Ziyang Wang, Hui Liu, Yufan Jiang et al.EMNLP 2020 · 41 citations
Related papers
- A Self-Distillation Recipe for Neural Machine TranslationHongfei Xu, Zhuofei Liang, Qiuhui Liu, Lingling MuACL Findings 2025
- Exploring All-In-One Knowledge Distillation Framework for Neural Machine TranslationZhongjian Miao, Wen Zhang, Jinsong Su, Xiang Li et al.EMNLP 2023 · 5 citations
- Dual-teacher Knowledge Distillation for Low-frequency Word TranslationYifan Guo, Hongying Zan, Hongfei XuEMNLP Findings 2024 · 1 citation
- Towards Understanding and Improving Knowledge Distillation for Neural Machine TranslationSongming Zhang, Yunlong Liang, Shuaibo Wang, Yufeng Chen et al.ACL 2023 · 8 citations
- XtremeDistil: Multi-stage Distillation for Massive Multilingual ModelsSubhabrata Mukherjee, Ahmed Hassan AwadallahACL 2020 · 4 citations
