Subformer: Exploring Weight Sharing for Parameter Efficiency in Generative Transformers
Preprint
Abstract
Transformers have shown improved performance when compared to previous architectures for sequence processing such as RNNs. Despite their sizeable performance gains, as recently suggested, the model is computationally expensive to train and with a high parameter budget. In light of this, we explore parameter-sharing methods in Transformers with a specific focus on generative models. We perform an analysis of different parameter sharing/reduction methods and develop the Subformer. Our model combines sandwich-style parameter sharing, which overcomes naive cross-layer parameter sharing in generative models, and self-attentive embedding factorization (SAFE). Experiments on machine translation, abstractive summarization and language modeling show that the Subformer can outperform the Transformer even when using significantly fewer parameters.Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Compressing Large-Scale Transformer-Based Models: A Case Study on BERTTransactions of the Association for Computational Linguistics, 2021
- Leveraging Pre-trained Checkpoints for Sequence Generation TasksTransactions of the Association for Computational Linguistics, 2020
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension2020
- Q8BERT: Quantized 8Bit BERT2019
- Mask-Predict: Parallel Decoding of Conditional Masked Language Models2019
- Text Summarization with Pretrained Encoders2019
- Exploiting Deep Representations for Neural Machine Translation2018
- Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinement2018
- Deep Contextualized Word Representations2018
- Abstractive Text Summarization using Sequence-to-sequence RNNs and Beyond2016