arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.13194cs.CLcond-mat.dis-nncond-mat.stat-mechcs.AI
收藏

语义分块与自然语言的熵

Semantic Chunking and the Entropy of Natural Language

School of Natural Sciences, Institute for Advanced Study, Princeton, NJ, 08540, USA(自然科学学院,普林斯顿高级研究院);Department of Brain Sciences, Weizmann Institute of Science, Rehovot, 76100, Israel(脑科学系,魏茨曼科学研究所);Department of Physics, Emory University, Atlanta, GA 30322, USA(物理系,埃默里大学)

Weishun Zhong, Doron Sivan, Tankut Can, Mikhail Katkov, Misha Tsodyks

AI总结:

该研究提出了一种统计模型,通过自相似分割文本为语义连贯的块,揭示自然语言熵率随语义复杂度增加而上升的特性。

摘要:

印刷英语的熵率著名地估计为每字符约1位,这一基准最近才被现代大型语言模型(LLMs)接近。这一熵率表明,英语相对于每字符预期的五位随机文本,几乎有80%的冗余。我们引入了一个统计模型,试图捕捉自然语言复杂的多尺度结构,从而提供这一冗余水平的原理性解释。我们的模型描述了一种自我相似地将文本分割成语义连贯的块的过程,直到单个单词级别。文本的语义结构可以随后进行分层分解,从而允许分析性处理。使用现代LLMs和开放数据集的数值实验表明,我们的模型在不同语义层次上定量捕捉了真实文本的结构。我们模型预测的熵率与印刷英语估计的熵率一致。此外,我们的理论进一步揭示,自然语言的熵率并非固定,而应随着语义复杂度的增加而系统性增加,这一复杂度由我们模型中唯一的自由参数捕捉。

英文摘要:

Humans and large language models can predict next letter or word from its prior context much better than random guessing, indicating strong redundancy of language viewed as a stochastic process. Quantitatively this redundancy was estimated by Shannon to be around 80\%, which means that every letter of a printed English text conveys approximately 1 bit of information and not 4.8 bits that 27 letters (including spaces) could potentially carry. This estimate was later confirmed by using autoregressive token probabilies computed by large language models. However, the statistical organization of language that give rise to such a large redundancy remains unclear. Here we introduce a statistical framework of language linking its redundancy to the hierarchical semantic organization of text. To this end, we use large language models to recursively segment any given text into semantically coherent chunks, inducing a ``semantic tree'' that spans the whole range of text organization, beginning from its main idea to individual tokens (words). For a large corpus of texts of a particular type, say fiction stories, the resulting ensemble of semantic trees is characterized by specific statistical regularities, giving rise to a ``structural'' entropy rate defined in this study. Surprisingly, we discovered that for several datasets considered in this work, semantic tree entropy rate was quite close to LLM-measured quantity and exhibited a similar trend across corpus. In particular, simpler texts like children stories exhibit lower branching in their semantic trees and correspondingly lower entropy rates, whereas fiction and poetry exhibit progressively larger branching factors and greater entropy rates. These results suggest that hierarchical semantic organization of texts is an important factor in their overall information transmission rates.

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

↑