paper-with-me

홈 › Papers

Clover-2: Accurate Inference for Regressive Lightweight Speculative Decoding

2024-08-01

Large Language Models (LLMs) frequently suffer from inefficiencies, largely attributable to the discord between the requirements of auto-regressive decoding and the architecture of contemporary GPUs. Recently, regressive lightweight speculative decoding has garnered attention for its notable efficiency improvements in text generation tasks. This approach utilizes a lightweight regressive draft model, like a Recurrent Neural Network (RNN) or a single transformer decoder layer, leveraging sequential information to iteratively predict potential tokens. Specifically, RNN draft models are computationally economical but tend to deliver lower accuracy, while attention decoder layer models exhibit the opposite traits. This paper presents Clover-2, an advanced iteration of Clover, an RNN-based draft model designed to achieve comparable accuracy to that of attention decoder layer models while maintaining minimal computational overhead. Clover-2 enhances the model architecture and incorporates knowledge distillation to increase Clover's accuracy and improve overall efficiency. We conducted experiments using the open-source Vicuna 7B and LLaMA3-Instruct 8B models. The results demonstrate that Clover-2 surpasses existing methods across various model architectures, showcasing its efficacy and robustness.

📄 PDF Abstract BibTeX arXiv:2408.00264

Code (1)

XiaoBin1992/clover pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

Clover: Regressive Lightweight Speculative Decoding with Sequential Knowledge

2024-05-01 · Bin Xiao, Chunan Shi, Xiaonan Nie, Fan Yang 외

Large language models (LLMs) suffer from low efficiency as the mismatch between the requirement of auto-regressive decoding and the design of most contemporary GPUs. Specifically, billions to trillions of parameters must…

GPU

XSpecMesh: Quality-Preserving Auto-Regressive Mesh Generation Acceleration via Multi-Head Speculative Decoding

2025-07-31 · Dian Chen, Yansong Qu, Xinyang Li, Ming Li 외 arxiv

Current auto-regressive models can generate high-quality, topologically precise meshes; however, they necessitate thousands-or even tens of thousands-of next-token predictions during inference, resulting in substantial l…

Accelerating Autoregressive Speech Synthesis Inference With Speech Speculative Decoding

2025-05-21 · Zijian Lin, Yang Zhang, Yougen Yuan, Yuming Yan 외

Modern autoregressive speech synthesis models leveraging language models have demonstrated remarkable performance. However, the sequential nature of next token prediction in these models leads to significant latency, hin…

Speech Synthesis

RACER: Retrieval-Augmented Contextual Rapid Speculative Decoding

2026-04-16 · Zihong Zhang, Zuchao Li, Lefei Zhang, Ping Wang 외 arxiv

Autoregressive decoding in Large Language Models (LLMs) generates one token per step, causing high inference latency. Speculative decoding (SD) mitigates this through a guess-and-verify strategy, but existing training-fr…

DFlash: Block Diffusion for Flash Speculative Decoding

2026-02-05 · Jian Chen, Yesheng Liang, Zhijian Liu arxiv

Autoregressive large language models (LLMs) deliver strong performance but require inherently sequential decoding, leading to high inference latency and poor GPU utilization. Speculative decoding mitigates this bottlenec…