列表译码大语言模型相变的一种简单解释
A Simple Explanation for the Phase Transition in Large Language Models with List Decoding
摘要:
最近的各种实验结果表明,大语言模型(LLM)表现出涌现的能力,不存在于小模型。系统性能在超过某个临界规模阈值后得到了极大的提高。在这封信中,我们提供了一个简单的解释,这样的相变现象。为此,我们将LLM建模为序列到序列的随机函数。我们使用一个列表解码器,而不是在每一步使用即时生成,它在每一步都保留一个候选序列列表,并在最后推迟输出序列的生成。我们表明,有一个临界阈值,使错误的候选序列的预期数量保持有界时,LLM低于阈值,它呈指数增长时,LLM高于阈值。这种阈值与传染病的基本繁殖数有关。
英文摘要:
Various recent experimental results show that large language models (LLM) exhibit emergent abilities that are not present in small models. System performance is greatly improved after passing a certain critical threshold of scale. In this letter, we provide a simple explanation for such a phase transition phenomenon. For this, we model an LLM as a sequence-to-sequence random function. Instead of using instant generation at each step, we use a list decoder that keeps a list of candidate sequences at each step and defers the generation of the output sequence at the end. We show that there is a critical threshold such that the expected number of erroneous candidate sequences remains bounded when an LLM is below the threshold, and it grows exponentially when an LLM is above the threshold. Such a threshold is related to the basic reproduction number in a contagious disease.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。