atlas

Research map / Large language models / Language, safety and interpretability

CLLMs: Consistency Large Language Models

ICML 2024 · Large language models › Language, safety and interpretability · approach: Parallel and early-exit decoding · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Fine-tunes pretrained LLMs on Jacobi decoding trajectories with a global consistency loss plus an AR loss so they reach the fixed point in fewer iterations, giving 2.4-3.4x speedups without extra model components.

Problem

Vanilla Jacobi decoding for LLMs yields only marginal speedup over autoregressive decoding because models rarely predict more than one correct token per fixed-point iteration.

Approach

Train the LLM so that any intermediate state on a Jacobi trajectory maps directly to the fixed point (AR output), using a consistency loss inspired by consistency models in diffusion, combined with an AR loss to preserve quality; no architectural changes or auxiliary heads are required.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune the target LLM with global consistency and AR losses, then use Jacobi decodingLLaMA2-7B · GSM8Kspeedup: 1.1× -> 3.0×Helped
Fine-tune the target LLM with global consistency and AR losses, then use Jacobi decodingDeepseek-Coder-7B-Instruct · Spiderspeedup: 1.0× -> 3.4×Helped
Fine-tune the target LLM with global consistency and AR losses, then use Jacobi decodingDeepseek-Coder-7B-Instruct · Spiderexecution accuracy: 70.0 -> 69.3Hurt
Fine-tune the target LLM with global consistency and AR losses, then use Jacobi decodingLLaMA2-7B · ShareGPT (MT-Bench)speedup: 1.1× -> 2.4×Helped
Increase the AR-loss weight from 1 to 10 (ablation)Global-consistency CLLM · GSM8Kaccuracy: 51.3 -> 56.4Helped
Increase the AR-loss weight from 1 to 10 (ablation)Global-consistency CLLM · GSM8Kspeedup: 3.2× -> 3.0×Hurt
Replace global consistency loss with local consistency loss (ablation)CLLM with standard AR-loss weight · GSM8Kspeedup: 3.2× -> 2.8×Hurt
Replace global consistency loss with local consistency loss (ablation)CLLM with standard AR-loss weight · GSM8Kaccuracy: 51.3 -> 55.2Helped
Increase trajectory dataset size from 20k to 500k (ablation)ShareGPT CLLM · ShareGPT (MT-Bench), 16-token sequencespeedup: 1.7× -> 2.7×Helped
Increase trajectory dataset size from 20k to 500k (ablation)ShareGPT CLLM · ShareGPT (MT-Bench)MT-Bench score: 6.1 -> 6.4Helped

Surprising findings

Limitations

Experimental setup

Datasets: Spider CodeSearchNet Python GSM8K ShareGPT WikiText2 PTB

Benchmarks: GSM8K Spider CodeSearchNet Python MT-bench HumanEval WikiText2 PTB

Metrics: accuracy (test@1) execution accuracy pass@1 MT-bench score speedup (wall-clock tokens/s) perplexity

Baselines: Jacobi decoding Medusa-2 speculative decoding with distilled LLaMA-160m lookahead decoding fine-tuned LLaMA2-7B

Builds on: Jacobi decoding consistency models speculative decoding lookahead decoding

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy