arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08481cs.CL
收藏

使用动态词表生成

Generation with Dynamic Vocabulary

School of Computer Science and Technology, East China Normal University(华东师范大学计算机科学与技术学院);School of Computer Science, Fudan University(复旦大学计算机学院)

Yanting Liu, Tao Ji, Changzhi Sun, Yuanbin Wu, Xiaoling Wang

AI总结:

本文提出一种用于语言模型的动态词表,支持将任意文本片段作为基本生成单元进行原子化生成,在即插即用提升生成质量与效率的同时,可无训练地跨领域应用并增强问答任务的引用可靠性。

摘要:

我们为语言模型引入了一种新的动态词表。它可以在生成过程中包含任意文本片段。这些文本片段充当基本生成单元,类似于传统静态词表中的token。我们表明,原子化生成多token的能力同时提升了生成质量和效率(与标准语言模型相比,MAUVE指标提升了25%,延迟降低了20%)。动态词表可以即插即用方式部署,对各种下游应用极具吸引力。例如,我们证明动态词表能以无训练方式应用于不同领域。它还有助于在问答任务中生成可靠引用(在不损害答案准确性的前提下显著增强引用结果)。

英文摘要:

We introduce a new dynamic vocabulary for language models. It can involve arbitrary text spans during generation. These text spans act as basic generation bricks, akin to tokens in the traditional static vocabularies. We show that, the ability to generate multi-tokens atomically improve both generation quality and efficiency (compared to the standard language model, the MAUVE metric is increased by 25%, the latency is decreased by 20%). The dynamic vocabulary can be deployed in a plug-and-play way, thus is attractive for various downstream applications. For example, we demonstrate that dynamic vocabulary can be applied to different domains in a training-free manner. It also helps to generate reliable citations in question answering tasks (substantially enhancing citation results without compromising answer accuracy).

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

↑