Saved in:
Bibliographic Details
Main Authors: Kou, Siqi, Hu, Lanxiang, He, Zhezhi, Deng, Zhijie, Zhang, Hao
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.00835
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910484370817024
author Kou, Siqi
Hu, Lanxiang
He, Zhezhi
Deng, Zhijie
Zhang, Hao
author_facet Kou, Siqi
Hu, Lanxiang
He, Zhezhi
Deng, Zhijie
Zhang, Hao
contents Parallel decoding methods such as Jacobi decoding show promise for more efficient LLM inference as it breaks the sequential nature of the LLM decoding process and transforms it into parallelizable computation. However, in practice, it achieves little speedup compared to traditional autoregressive (AR) decoding, primarily because Jacobi decoding seldom accurately predicts more than one token in a single fixed-point iteration step. To address this, we develop a new approach aimed at realizing fast convergence from any state to the fixed point on a Jacobi trajectory. This is accomplished by refining the target LLM to consistently predict the fixed point given any state as input. Extensive experiments demonstrate the effectiveness of our method, showing 2.4$\times$ to 3.4$\times$ improvements in generation speed while preserving generation quality across both domain-specific and open-domain benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2403_00835
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CLLMs: Consistency Large Language Models
Kou, Siqi
Hu, Lanxiang
He, Zhezhi
Deng, Zhijie
Zhang, Hao
Computation and Language
Artificial Intelligence
Parallel decoding methods such as Jacobi decoding show promise for more efficient LLM inference as it breaks the sequential nature of the LLM decoding process and transforms it into parallelizable computation. However, in practice, it achieves little speedup compared to traditional autoregressive (AR) decoding, primarily because Jacobi decoding seldom accurately predicts more than one token in a single fixed-point iteration step. To address this, we develop a new approach aimed at realizing fast convergence from any state to the fixed point on a Jacobi trajectory. This is accomplished by refining the target LLM to consistently predict the fixed point given any state as input. Extensive experiments demonstrate the effectiveness of our method, showing 2.4$\times$ to 3.4$\times$ improvements in generation speed while preserving generation quality across both domain-specific and open-domain benchmarks.
title CLLMs: Consistency Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2403.00835