arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.08102cs.CLcs.AIcs.LGstat.ML
收藏

无损词汇缩减用于自回归语言模型

Lossless Vocabulary Reduction for Auto-Regressive Language Models

NTT Computer and Data Science Laboratories, NTT Corporation(NTT计算机与数据科学实验室,NTT集团);NTT Human Informatics Laboratories, NTT Corporation(NTT人类信息学实验室,NTT集团)

Daiki Chijiwa, Taku Hasegawa, Kyosuke Nishida, Shin'ya Yamaguchi, Tomoya Ohba, Tamao Sakao, Susumu Takeuchi

AI总结:

本文提出了一种无损词汇缩减框架,使不同分词方式的语言模型能通过最大公共词汇高效合作,提升模型集成效率。

摘要:

分词——将给定文本分解为称为token的子词序列的过程——是语言模型开发中的关键组成部分。特别是,自回归语言模型逐token生成文本,即通过预测下一个token的分布来生成文本,因此分词直接影响其在文本生成中的效率。由于每个语言模型都有一个可能的token集合作为词汇,它们在下一个token分布层面如模型集成时难以相互合作。在本文中,我们建立了一个无损词汇缩减的理论框架,该框架能够高效地将给定的自回归语言模型转换为具有任意小词汇量的模型,而不会损失准确性。该框架允许具有不同分词方式的语言模型通过缩减到其最大公共词汇进行高效合作。具体来说,我们实证地展示了其在不同分词方式的模型集成中的适用性。

英文摘要:

Tokenization -- the process of decomposing a given text into a sequence of subwords called tokens -- is one of the key components in the development of language models. Particularly, auto-regressive language models generate texts token by token, i.e., by predicting the next-token distribution given the previous ones, and thus tokenization directly affects their efficiency in text generation. Since each language model has their own vocabulary as a set of possible tokens, they struggle to cooperate with each other at the level of next-token distributions such as model ensemble. In this paper, we establish a theoretical framework of lossless vocabulary reduction, which efficiently converts a given auto-regressive language model into the one with an arbitrarily small vocabulary without any loss in accuracy. This framework allows language models with different tokenization to cooperate with each other efficiently by reduction to their maximal common vocabulary. Specifically, we empirically demonstrate its applicability to model ensemble with different tokenization.

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

↑