David帮助Goliath:小型专用与大型通用扩散语言模型在推理时的协作
David helps Goliath: Inference-Time Collaboration Between Small Specialized and Large General Diffusion LMs
AI总结:
本文提出SSD-2方法,在推理时将大型通用扩散语言模型与小型专用模型集成,利用双向上下文动态结合,实现比自回归模型更高质量的响应。
摘要:
基于扩散的语言模型正成为自回归LM的一种有前途的替代方案:它们接近自回归LM的能力,同时在推理时提供细致的可控性。虽然自回归LM从扩展和基于指令的学习中受益匪浅,但现有的扩散LM研究是在较小规模上进行的。从最近提出的扩散模型SSD-LM开始,在这项工作中,我们首先探索将其从0.4B扩展到13B参数的方法,提出提高其训练和推理效率的技术,并对模型进行微调以遵循指令。凭借更强大的通用扩散LM,我们引入了这项工作的主要贡献——SSD-2——一种在推理时轻松将大型通用扩散LM与较小但专用且情境化的扩散LM进行集成的方法。我们表明,SSD-2促进了与100倍小模型的新型集成,这些小模型可由个人用户定制和部署。我们发现,与自回归模型相比,扩散LM之间的协作更有效,由于它们能够动态结合双向上下文,从而产生更高质量的模型响应。
英文摘要:
Diffusion-based language models are emerging as a promising alternative to autoregressive LMs: they approach the competence of autoregressive LMs while offering nuanced controllability at inference time. While autoregressive LMs have benefited immensely from scaling and instruction-based learning, existing studies of diffusion LMs have been conducted on a smaller scale. Starting with a recently proposed diffusion model SSD-LM, in this work we first explore methods to scale it from 0.4B to 13B parameters, proposing techniques to improve its training and inference efficiency, and to finetune the model to follow instructions. Armed with a more powerful, general purpose diffusion LM, we introduce the primary contribution of this work -- SSD-2 -- an approach to easily ensemble at inference time a large general-purpose diffusion LM with smaller, but specialized and contextualized diffusion LMs. We show that SSD-2 facilitates novel ensembles with 100x smaller models that can be customized and deployed by individual users. We find that compared to autoregressive models, the collaboration between diffusion LMs is more effective, leading to higher-quality model responses due to their ability to dynamically incorporate bi-directional contexts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。