Cross-Vocabulary Alignment for Large Language Model Ensembles

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2257 papers318 conceptsfrozen 2026-10-04

The most powerful way to improve a Large Language Model (LLM) is often to combine it with another. Whether through ensembling, speculative decoding, or model merging, the goal is to leverage the unique "expertise" of different architectures. However, a fundamental technical barrier stands in the way: vocabulary mismatch.

Most modern LLMs are "black boxes" that communicate through specific, incompatible alphabets. If you want to average the predictions of Llama-3 and Mistral, you quickly realize that token #42 in one model might represent a comma, while in the other, it represents a fragment of a Cyrillic word. This lack of a shared coordinate system makes direct mathematical collaboration nearly impossible.

The Tokenization Barrier

Before a model can process text, it must break it into "tokens" using a tokenizer. Because tokenizers are typically optimized for a specific training corpus, different model families—and even different versions of the same model—utilize unique vocabularies.

As Ofir Zafrir and colleagues note in FastDraft: How to Train Your Draft, this is the primary reason we cannot easily use a small, pre-trained model to speed up a larger one via speculative decoding. If the "draft" model and the "target" model don't share an identical vocabulary, the target model cannot verify the draft's predicted tokens. This constraint forces researchers to either retrain models from scratch or develop complex "transplant" algorithms that Xiaoze Liu warns can introduce security vulnerabilities in The Trojan in the Vocabulary: Stealthy Sabotage of LLM Composition.

Mapping to a Shared Space

To overcome this, researchers have moved beyond simple text-based voting toward logit-level fusion. The intuition is to find a mathematical "bridge" that allows models to compare their internal probability distributions.

One prominent approach is to map disparate vocabularies into a universal "relative space." In Ensemble Learning for Heterogeneous Large Language Models with Deep Parallel Collaboration, Xiaocheng Feng and Yichong Huang introduce DEEPEN. Instead of comparing token IDs, DEEPEN looks at how models rank a set of shared "anchor tokens." By seeing how both models relate a specific concept to these anchors, the system can fuse their predictions without needing them to share a single tokenizer.

Similarly, Bridging the Gap between Different Vocabularies for LLM Ensemble proposes EVA (Ensemble via Vocabulary Alignment). EVA treats the vocabulary mismatch as a translation problem, mathematically aligning the probability distributions so that models can cross-correct each other mid-sentence. This allows a "smart" model to steer a "fast" model even when they speak different internal languages.

From Tokens to Spans and Segments

If aligning every single token is too computationally expensive, another strategy is to ensemble at a higher level of abstraction.

Knowledge Fusion and Distillation

The ultimate goal of this research is not just to run models side-by-side, but to merge them into a single, superior entity. Fanqi Wan and colleagues demonstrate this in Knowledge Fusion of Large Language Models. Their framework, FuseLLM, aligns the distributions of multiple source models during a lightweight training phase. By reconciling the "probabilistic footprints" of models like Llama and MPT, they create a fused model that inherits the strengths of all its ancestors.

Even more recently, Daiki Chijiwa and the NTT research team have proposed Lossless Vocabulary Reduction (LVR) in Lossless Vocabulary Reduction for Auto-Regressive Language Models. LVR provides a theoretical framework for a model to "speak" using a different, smaller vocabulary without losing any predictive power, potentially standardizing how we ensemble heterogeneous models in the future.

By solving the vocabulary alignment problem, we move from a world of isolated, monolithic models toward a modular ecosystem where the best components of any model can be "stitched" together (StitchLLM) to solve complex tasks.

Papers in this version

Showing 60 of 257 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 215 papers
  2. Version 1 · 2026-10-04 · 257 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_tokenizer_misalignment_aa1e9151,
  title = {tokenizer misalignment},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/tokenizer-misalignment/rdr_aa1e915121e447f693bcef607f282c55},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_cross_vocabulary_alignment_for_large_lan_aa1e9151_v1,
  title = {Cross-Vocabulary Alignment for Large Language Model Ensembles},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/cross-vocabulary-alignment-for-large-language-model-ensembles/rdr_aa1e915121e447f693bcef607f282c55/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}