New compression framework reduces LLM reasoning tokens losslessly
Researchers have developed a method to compress intermediate reasoning steps using custom tokens, reducing latency without losing interpretability.
Source: Grafy Research LabResearchers have developed a method to compress the intermediate reasoning steps of large language models (LLMs) without sacrificing the ability for humans to read and audit the process. This approach addresses the high computational costs and latency associated with long Chain-of-Thought (CoT) sequences by using a specialized, compressed vocabulary.
Why is LLM reasoning so expensive?
Chain-of-Thought prompting has become a standard technique to improve the performance of LLMs on complex tasks like mathematics, logic, and coding. By generating a sequence of intermediate steps, models can break down difficult problems into manageable parts. However, according to a paper by Rabimba Karanjai et al., this process creates a significant computational bottleneck. Because LLMs decode text autoregressively, every additional token produced during the reasoning phase adds direct latency and increases the total cost of inference.
As reasoning-focused models continue to evolve, some architectures are even generating thousands of tokens to reach a conclusion. This makes them increasingly expensive to serve at scale. While some previous attempts to solve this involved "latent reasoning"—where the model computes steps in a continuous mathematical space—these methods are often "lossy," meaning the reasoning becomes unreadable to humans, making it impossible to audit the model's logic.
How does the new compression method work?
The researchers proposed a framework that uses Byte-Pair Encoding (BPE) to identify frequent semantic spans within reasoning corpora. Instead of forcing the model to output every single word, the system maps these common sequences to new, unique tokens within the Private Use Area (PUA) of the Unicode standard.
According to the authors, the process involves a three-stage pipeline:
- Vocabulary Construction: Using BPE to create a compressed vocabulary of PUA tokens that represent frequent phrases.
- Vocabulary Expansion: Adding these new tokens into the LLM's existing embedding matrices using a technique called Fast Vocabulary Transfer.
- Self-Distillation: Fine-tuning the model so it learns to reason natively using this compressed, specialized language.
Because the mapping between the original text and the new PUA tokens is strictly 1:1, the authors describe the method as "lossless." This means the logic remains intact, even if the surface-level representation is compressed.
What are the performance gains?
The researchers evaluated their approach on several prominent models, including Llama-3.1-8B, Qwen2.5-14B, and Qwen2.5-32B, across benchmarks such as GSM8K and MATH. The results demonstrated significant efficiency improvements.
On average, the method reduced the total number of generated tokens by 14.7%. Specifically, the length of the reasoning traces themselves dropped by up to 27.1%. Importantly, this efficiency did not come at a heavy cost to intelligence; the models maintained their accuracy, incurring only a negligible average cost of 1.6 percentage points compared to the raw baselines. This suggests that models can maintain high-level reasoning capabilities while communicating their thoughts more densely.
Can this be combined with other techniques?
One of the primary advantages of this framework is that it is "orthogonal" to existing compression methods. This means it does not compete with lossy strategies like token-skipping or pruning. Instead, a developer could theoretically layer this lossless compression on top of irreversible, lossy methods to achieve even higher levels of efficiency if the requirement for human-readable reasoning is not strictly necessary for every step.
How can researchers apply these findings?
For those working in AI research or developing complex agentic workflows, this research highlights a path toward faster, cheaper, and more transparent reasoning. While this specific implementation is a research breakthrough, the concept of optimizing how models "think" through text is central to the future of efficient AI deployment.
If you are currently analyzing research papers on tokenization or model efficiency, you can use the Reader app in Grafy to search through and question dense academic PDFs, helping you extract specific mathematical implementations or benchmark results from similar studies.
Frequently asked questions
Does this method make AI reasoning unreadable?
No, this method maintains human readability. Unlike latent reasoning methods that hide the thought process in a mathematical space, this approach uses a 1:1 encoding with PUA tokens. This ensures that the reasoning steps can still be decoded and audited by humans, preserving transparency while reducing the token count.
How much faster can the reasoning process become?
The research shows that reasoning trace lengths can drop by up to 27.1%. On average, the total number of generated tokens is reduced by 14.7%. This reduction in tokens directly translates to lower latency and reduced computational costs during the autoregressive decoding process.
Does compressing tokens reduce the accuracy of the model?
The impact on accuracy is described as negligible. During evaluations across various benchmarks, the models experienced an average accuracy cost of only 1.6 percentage points. This indicates that the model can effectively learn to reason within the compressed space without losing its ability to solve complex problems.
Source: Rabimba Karanjai et al., "Reasoning in Fewer Tokens: Concept-Normalized Multilingual Scratchpads and Reversible Model-Adaptive Reasoning Codes"


