Lune

ACL2024顶会

Learning to Decode Collaboratively with Multiple Language Models

Zejiang Shen, Hunter Lang, Bailin Wang, Yoon Kim, David A. Sontag

2024年份
25顶会引用

摘要

We propose a method to teach multiple large language models (LLM) to collaborate by interleaving their generations at the token level. We model the decision of which LLM generates the next token as a latent variable. By optimizing the marginal likelihood of a training set under our latent variable model, the base LLM automatically learns when to generate itself and when to call on one of the "assistant" language models to generate, all without direct supervision. Token-level collaboration during decoding allows for a fusion of each model's expertise in a manner tailored to the specific task at hand. Our collaborative decoding is especially useful in cross-domain settings where a generalist base LLM learns to invoke domain expert models. On instruction-following, domainspecific QA, and reasoning tasks, we show that the performance of the joint system exceeds that of the individual models. Through qualitative analysis of the learned latent decisions, we show models trained with our method exhibit several interesting collaboration patterns, e.g., template-filling. 1 Here's a recipe for Kubdari, a traditional Georgian dish: Ingredients: * 1 lb ground beef * 1 onion, finely cho pped * 2 cloves garlic, minced * 1 cup chopped parsley * 1 cup chopped cilantro * 1 cup chopped dill * 1 cup chopped ...

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext bc89da83-d1c4-4eda-8296-c57ab03e4e33

引用它的顶会 Paper25

问问它们各自怎么用它

它引用的顶会 Paper20

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖