Skip to main content
QUICK REVIEW

[Paper Review] Criticality in Formal Languages and Statistical Physics

Henry W. Lin, Max Tegmark|arXiv (Cornell University)|Jun 21, 2016
Fractal and DNA sequence analysisBiochemistry, Genetics and Molecular Biology31 references30 citations
TL;DR

This paper establishes a formal link between criticality in statistical physics and long-range correlations in formal languages, showing that mutual information between symbols decays as a power law in context-free grammars—unlike the exponential decay in regular grammars. The key result is a theoretical derivation of rational mutual information that explains power-law correlations in natural languages, music, and genomic sequences through recursive generative processes.

ABSTRACT

We show that the mutual information between two symbols, as a function of the number of symbols between the two, decays exponentially in any probabilistic regular grammar, but can decay like a power law for a context-free grammar. This result about formal languages is closely related to a well-known result in classical statistical mechanics that there are no phase transitions in dimensions fewer than two. It is also related to the emergence of power-law correlations in turbulence and cosmological inflation through recursive generative processes. We elucidate these physics connections and comment on potential applications of our results to machine learning tasks like training artificial recurrent neural networks. Along the way, we introduce a useful quantity which we dub the rational mutual information and discuss generalizations of our claims involving more complicated Bayesian networks.

Motivation & Objective

  • To investigate the statistical correlation structure of formal languages and relate it to critical phenomena in statistical physics.
  • To explain why natural language sequences exhibit long-range power-law correlations instead of exponential decay, challenging the adequacy of Markov models.
  • To introduce and analyze the concept of 'rational mutual information' as a novel measure for quantifying long-range dependencies in sequences.
  • To demonstrate that context-free grammars naturally produce power-law decay of mutual information, while regular grammars yield exponential decay.
  • To connect these findings to broader phenomena such as turbulence, cosmological inflation, and machine learning applications in recurrent neural networks.

Proposed method

  • Derives the expected rational mutual information $ I_R $ conditioned on symbol separation $ d $, using Bayesian inference with a hierarchical prior on the depth $ heta $ of recursive grammar generation.
  • Models the distribution of symbol separation $ d $ given depth $ heta $ as a triangle distribution with mean $ 2^{ heta-1} $, reflecting binary branching in context-free grammars.
  • Applies a prior $ p( heta) /propto 2^ heta $ for $ heta eq 0 $, normalized via a cutoff $ heta_{ ext{max}} $, which is later taken to infinity.
  • Computes the conditional expectation $ b{E}[2^{-k_2 heta} ig| d] $ using integral approximation for large $ d $, yielding a power-law decay $ I_R acksim d^{-k_2} $.
  • Provides an exact discrete sum expression for $ I_R $ that accounts for finite string length and matches numerical simulations precisely.
  • Employs Grassberger’s entropy estimator with the digamma function to compute mutual information from empirical data, minimizing bias in finite samples.

Experimental results

Research questions

  • RQ1Why do natural language sequences exhibit power-law decay in mutual information between distant symbols, contrary to the exponential decay expected in Markov models?
  • RQ2What is the formal connection between the recursive structure of context-free grammars and the emergence of criticality in statistical physics?
  • RQ3How does the mutual information between two symbols decay as a function of their separation in probabilistic regular versus context-free grammars?
  • RQ4Can the concept of 'rational mutual information' be used to quantitatively distinguish between Markovian and non-Markovian processes in sequence generation?
  • RQ5What implications do these findings have for modeling natural language and training recurrent neural networks in machine learning?

Key findings

  • In probabilistic regular grammars, mutual information between two symbols decays exponentially with separation, consistent with Markovian processes.
  • In context-free grammars, mutual information decays as a power law $ I_R acksim d^{-k_2} $, where $ k_2 $ is a parameter related to the grammar’s branching factor and transition probabilities.
  • The derived analytic expression for rational mutual information $ I_R $ matches numerical simulations exactly when using discrete sums, with small deviations only due to finite string length.
  • The power-law decay arises from the hierarchical, recursive structure of context-free grammars, analogous to critical phenomena in 2D statistical systems like the Ising model.
  • The rational mutual information estimator $ I_R(X,Y) = ho(X,Y)^2 / (P(0)P(1))^2 $ provides a robust, bias-corrected measure of long-range dependence in binary sequences.
  • The results suggest that artificial recurrent neural networks may fail to capture long-range dependencies in natural language if they implicitly assume Markovian structure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.