arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.03471cs.LGcs.AIcs.CLcs.ITmath.IT
收藏

大型语言模型几何的信息

The Information of Large Language Model Geometry

Tsinghua University(清华大学);Qing Yuan Research Institute(清源研究院);Shanghai Jiao Tong University(上海交通大学)

Zhiquan Tan, Chenghai Li, Weiran Huang

AI总结:

本研究通过熵分析揭示LLM嵌入信息与模型规模的幂律关系,提出基于条件熵的缩放定律理论,并利用岭回归和Lasso回归探究自回归令牌间信息增益,发现信息分布而非集中。

摘要:

本文研究了大型语言模型(LLM)嵌入中编码的信息。我们进行模拟以分析表示熵,并发现其与模型规模之间存在幂律关系。基于这一观察,我们提出了一种基于(条件)熵的理论来阐释缩放定律现象。此外,我们深入探讨了LLM的自回归结构,并使用信息论和回归技术研究了最后一个令牌与先前上下文令牌之间的关系。具体而言,我们在新令牌的信息增益与岭回归之间建立了理论联系。此外,我们探索了Lasso回归在选取有意义令牌方面的有效性,其有时优于密切相关的注意力权重。最后,我们进行了受控实验,发现信息分布在令牌之间,而非仅集中在特定的“有意义”令牌上。

英文摘要:

This paper investigates the information encoded in the embeddings of large language models (LLMs). We conduct simulations to analyze the representation entropy and discover a power law relationship with model sizes. Building upon this observation, we propose a theory based on (conditional) entropy to elucidate the scaling law phenomenon. Furthermore, we delve into the auto-regressive structure of LLMs and examine the relationship between the last token and previous context tokens using information theory and regression techniques. Specifically, we establish a theoretical connection between the information gain of new tokens and ridge regression. Additionally, we explore the effectiveness of Lasso regression in selecting meaningful tokens, which sometimes outperforms the closely related attention weights. Finally, we conduct controlled experiments, and find that information is distributed across tokens, rather than being concentrated in specific "meaningful" tokens alone.

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

↑