Papers
arxiv:2406.16758

Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters

Published on Jun 24
Ā· Submitted by Kthyeon on Jun 25
Authors:
,

Abstract

Large language models (LLMs) have revolutionized natural language processing and broadened their applicability across diverse commercial applications. However, the deployment of these models is constrained by high inference time in multilingual settings. To mitigate this challenge, this paper explores a training recipe of an assistant model in speculative decoding, which are leveraged to draft and-then its future tokens are verified by the target LLM. We show that language-specific draft models, optimized through a targeted pretrain-and-finetune strategy, substantially brings a speedup of inference time compared to the previous methods. We validate these models across various languages in inference time, out-of-domain speedup, and GPT-4o evaluation.

Community

Paper author Paper submitter

šŸ’” How to make the speculative inference much faster in multilingual tasks?

šŸŒŸ Stop by this paper for a moment

šŸ’» Code: https://github.com/Kthyeon/Multilingual-SpecBench

Sign up or log in to comment

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2406.16758 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2406.16758 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2406.16758 in a Space README.md to link it from this page.

Collections including this paper 4