arXiv:2610.24788cs.ITOct 2026

Manuscript Offprint

arXiv:2610.24788

Information Theory of Random Composition Trees

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Random composition trees model the hierarchical semantic structures of meaningful texts as a statistical ensemble generated by recursively splitting texts into coherent chunks. A recent study shows that different text types can be described by random composition trees with distinct branching factors, and that the entropy rates of these trees exhibit a similar dependence across text types as the entropy rates of the actual texts. Motivated by this correspondence, we analyze information-theoretic properties of this stochastic splitting model. First, we demonstrate that the entropy of random composition trees grows linearly with the root size, and we derive an analytical expression for the entropy rate as a function of the branching factor. Second, we prove that large trees exhibit typicality: with high probability, they belong to a typical set in which each tree is approximately equally likely. Our analysis reveals that the random composition tree model shares two key information-theoretic properties of language when modeled as a stationary and ergodic stochastic process: linear entropy growth and typicality.

1 Introduction: The Random Composition Tree Model

Meaningful texts can be described by a hierarchical semantic structure. Such a structure is also hypothesized to underlie the way people comprehend a text [1], and the ability to summarize the text at different levels of abstraction [2].

In two recent papers [3, 4], the semantic structure has been modeled as a tree that is created by recursively splitting a text into coherent parts, forming chunks. Each chunk is thought to be an abstract representation, a concise summary, of its corresponding text segment. Following [3], we model the semantic structures of texts of a given length as a statistical ensemble of trees generated by a recursive stochastic splitting rule: we split each chunk into kk (possibly empty) chunks by placing k−1k-1 divisions at random positions between the text units of the chunk. By labeling each chunk with its size, i.e., the number of text units it summarizes, each splitting constitutes a (weak) composition: an ordered sequence of kk non-negative integers that sum to the size of the parent. The random splitting rule is equivalent to randomly selecting a composition (with uniform distribution), so we term this model the random composition tree model. In Fig. 1a, we show a realization of a random composition tree, where the root has size n=20n=20, and each node has k=4k=4 children, some of which are empty.

The random composition tree model (with additional working memory capacity constraints) has been shown to predict the average length and degree of summarization in recall narratives of varying lengths [3]. More recently, we showed that the model captures the chunk-size distributions of texts semantically chunked to the word level using a large language model (LLM) [4]. By selecting the branching factor kk that yields the highest similarity to the random model, we found that different text types (children's stories, fiction, poetry) are characterized by different kk's (from 2 to 6). Crucially, these text types exhibit different entropy rates measured from LLM probabilities, and numerical calculations revealed that the entropy rate of the random trees follows an analogous trend with kk.

Motivated by these findings, we set out to mathematically analyze the entropy of random composition trees and present three main results in this paper. First, we derive that the entropy grows linearly with the size of the root, as shown in Fig. 1b. Second, we define the entropy rate of the tree as the coefficient of the leading linear term, and calculate analytically how it depends on the branching factor kk, as shown in Fig. 1c. Thirdly, we show that large trees exhibit typicality, meaning that with high probability, large trees belong to a typical set in which each tree is approximately equally likely. Typicality can be demonstrated by the convergence (in probability) of the information rate – the negative logarithm of the probability of occurrence of a particular tree, divided by the size of the root – to its expected value, the entropy rate; see Fig. 1d. The mathematical analysis reveals that the properties of random composition trees parallel information-theoretic properties of language when treated as a stationary (ergodic) stochastic process.