arXiv:2610.24334cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24334

Power-Law Correlations Without Apparent Temperature-Tuned Criticality in Fixed-Tree Hierarchical Languages

Marcel Kühn, Bernd Rosenow

Marcel Kühn 1,2,∗^{1,2,*} and Bernd Rosenow 1,2^{1,2}

1^{1}Institute for Theoretical Physics, Leipzig University

2^{2}Center for Scalable Data Analytics and Artificial Intelligence (ScaDS.AI), Leipzig University

Sampling temperature can substantially reshape autoregressive generation, but it is unclear when temperature changes in long-range correlations reflect a genuine phase transition rather than a smooth change in statistics. We study this question in a controlled analogue of temperature sampling: a finite-depth probabilistic context-free grammar on a fixed hierarchical tree, where exact next-token conditionals are computed by belief propagation and then rescaled by a softmax temperature before autoregressive sampling. We measure two-point mutual information between tokens as a function of separation. Across the tested temperatures and grammar ensembles, mutual information remains well described by a power-law envelope. Temperature changes the correlation magnitude and fitted exponent, but within the accessible system sizes we find no long-distance plateau characteristic of an ordered phase and no clear crossover to short-range exponential decay. An approximate mapping to an Ising model on a tree explains how exponential decay in tree distance becomes a power law in token distance, allowing power laws to persist without tuning to a special decoding temperature. This controlled baseline clarifies which temperature effects can arise from hierarchical structure alone, before adding training, approximation error, or neural architecture.

1. INTRODUCTION

Natural language has structure on many length scales. Nearby words are constrained by local syntax, but sentences, paragraphs, and documents also exhibit topical and semantic dependencies over much longer ranges. One concrete indicator of this multiscale organization is the presence of long-range correlations in natural language [1–3]. This matters directly for language modeling: a model that captures only local patterns misses an essential part of long-context structure [4].

A standard observable of long-range pairwise dependence is the two-point mutual information, which measures how much information one word carries about another word at a given separation. Empirically, natural language exhibits an approximate power-law decay of such correlations with distance [1]. This is distinct from Zipf's law, which is a one-point statistic of word frequencies rather than a two-point statistic of dependencies across positions [5]. A common explanation for power-law correlations in language is hierarchical organization [2, 4, 6]. This idea has motivated recent studies that use hierarchical models, including probabilistic context-free grammars (PCFGs), as controlled testbeds for understanding learning in neural networks. Some of this work connects long-range correlations to neural scaling laws [7–11]. Related work further shows that neural architectures can learn inference or parsing procedures in hierarchical data, including image models [12, 13] and transformers trained on hierarchical languages or formal grammars [14–16].

Power-law correlations are also familiar in statistical physics, where they often appear near critical points that separate qualitatively distinct phases. In a thermodynamic phase transition, a control parameter such as the Boltzmann temperature changes the macroscopic behavior of a system. For example, a ferromagnet can pass from an ordered phase with aligned spins to a disordered phase with vanishing magnetization. A critical point is not merely a threshold; it is defined by singular behavior in the infinite-system limit. Similar language has increasingly been used in machine learning, where increasing scale can lead to abrupt qualitative changes in behavior [17]. Examples include grokking, which has been described and analyzed in phase-transition terms [18, 19], and diffusion models, where denoising increasingly corrupted images can exhibit genuine transition phenomena [20].

In autoregressive text generation, a natural control parameter is the sampling temperature which rescales the logits in the softmax output and thereby, like the Boltzmann temperature of an equilibrium distribution, controls how sharply each next-token distribution is peaked. It has been observed that low temperatures can produce repetitive outputs, high temperatures can produce incoherent outputs, and intermediate temperatures predominantly yield natural text statistics, including long-range structure [21]. Together with the association between criticality and power-law correlations, this leads to a natural question: do autoregressive language models generate power-law-correlated text because they operate near a critical decoding temperature? Empirical studies have begun to examine temperature effects in actual language models, both through output statistics [22–24] and through downstream performance or reasoning behavior [25–28]. Some works report numerical evidence for genuine critical behavior in generated text under temperature shifts [29, 30]. However, the question remains debated. In trained neural language models, the observed statistics combine the data distribution, approximation error, architectural biases, optimization effects, and the sampling procedure. What is missing is a controlled baseline in which the underlying language distribution is explicit, the exact next-token conditionals are known, the temperature can be varied cleanly at decoding time, and training effects are absent. Such a baseline cannot replace experiments on trained language models, but it can identify which phenomena already follow from hierarchical structure and temperature-rescaled autoregressive sampling.

Our Contributions

  • We study temperature-rescaled autoregressive sampling in a hierarchical language model: a tractable finite-depth probabilistic context-free grammar (PCFG) on a fixed tree that provides a controlled baseline with exact next-token inference.

  • We show numerically, using sampled sequences, that two-point mutual information remains well described by a power-law decay across a broad temperature range in this model family.

  • We show that this behavior is robust across multiple rule ensembles of the grammar, while the detailed temperature response depends on the support structure and heterogeneity of the rules.

  • We give a tree-based statistical-mechanics interpretation, via an approximate mapping to an Ising model on a tree, for why finite-temperature correlation plateaus and short-range exponential decay do not emerge in this setting.

Hierarchical generative model

Figure

Figure

token sequence: x=(x1,…,x8)\boldsymbol{x} = (x_1, \ldots, x_8)

hierarchical model defines: P(x)P(\boldsymbol{x})

Temperature-rescaled autoregressive sampling

① Exact inference via belief propagation

Figure

Exact next-token conditional:

P(xi∣x1,…,xi−1)P(x_i \mid x_1, \ldots, x_{i-1})

② Softmax temperature

P(T)(xi∣x1,…,xi−1)=exp⁡[1Tln⁡P(xi∣x1,…,xi−1)]∑a∈Vexp⁡[1Tln⁡P(a∣x1,…,xi−1)]P^{(T)}(x_i|x_1,\ldots,x_{i-1})=\frac{\exp\left[\frac{1}{T}\ln P(x_i|x_1,\ldots,x_{i-1})\right]}{\sum_{a\in\mathcal{V}}\exp\left[\frac{1}{T}\ln P(a|x_1,\ldots,x_{i-1})\right]}

③ Autoregressive sampling

P(T)(x1)→P(T)(x2∣x1)P(T)(x8∣x1,…,x7)P^{(T)}(x_1) \xrightarrow{P^{(T)}(x_2|x_1)} P^{(T)}(x_8|x_1,\ldots,x_7)

→xn,1(T)→xn,2(T)⋯→xn,8(T)\rightarrow x_{n,1}^{(T)} \xrightarrow{} x_{n,2}^{(T)} \cdots \xrightarrow{} x_{n,8}^{(T)}

sequential sampling: n=1,…,Nn = 1, \ldots, N sequences

④ Mutual information estimation

I(r)=∑a,b∈VP^(a,b)log⁡2[P^(a,b)P^(a)P^(b)]P^(a,b):empirical,I(r) = \sum_{a,b \in \mathcal{V}} \hat{\mathbb{P}}(a,b) \log_2 \left[ \frac{\hat{\mathbb{P}}(a,b)}{\hat{\mathbb{P}}(a)\hat{\mathbb{P}}(b)} \right] \quad \hat{\mathbb{P}}(a,b): \text{empirical},

from {xn(T)}n=1N\{x_n^{(T)}\}_{n=1}^N

FIG. 1. Left: Schematic plot of different mutual-information behaviors. In the 2D Ising model, an ordered phase would show a plateau in the mutual information, whereas a disordered phase would show exponential decay. At criticality, correlations decay as a power law. Natural language likewise exhibits an approximate power-law decay of correlations. We ask whether such decay requires tuning to a special sampling temperature. Center: Structure of the synthetic language for s = 2 and L = 3. Right: Protocol for autoregressively sampling text from this language at a modified temperature.

The rest of the paper is organized as follows. In Section 2 we define the hierarchical language model and our analysis setup. In Section 3, we discuss empirical work on temperature effects and related hierarchical language models. In Section 4 we present the numerical temperature analysis. In Section 5 we interpret the persistence of power-law correlations using the geometry of trees and an approximate Ising model analogy. Finally, Section 6 discusses implications, limitations, and directions for extending the controlled baseline to richer observables and model classes.