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

大语言模型中的时间箭头

Arrows of Time for Large Language Models

Vassilis Papadopoulos, Jérémie Wenger, Clément Hongler

AI总结:

研究大语言模型通过时间方向性进行概率建模,发现模型在预测下一个词与前一个词时的平均对数困惑度存在细微但一致的不对称性,提出理论框架解释这种不对称性源于稀疏性和计算复杂性。

摘要:

我们通过时间方向性角度研究自回归大语言模型(LLMs)进行的概率建模,回应了Shannon(1951)提出的问题。对于足够大的模型,我们实证发现其在学习自然语言时存在时间不对称性:预测下一个词与预测前一个词的平均对数困惑度存在差异。这种差异既微妙又在各种模态(语言、模型大小、训练时间等)中保持一致。从信息论角度看,这令人惊讶:理论上不应存在此类差异。我们提供了一个理论框架,解释这种不对称性如何从稀疏性和计算复杂性考虑中出现,并概述了我们的结果所开启的多个视角。

英文摘要:

We study the probabilistic modeling performed by Autoregressive Large Language Models (LLMs) through the angle of time directionality, addressing a question first raised in (Shannon, 1951). For large enough models, we empirically find a time asymmetry in their ability to learn natural language: a difference in the average log-perplexity when trying to predict the next token versus when trying to predict the previous one. This difference is at the same time subtle and very consistent across various modalities (language, model size, training time, ...). Theoretically, this is surprising: from an information-theoretic point of view, there should be no such difference. We provide a theoretical framework to explain how such an asymmetry can appear from sparsity and computational complexity considerations, and outline a number of perspectives opened by our results.

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

↑