paper-with-me

홈 › Papers

Bridging the Gap between Different Vocabularies for LLM Ensemble

2024-04-15 · Yangyifan Xu, Jinliang Lu, Jiajun Zhang

Ensembling different large language models (LLMs) to unleash their complementary potential and harness their individual strengths is highly valuable. Nevertheless, vocabulary discrepancies among various LLMs have constrained previous studies to either selecting or blending completely generated outputs. This limitation hinders the dynamic correction and enhancement of outputs during the generation process, resulting in a limited capacity for effective ensemble. To address this issue, we propose a novel method to Ensemble LLMs via Vocabulary Alignment (EVA). EVA bridges the lexical gap among various LLMs, enabling meticulous ensemble at each generation step. Specifically, we first learn mappings between the vocabularies of different LLMs with the assistance of overlapping tokens. Subsequently, these mappings are employed to project output distributions of LLMs into a unified space, facilitating a fine-grained ensemble. Finally, we design a filtering strategy to exclude models that generate unfaithful tokens. Experimental results on commonsense reasoning, arithmetic reasoning, machine translation, and data-to-text generation tasks demonstrate the superiority of our approach compared with individual LLMs and previous ensemble methods conducted on complete outputs. Further analyses confirm that our approach can leverage knowledge from different language models and yield consistent improvement.

📄 PDF Abstract BibTeX arXiv:2404.09492

Code (1)

xydaytoy/eva 공식 구현 pytorch

Tasks

Arithmetic ReasoningData-to-Text GenerationMachine TranslationText Generation

Similar Papers 제목 키워드 기반

A Dual-Space Framework for General Knowledge Distillation of Large Language Models

2025-04-15 · Xue Zhang, Songming Zhang, Yunlong Liang, Fandong Meng 외

Knowledge distillation (KD) is a promising solution to compress large language models (LLMs) by transferring their knowledge to smaller models. During this process, white-box KD methods usually minimize the distance betw…

Code GenerationGeneral KnowledgeInstruction FollowingKnowledge Distillation+1

Sampling from Your Language Model One Byte at a Time

2025-06-17 · Jonathan Hayase, Alisa Liu, Noah A. Smith, Sewoong Oh

Tokenization is used almost universally by modern language models, enabling efficient text representation using multi-byte or multi-character tokens. However, prior work has shown that tokenization can introduce distorti…

Code GenerationLanguage ModelingLanguage Modelling

Cool-Fusion: Fuse Large Language Models without Training

2024-07-29 · Cong Liu, Xiaojun Quan, Yan Pan, Liang Lin 외

We focus on the problem of fusing two or more heterogeneous large language models (LLMs) to facilitate their complementary strengths. One of the challenges on model fusion is high computational load, i.e. to fine-tune or…

Combinatorial OptimizationGSM8KText Generation

Domain Generalization using Ensemble Learning

2021-03-18 · Yusuf Mesbah, Youssef Youssry Ibrahim, Adil Mehood Khan

Domain generalization is a sub-field of transfer learning that aims at bridging the gap between two different domains in the absence of any knowledge about the target domain. Our approach tackles the problem of a model's…

Domain GeneralizationEnsemble LearningTransfer Learning

Prompt Ensemble Self-training for Open-Vocabulary Domain Adaptation

2023-06-29 · Jiaxing Huang, Jingyi Zhang, Han Qiu, Sheng Jin 외

Traditional domain adaptation assumes the same vocabulary across source and target domains, which often struggles with limited transfer flexibility and efficiency while handling target domains with different vocabularies…

Domain AdaptationUnsupervised Domain Adaptation