arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.00343cs.CLcs.AI
收藏

块蒸馏语言建模

Chunk-Distilled Language Modeling

University of Chicago(芝加哥大学);TTIC(芝加哥丰田技术研究所);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所);Stony Brook University(石溪大学)

Yanhong Li, Karen Livescu, Jiawei Zhou

AI总结:

本文提出块蒸馏语言建模 CD-LM,通过结合深度 LLM 与检索模块实现单步生成多 token 文本块,无需额外训练即可灵活适配新数据与知识,并在多种下游任务中提升模型性能和效率。

摘要:

我们提出块蒸馏语言建模(Chunk-Distilled Language Modeling,CD-LM),这是一种文本生成方法,旨在解决当前大语言模型(LLMs)面临的两个挑战:token 级生成的低效性,以及难以适应新数据和新知识。我们的方法将基于深度网络的 LLMs 与一个直接的检索模块相结合,从而能够在单个解码步骤中生成多 token 文本块。我们的检索框架支持灵活构建模型特定或领域特定的数据存储,既可以利用现有模型的内部知识,也可以融入来自人工标注语料的专家见解。这种适应性使得我们能够在不进行额外训练的情况下,增强对语言模型分布的控制。我们给出了 CD-LM 的形式化描述,并展示了性能指标,证明其能够在多种下游任务中提升语言模型的性能和效率。代码和数据将公开发布。

英文摘要:

We introduce Chunk-Distilled Language Modeling (CD-LM), an approach to text generation that addresses two challenges in current large language models (LLMs): the inefficiency of token-level generation, and the difficulty of adapting to new data and knowledge. Our method combines deep network-based LLMs with a straightforward retrieval module, which allows the generation of multi-token text chunks at a single decoding step. Our retrieval framework enables flexible construction of model- or domain-specific datastores, either leveraging the internal knowledge of existing models, or incorporating expert insights from human-annotated corpora. This adaptability allows for enhanced control over the language model's distribution without necessitating additional training. We present the CD-LM formulation along with performance metrics demonstrating its ability to improve language model performance and efficiency across a diverse set of downstream tasks. Code and data will be made publicly available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑