TL;DR
DEEPEN is a training-free framework that allows different large language models (LLMs)—even those with completely different vocabularies—to ensemble their internal probability distributions at every decoding step. By mapping these distributions into a universal "relative space" based on anchor tokens, DEEPEN enables deep collaboration that outperforms traditional text-based ensembling methods like voting or reward-based selection.
What Problem Does This Paper Address?
Ensembling is a classic "strength in numbers" strategy: combining the outputs of several models usually yields better results than any single individual. However, ensembling modern LLMs is tricky for two main reasons:
- Surface-Level Communication: Most current methods (like "LLM-Blender") look only at the final textual responses. This ignores the "dark matter" of internal representations—the rich probability distributions that show not just what the model picked, but how confident it was and what its second and third choices were.
- The Vocabulary Tower of Babel: Different models (e.g., LLaMA vs. Mistral) use different tokenizers. Token #502 in LLaMA might be "apple," while in Mistral, it’s a semicolon. Because of this "vocabulary discrepancy," you cannot simply average their probability vectors; it would be like trying to average a grocery list written in English with one written in Morse code.
The authors tackle these challenges by creating a way for models to "handshake" at the probability level without needing any extra training.
Methods
The core innovation of DEEPEN (Deep Parallel Ensemble) is the use of Relative Representation Theory.
- The Universal Space: Instead of looking at a token's absolute ID, DEEPEN represents each token by its cosine similarity to a set of "anchor tokens" (common words shared by all models). Because the semantic relationships between words are surprisingly consistent across different models, this "relative space" acts as a universal translator.
- Distribution Fusion: At each step of generating text, every model in the ensemble produces a probability distribution. DEEPEN projects these distributions into the universal relative space and calculates a weighted average.
- Search-Based Inverse Transformation: Once they have an aggregated "ideal" distribution in relative space, they need to turn it back into a specific word. They use a search-based optimization (minimizing KL-divergence) to find the probability distribution in a "main model's" native vocabulary that best matches the ensemble's collective wisdom.
- Training-Free: Unlike other fusion methods, DEEPEN requires zero extra parameters or fine-tuning. It works "out of the box" with off-the-shelf models.
Key Insights and Ideas
- The Power of Internal Reps: Fusing probabilities at every step is more robust than just picking the best final sentence. It allows models to correct each other's "hallucinations" in real-time before a wrong word is even emitted.
- Relative Invariance: The paper confirms that while neural networks are "black boxes," the distances between concepts inside those boxes are remarkably similar across different architectures. This is what makes the "relative space" mapping possible.
- Normalization is Key: The authors found that "outlier" words (words very different from the anchors) can break the mapping. They introduced a softmax-based normalization for the representation matrix to ensure every word remains distinguishable in the relative space.
- Generalist + Specialist Synergy: One of the most interesting findings was that a high-performing specialist model (like a translator) can still benefit from a less-effective generalist LLM. The generalist model provides a "semantic anchor" that helps the specialist stay on track.
Datasets and Key Results
The researchers evaluated DEEPEN across six diverse benchmarks to test different capabilities, including Comprehensive Examination (MMLU, ARC-C), Reasoning (GSM8K, PIQA), Knowledge (TriviaQA, NQ), and Translation (Flores-200).
- Consistent Gains: DEEPEN achieved consistent improvements across all six benchmarks. For example, on the ARC-C science benchmark, it improved performance by +3.34% over the best individual model in a top-4 ensemble.
- Superior Stability: Compared to "MINED" (a baseline that uses edit-distance to align vocabularies), DEEPEN was far more stable. MINED often produced incomplete words or gibberish because it forced alignments that didn't exist; DEEPEN's semantic mapping avoided this.
- Efficiency: While the search-based transformation adds some latency (~17% increase in token-level latency), the authors noted that in 90% of cases, models already agree on the next token. By skipping the fusion process when models agree, the actual overhead drops to less than 2%.
Limitations and Future Work
- The Double-Edged Sword of Diversity: While ensembling helps, adding significantly worse models to the mix can sometimes introduce "noise" that hurts the top-performing model.
- Static Weights: Currently, DEEPEN uses fixed weights for each model (e.g., giving 60% weight to the best model and 40% to the second). The authors suggest that adaptive collaboration weights—where the ensemble decides which model to trust more on a per-token basis—is a promising next step.
- Anchor Selection: The method relies on a shared set of anchor tokens. While the intersection of vocabularies works well, finding the "optimal" set of anchors could further improve the mapping accuracy.
Summary updated