EdgeFormer: A Parameter-Efficient Transformer for On-Device Seq2seq Generation
Authors:
- Tao GeTGTao Ge
- Si-Qing ChenSCSi-Qing Chen
- Furu WeiFWFuru Wei
Preprint
Abstract
We introduce EdgeFormer -- a parameter-efficient Transformer for on-device seq2seq generation under the strict computation and memory constraints. Compared with the previous parameter-efficient Transformers, EdgeFormer applies two novel principles for cost-effective parameterization, allowing it to perform better given the same parameter budget; moreover, EdgeFormer is further enhanced by layer adaptation innovation that is proposed for improving the network with shared layers. Extensive experiments show EdgeFormer can effectively outperform previous parameter-efficient Transformer baselines and achieve competitive results under both the computation and memory constraints. Given the promising results, we release EdgeLM -- the pretrained version of EdgeFormer, which is the first publicly available pretrained on-device seq2seq model that can be easily fine-tuned for seq2seq tasks with strong results, facilitating on-device seq2seq generation in practice.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Lessons on Parameter Sharing across Layers in Transformers2023
- BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models2022
- DQ-BART: Efficient Sequence-to-Sequence Model via Joint Distillation and Quantization2022
- Subformer: Exploring Weight Sharing for Parameter Efficiency in Generative Transformers2021
- The Power of Scale for Parameter-Efficient Prompt Tuning2021
- HAT: Hardware-Aware Transformers for Efficient Natural Language Processing2020
- SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing2018
- Don’t Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarization2018
- A Call for Clarity in Reporting BLEU Scores2018