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

嵌入应该嵌入什么?自回归模型表示潜在生成分布

What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributions

Department of Computer Science(计算机科学系);Princeton University(普林斯顿大学);Stanford University(斯坦福大学);Department of Linguistics and Wu Tsai Institute(语言学系和吴泰教授研究所);Yale University(耶鲁大学);Anthropic(Anthropic公司);Departments of Psychology and Computer Science(心理学系和计算机科学系)

Liyi Zhang, Michael Y. Li, R. Thomas McCoy, Theodore R. Sumers, Jian-Qiao Zhu, Thomas L. Griffiths

AI总结:

本文探讨了自回归模型中嵌入应代表的潜在生成分布,并通过实验证明了其在不同场景下的有效性。

摘要:

自回归语言模型在从文本中提取潜在结构方面表现出显著能力。大型语言模型的嵌入已被证明能够捕捉语言的语法和语义方面。但嵌入应该代表什么?我们将自回归预测目标与构建预测充分统计量的概念联系起来,用这一联系来确定三种情况下嵌入的最佳内容可以被识别:独立同分布数据,其中嵌入应捕捉数据的充分统计量;潜在状态模型,其中嵌入应编码给定数据的后验状态分布;以及离散假设空间,其中嵌入应反映给定数据的后验假设分布。我们随后进行实证探测研究,显示transformers编码了这三种潜在生成分布,并且在非分布情况下以及没有token记忆的情况下表现良好。

英文摘要:

Autoregressive language models have demonstrated a remarkable ability to extract latent structure from text. The embeddings from large language models have been shown to capture aspects of the syntax and semantics of language. But what should embeddings represent? We connect the autoregressive prediction objective to the idea of constructing predictive sufficient statistics to summarize the information contained in a sequence of observations, and use this connection to identify three settings where the optimal content of embeddings can be identified: independent identically distributed data, where the embedding should capture the sufficient statistics of the data; latent state models, where the embedding should encode the posterior distribution over states given the data; and discrete hypothesis spaces, where the embedding should reflect the posterior distribution over hypotheses given the data. We then conduct empirical probing studies to show that transformers encode these three kinds of latent generating distributions, and that they perform well in out-of-distribution cases and without token memorization in these settings.

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

↑