Dynamic Collaboration of Multi-Language Models based on Minimal Complete Semantic Units

Chuangli Hao, Zezheng Wang, Yanhua Huang, Ruiwen Xu, Wenzhe Niu, Xin Liu, Zitong Yu

TL;DR

This paper introduces DDS (Distribution Distance-based Dynamic Selection), a training-free method that allows multiple large language models (LLMs) to collaborate at the token level to solve complex reasoning tasks. By aligning models through "Minimal Complete Semantic Units" (MCSUs) and filtering out low-quality model distributions using KL divergence, the authors achieve performance that exceeds both individual models and traditional ensembling techniques.

What Problem Does This Paper Address?

While ensembling multiple LLMs generally improves performance, it faces two major hurdles:

  1. Vocabulary Misalignment: Different models use different tokenizers. For example, one model might see "Llama" as one token, while another sees "Lla" and "ma." This makes it difficult to average their "next-token" predictions directly.
  2. The "More is Not Always Better" Paradox: Simply adding more models to a collaboration doesn't always help. A weaker model can introduce noise and lead a stronger group toward an incorrect answer.

Existing solutions often involve training complex "projection matrices" to align vocabularies or using "referee" models to pick the best answer, both of which add significant computational overhead or architectural complexity.

Methods

The authors propose a two-part framework to enable seamless, high-quality collaboration:

1. Minimal Complete Semantic Units (MCSU)

Instead of trying to align raw tokens, the authors align models based on MCSUs—the smallest units of complete meaning (like a full word, a number, or a punctuation mark).

  • How it works: If a model generates a partial token (like "Lla"), the system allows it to continue generating until it hits a natural delimiter (like a space).
  • Alignment: The probability of that MCSU is calculated as the product of the joint probabilities of its constituent tokens. Since most models eventually agree on full words, this provides a "natural alignment" in linguistic space without needing extra training.

2. Distribution Distance-based Dynamic Selection (DDS)

To solve the "noise" problem, the authors introduce a dynamic filtering strategy.

  • The Logic: Correct answers tend to be consistent, while incorrect answers vary wildly.
  • The Process: At each step, the system calculates the KL divergence (a measure of how probability distributions differ) between all participating models. It identifies the "majority cluster" of distributions that are close to each other and filters out the "outliers" that are too far away. Only the high-quality, clustered distributions are averaged to predict the next unit.

Datasets

The researchers evaluated their method across a wide array of reasoning benchmarks:

  • Arithmetic Reasoning: SVAMP, GSM8K, AddSub, and AQuA.
  • Commonsense Reasoning: CSQA, StrategyQA, OpenBookQA, and ARC-c.
  • Symbolic Reasoning: BigBench tasks (Date Understanding, Penguin, Colored Objects, Logical Deduction).
  • Cross-Task/Lingual: HumanEval (code generation) and C-Eval (Chinese knowledge).

Key Insights and Ideas

  • Emergent Capabilities (1+1 > 2): One of the most striking findings is that DDS can produce the correct answer even when every single individual model in the ensemble gets it wrong. By combining the "best" parts of different probability distributions at each token step, the ensemble finds a reasoning path that no individual model could navigate alone.
  • Simplicity is Strength: Unlike previous methods that require training "bridge" layers between models, MCSU uses the inherent structure of language (spaces and punctuation) to achieve alignment.
  • The "Outlier" Principle: The success of DDS hinges on the idea that "there is typically only one correct answer, whereas incorrect answers can be numerous and varied." By pruning the outliers, the system effectively ignores the "hallucinations" of individual models.

Key Results

The proposed DDS method consistently outperformed the best individual models (Qwen-2-7B, Llama-3-8B, and GLM-4-9B) and standard ensembling methods like Majority Voting.

  • GSM8K (Math): DDS achieved 85.1% accuracy, compared to the best single model (Qwen) at 82.3%.
  • CSQA (Commonsense): DDS reached 76.0%, significantly higher than Qwen’s 71.9%.
  • Reliability: On the TruthfulQA benchmark, DDS showed higher scores across ROUGE, BLEU, and BLEURT metrics, indicating that the collaboration produces more factual and reliable text.
  • Efficiency: Because it is training-free and uses a simple filtering mechanism, the computational overhead for the selection process itself is negligible (though running multiple models still requires significant VRAM).

Limitations and Future Work

  • Hardware Constraints: The primary limitation is that DDS requires loading multiple models into memory simultaneously. This makes it difficult to deploy on resource-constrained or "edge" devices.
  • Inference Speed: Since the system must wait for all models to complete an MCSU before proceeding, the total reasoning time is tied to the slowest model in the group.
  • Safety and Ethics: The authors note that while collaboration improves reasoning, it’s unclear if it might accidentally bypass the safety guardrails of individual models. This is flagged as a critical area for future research.
  • Scaling: Future work will explore how to better integrate a larger number of models (beyond 3-5) and develop strategies for even more complex multi-step reasoning.

Summary updated

BibTeX
@misc{hao2025dynamic,
  author = {Chuangli Hao and Zezheng Wang and Yanhua Huang and Ruiwen Xu and Wenzhe Niu and Xin Liu and Zitong Yu},
  title = {{Dynamic Collaboration of Multi-Language Models based on Minimal Complete Semantic Units}},
  year = {2025},
  eprint = {2508.18763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.18763},
}
Figure