Large language models are becoming the invisible engines behind chatbots, virtual assistants, translation platforms, coding tools, search systems, and educational applications. Yet their impressive abilities come with a costly bottleneck: most models generate text one token at a time, repeatedly running a large neural network for every word or symbol they produce. This autoregressive process can create significant delays and consume substantial computing power, especially when models are deployed at scale. A new framework developed by researchers at Japan Advanced Institute of Science and Technology (JAIST) aims to change that equation by making language-model inference faster without retraining the model or changing its outputs.
The system, called UniSpec, is a training-free speculative decoding framework designed to accelerate large language models across different languages, model architectures, and hardware platforms. According to its developers, Professor Le-Minh Nguyen, doctoral student Dinh-Truong Do, and Dr. Nguyen-Khang Le, UniSpec achieved up to 2.6 times faster inference than existing training-free speculative decoding methods. Crucially, the generated text remained identical to the output produced by conventional autoregressive decoding, meaning the acceleration does not come at the expense of the model’s original behavior.
Speculative decoding works by separating prediction from verification. Instead of asking a large language model to generate only one token at a time, a faster draft process proposes several possible tokens in advance. The larger target model then evaluates those proposed tokens in parallel during a single verification step. If the target model agrees with the draft, multiple tokens can be accepted at once, reducing the number of expensive model executions required to produce a response. When the target model rejects a proposal, decoding falls back to the correct next token, allowing the method to remain lossless.
The challenge is that speculative decoding is highly sensitive to how the draft process is configured. A draft that proposes too few tokens may provide little acceleration, while an overly ambitious draft can generate many incorrect candidates, forcing the target model to redo the work. Earlier training-free approaches often relied on fixed draft sizes, even though different graphics processors have very different memory bandwidth, computing capacity, and communication overhead. UniSpec addresses this problem by calibrating the draft size for each hardware platform, identifying a configuration intended to maximize real-world throughput rather than relying on a universal setting.
The framework also introduces confidence-guided n-gram scoring. It retrieves sequences of tokens, known as n-grams, from the preceding context and estimates how likely those sequences are to match the target model’s next predictions. Rather than treating every retrieved sequence equally, UniSpec assigns confidence scores and prioritizes candidates with a stronger likelihood of being accepted. These candidates are then organized into a draft tree, allowing the system to explore multiple promising continuations while avoiding excessive expansion into low-confidence branches.
This draft-tree strategy is central to UniSpec’s performance. A speculative decoder must balance breadth and depth: a wider tree can offer more possible continuations, but it also increases the computational burden of verification, while a narrow tree may miss opportunities to accept several tokens together. By using confidence information to guide expansion, UniSpec attempts to concentrate computation where it is most useful. The resulting process is designed to make better use of the target model’s parallel verification capabilities while preserving the exact decoding decisions of the original system.
The researchers evaluated UniSpec with Llama-3 and Qwen-3 models on several NVIDIA platforms, including the A100, A40, RTX A6000, and RTX 3090. These systems differ considerably in their processing power and hardware characteristics, making them a useful test of whether an acceleration method can remain effective beyond a single laboratory setup. The experiments reported consistently faster inference than state-of-the-art training-free speculative decoding methods across the tested models and devices. The framework was also evaluated in multilingual settings rather than being restricted to English-language generation.
To support that broader evaluation, the team created Multi-SpecBench, a benchmark covering seven languages and seven generation tasks. Many existing speculative-decoding benchmarks are heavily centered on English, which can obscure how tokenization, grammar, word formation, and language structure influence decoding efficiency. Multi-SpecBench is intended to provide a more demanding comparison by examining how speculative methods behave across different linguistic environments. The researchers say the benchmark can help establish a broader standard for evaluating multilingual inference systems and expose performance differences that may not appear in English-only tests.
UniSpec could be integrated into applications ranging from customer-service assistants and retrieval-augmented generation systems to code-generation tools, translation services, mathematical reasoning platforms, and cloud-based AI products. Because it does not require additional model training, it may reduce the cost and time associated with deploying an optimization technique across existing systems. However, the framework currently assumes access to model logits during inference, which may prevent its use with some closed-source or black-box services. The evaluation also covered seven languages and has not yet been extended to morphologically rich languages such as Arabic. Future work will examine wider language coverage, changing hardware environments, and more real-world deployments. The implementation of UniSpec and the Multi-SpecBench benchmark have been released publicly, giving researchers and developers tools to test whether lossless, hardware-aware acceleration can make increasingly powerful language models faster, more scalable, and less energy-intensive.
Subject of Research: Computational simulation/modeling
Article Title: UniSpec: Training-Free Speculative Decoding for Robust LLM Acceleration Across Languages and Hardware
Web References: Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics; Japan Advanced Institute of Science and Technology
References: DOI: 10.18653/v1/2026.acl-long.285
Image Credits: Professor Le-Minh Nguyen, Japan Advanced Institute of Science and Technology (JAIST), Japan
Keywords: Artificial intelligence, large language models, speculative decoding, natural language processing, machine learning, multilingual AI, hardware acceleration, inference optimization, computational linguistics, algorithms








