Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters
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
š” 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
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- SEED: Accelerating Reasoning Tree Construction via Scheduled Speculative Decoding (2024)
- Amphista: Accelerate LLM Inference with Bi-directional Multiple Drafting Heads in a Non-autoregressive Style (2024)
- Adaptive Draft-Verification for Efficient Large Language Model Decoding (2024)
- Make Some Noise: Unlocking Language Model Parallel Inference Capability through Noisy Training (2024)
- Fast and Slow Generating: An Empirical Study on Large and Small Language Models Collaborative Decoding (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper