SpeLLM: Character-Level Multi-Head Decoding

πŸ“… 2025-07-22
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
Expanding the vocabulary of large language models (LLMs) incurs substantial computational overhead in the output projection layer’s linear transformation, becoming a critical bottleneck. To address this, we propose a multi-head character-level decoding architecture that decouples input and output vocabularies: multiple independent linear heads predict character sequences in parallel, and a self-distillation-based conversion mechanism enables effective knowledge transfer from the original word-level model. Our approach requires no modifications to the pre-trained backbone and is plug-and-play compatible with mainstream LLMs. Experiments across four state-of-the-art LLMs demonstrate that downstream task performance remains on par with baselines, while average inference latency decreases by 5.1%. Moreover, the method significantly enhances support for low-resource languages and improves vocabulary expansion efficiency.

Technology Category

Application Category

πŸ“ Abstract
Scaling LLM vocabulary is often used to reduce input sequence length and alleviate attention's quadratic cost. Yet, current LLM architectures impose a critical bottleneck to this procedure: the output projection layer scales linearly with vocabulary size, rendering substantial expansion impractical. We propose SpeLLM, a method that decouples input and output vocabularies by predicting character-level strings through multiple output heads. In SpeLLM, each of the $k$ linear heads predicts a single character simultaneously, enabling the model to represent a much larger output space using smaller, independent linear heads. We present a self-distillation approach for converting a standard LLM to a SpeLLM. Our experiments with four pre-trained LLMs show their SpeLLM variants achieve competitive performance on downstream tasks while reducing runtime by 5.1% on average across models. Our approach provides a potential avenue for reducing LLM costs, while increasing support for underrepresented languages and domains.
Problem

Research questions and friction points this paper is trying to address.

Reducing LLM output projection layer's vocabulary size bottleneck
Decoupling input and output vocabularies via multi-head character prediction
Enabling larger output space with smaller independent linear heads
Innovation

Methods, ideas, or system contributions that make the work stand out.

Decouples input and output vocabularies using multi-head decoding
Predicts character-level strings with multiple linear heads
Self-distillation converts standard LLM to SpeLLM efficiently
πŸ”Ž Similar Papers
No similar papers found.
πŸ’Ό Related Jobs
No related jobs found.