RecycleGPT: An Autoregressive Language Model with Recyclable Module

Bibliographic Details
Title: RecycleGPT: An Autoregressive Language Model with Recyclable Module
Authors: Jiang, Yufan, He, Qiaozhi, Zhuang, Xiaomin, Wu, Zhihua, Wang, Kunpeng, Zhao, Wenlai, Yang, Guangwen
Publication Year: 2023
Collection: Computer Science
Subject Terms: Computer Science - Computation and Language, Computer Science - Artificial Intelligence
More Details: Existing large language models have to run K times to generate a sequence of K tokens. In this paper, we present RecycleGPT, a generative language model with fast decoding speed by recycling pre-generated model states without running the whole model in multiple steps. Our approach relies on the observation that adjacent tokens in a sequence usually have strong correlations and the next token in a sequence can be reasonably guessed or inferred based on the preceding ones. Experiments and analysis demonstrate the effectiveness of our approach in lowering inference latency, achieving up to 1.4x speedup while preserving high performance.
Comment: Technical Report
Document Type: Working Paper
Access URL: http://arxiv.org/abs/2308.03421
Accession Number: edsarx.2308.03421
Database: arXiv
More Details
Description not available.