Large language models (LLMs) are often described as "black boxes," but they are more accurately described as islands. Each model family—whether Llama, GPT, or Qwen—speaks its own internal dialect of tokens. Because these models use different tokenization schemes (like Byte-Pair Encoding or WordPiece) and distinct vocabularies, they cannot easily communicate at the level of probability distributions. This "tokenizer misalignment" creates a significant barrier for collaborative inference, preventing researchers from ensembling diverse models, using small models to accelerate large ones, or transferring safety guardrails between architectures.
Recent research has focused on building bridges between these disparate token spaces, moving toward a "universal interface" for language model collaboration.
The Speculative Decoding Bottleneck
Speculative decoding is a popular technique for speeding up LLM inference by using a tiny "draft" model to predict several tokens that a larger "target" model then verifies in a single pass. Traditionally, this requires the draft and target models to share the exact same vocabulary. As Nadav Timor et al. and Ofir Zafrir et al. point out, this constraint forces developers to train custom draft models from scratch, preventing the use of high-quality, off-the-shelf small models from different families.
To solve this, researchers have developed algorithms like SLEM and SLRS, which enable lossless speculative decoding between models with completely different vocabularies. The intuition is to map the draft model's token sequences back into the target model's space for verification. Ramchalam Kinattinkara Ramakrishnan et al. further this with OmniDraft, a framework that allows a single tiny drafter to accelerate any large model by dynamically adapting to the target's vocabulary in real-time.
Ensembling via Common Denominators
When we want to ensemble multiple models to improve accuracy, we usually want them to "vote" on the next token. However, if Model A sees the word "apple" as one token and Model B sees it as two ("ap" + "ple"), their logit distributions cannot be directly averaged.
One solution is to find a "common denominator" representation. Kevin Gu et al. propose CharED, which marginalizes token probabilities into character-level distributions. By looking at the probability of the next character rather than the next token, models with entirely different architectures can collaborate on a single output. Similarly, Yangyifan Xu et al. introduce EVA (Ensemble via Vocabulary Alignment), which mathematically aligns disparate vocabularies into a unified space to allow token-level ensembling without retraining.
For a more fundamental approach, Jonathan Hayase et al. introduce ByteSampler. By treating BPE-based models as byte-level generators, they bypass the "Prompt Boundary Problem" and allow for "proxy-tuning" across different model families. This byte-level view treats the model's vocabulary not as a fixed set of symbols, but as a structured way to generate raw data, making the specific tokenizer irrelevant.
Transferring Knowledge and Safety
The misalignment problem also hinders the transfer of specialized capabilities. For example, if you fine-tune a small model to be an expert in medical text, you might want to "plug" that expertise into a larger generalist model. Aitor Ormazabal et al. address this with CombLM, which merges the outputs of a large black-box model and a small fine-tuned expert at the probability level, even when their tokenizations differ.
This is particularly critical for safety. Many safety mechanisms, such as Anchored Decoding, rely on a "safe" reference model to guide a "risky" high-performance model. Jacqueline He et al. and W. Koh demonstrate that by using byte-level interventions, these safety bounds can be maintained even when the safe and risky models use incompatible tokenizers.
Mapping the Semantic Space
Beyond just aligning logits, some researchers focus on mapping the underlying semantic representations. Zijun Wu et al. show that continuous prompts can be transferred between models by mapping them into a "relative space" defined by shared anchor tokens. This allows a prompt tuned on a small model to be deployed on a much larger one with a different architecture.
In the realm of model updates, Ting-Yao Hu argues that changes in tokenizers are a primary cause of "negative flips"—where a newer, better model suddenly fails on prompts its predecessor handled correctly. By using compatibility adapters, researchers can maintain functional consistency even as the underlying text processing evolves.
Ultimately, these techniques suggest a future where the specific choice of tokenizer is no longer a silo. Whether through byte-level sampling, character-level ensembling, or dynamic transformation matrices, the goal is to treat the diverse ecosystem of LLMs as a single, interoperable toolkit.