Pipelined Decoder for Efficient Context-Aware Text Generation
Preprint
Abstract
As the basis of generative AI, an autoregressive model requires the generation of a new token depending on all the previously generated tokens, which brings high quality but also restricts the model to generate tokens one by one, forming a bottleneck limiting the generation speed. In this paper, we propose a new decoder architecture that efficiently generates text in parallel for context-aware generation tasks. Our proposed pipelined decoder initiates the generation of multiple subsequences simultaneously, and, at each time-step, it generates a new token for each subsequence to realize parallelism. Experiments on multiple text generation tasks, including question answering, text summarization, and keyphrase generation, show that our pipelined decoder significantly improves the generation speed without a significant loss of generation quality or additional memory consumption.Keywords
All Related Versions
This publication has 19 references indexed in Scilit:
- Transforming decoder-only models into encoder-only models with improved understanding capabilitiesKnowledge-Based Systems, 2024
- DeepSpeed- Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scale2022
- ELMER: A Non-Autoregressive Pre-trained Language Model for Efficient and Effective Text Generation2022
- Clues Before Answers: Generation-Enhanced Multiple-Choice QA2022
- MultiSpanQA: A Dataset for Multi-Span Question Answering2022
- Progressive Generation of Long Text with Pretrained Language Models2021
- Joint Learning of Answer Selection and Answer Summary Generation in Community Question AnsweringProceedings of the AAAI Conference on Artificial Intelligence, 2020
- Fine-Tuning by Curriculum Learning for Non-Autoregressive Neural Machine TranslationProceedings of the AAAI Conference on Artificial Intelligence, 2020
- Non-Autoregressive Machine Translation with Latent Alignments2020
- Deep Keyphrase Generation2017