arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.07890math.CTcs.CL
收藏

丰富的语言范畴论:从句法到语义

An enriched category theory of language: from syntax to semantics

X, The Moonshot Factory(X(登月工厂));The City University of New York(纽约市立大学);Tunnel

Tai-Danae Bradley, John Terilla, Yiannis Vlassopoulos

摘要:

最先进的语言模型从任何一段输入文本返回自然语言文本延续。这种生成连贯文本扩展的能力意味着相当复杂,包括语法和语义知识。在本文中,我们提出了一个数学框架,通过从概率分布的扩展给定的文本,如今天的大型语言模型的学习,丰富的类别包含语义信息。粗略地说,我们将文本上的概率分布建模为在单位区间上丰富的类别。这类对象是语言中的表达式,而类对象是一个表达式是另一个表达式的扩展的条件概率。这个类别是语法上的--它描述了什么和什么搭配。然后,通过米田嵌入,我们传递到这个句法范畴上的单位区间值共重层的丰富范畴。这类丰富的共重层是语义的--它是我们发现意义、逻辑运算(如蕴涵)和更精细的语义概念的构建块的地方。

英文摘要:

State of the art language models return a natural language text continuation from any piece of input text. This ability to generate coherent text extensions implies significant sophistication, including a knowledge of grammar and semantics. In this paper, we propose a mathematical framework for passing from probability distributions on extensions of given texts, such as the ones learned by today's large language models, to an enriched category containing semantic information. Roughly speaking, we model probability distributions on texts as a category enriched over the unit interval. Objects of this category are expressions in language, and hom objects are conditional probabilities that one expression is an extension of another. This category is syntactical -- it describes what goes with what. Then, via the Yoneda embedding, we pass to the enriched category of unit interval-valued copresheaves on this syntactical category. This category of enriched copresheaves is semantic -- it is where we find meaning, logical operations such as entailment, and the building blocks for more elaborate semantic concepts.

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

↑