CLLMs: Consistency Large Language Models

Siqi Kou, Lanxiang Hu, Zhe He, Zhijie Deng, Hao Zhang
3/1/2024

No official code found. Best implementation: hao-ai-lab/Consistency_LLM (416 stars, Apache-2.0, last commit 2024-11-16).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ICML 2024] CLLMs: Consistency Large Language Models

41623Shell, PythonNov 28, 20231 years agoApache-2.0
efficient-llmefficient-llm-inferencelarge-language-models

Similar Papers

Cite this paper

@article{kou2024cllms,
  title  = {CLLMs: Consistency Large Language Models},
  author = {Siqi Kou and Lanxiang Hu and Zhe He and Zhijie Deng and Hao Zhang},
  year   = {2024},
  eprint = {2403.00835},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2403.00835},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.00835.svg)](https://codeofpaper.com/paper/2403.00835)

Discussion