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

通过概率分词提升大语言模型的自洽性

Improving Self Consistency in LLMs through Probabilistic Tokenization

IIT Bombay(印度理工学院孟买分校);Microsoft Research India(微软研究院印度分所)

Ashutosh Sathe, Divyanshu Aggarwal, Sunayana Sitaram

AI总结:

本文提出利用现代大语言模型分词器的多分词能力,通过概率分词提升模型在推理任务中的自洽性,并在5个模型家族和4个推理基准上验证了其效果。

摘要:

先前研究表明,使用概率分词能带来显著的性能提升,该方法在语言模型训练阶段对同一输入字符串采用多种分词方式。尽管这些发现很有前景,但现代大语言模型(LLMs)尚未使用概率分词进行训练。值得注意的是,虽然这些当代大语言模型的分词器具备生成多种分词结果的能力,但这一特性仍未得到充分利用。在本工作中,我们提出了一种新方法,利用现代大语言模型分词器的多分词能力,旨在提升大语言模型在推理任务中的自洽性。我们的实验表明,当使用概率分词时,大语言模型会生成逻辑上多样的推理路径,超越了单纯的表层语言多样性。我们仔细研究了概率分词,并通过对5个大语言模型家族和4个推理基准的广泛实验,提供了见解来解释其带来的自洽性改进。

英文摘要:

Prior research has demonstrated noticeable performance gains through the use of probabilistic tokenizations, an approach that involves employing multiple tokenizations of the same input string during the training phase of a language model. Despite these promising findings, modern large language models (LLMs) have yet to be trained using probabilistic tokenizations. Interestingly, while the tokenizers of these contemporary LLMs have the capability to generate multiple tokenizations, this property remains underutilized. In this work, we propose a novel method to leverage the multiple tokenization capabilities of modern LLM tokenizers, aiming to enhance the self-consistency of LLMs in reasoning tasks. Our experiments indicate that when utilizing probabilistic tokenizations, LLMs generate logically diverse reasoning paths, moving beyond mere surface-level linguistic diversity.We carefully study probabilistic tokenization and offer insights to explain the self consistency improvements it brings through extensive experimentation on 5 LLM families and 4 reasoning benchmarks.

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

↑