[Paper Review] Information Theory and the Length Distribution of all Discrete Systems
This paper proposes that Conservation of Hartley-Shannon Information (CoHSI) explains the universal power-law length distributions observed in diverse discrete systems—such as proteins, software functions, and musical compositions—by showing that heterogeneous systems (with shared alphabets) yield unimodal, power-law-tailed distributions, while homogeneous systems (with unique tokens per component) follow Zipf’s law. The theory is validated across multiple datasets with high statistical significance.
We begin with the extraordinary observation that the length distribution of 80 million proteins in UniProt, the Universal Protein Resource, measured in amino acids, is qualitatively identical to the length distribution of large collections of computer functions measured in programming language tokens, at all scales. That two such disparate discrete systems share important structural properties suggests that yet other apparently unrelated discrete systems might share the same properties, and certainly invites an explanation. We demonstrate that this is inevitable for all discrete systems of components built from tokens or symbols. Departing from existing work by embedding the Conservation of Hartley-Shannon information (CoHSI) in a classical statistical mechanics framework, we identify two kinds of discrete system, heterogeneous and homogeneous. Heterogeneous systems contain components built from a unique alphabet of tokens and yield an implicit CoHSI distribution with a sharp unimodal peak asymptoting to a power-law. Homogeneous systems contain components each built from just one kind of token unique to that component and yield a CoHSI distribution corresponding to Zipf's law. This theory is applied to heterogeneous systems, (proteome, computer software, music); homogeneous systems (language texts, abundance of the elements); and to systems in which both heterogeneous and homogeneous behaviour co-exist (word frequencies and word length frequencies in language texts). In each case, the predictions of the theory are tested and supported to high levels of statistical significance. We also show that in the same heterogeneous system, different but consistent alphabets must be related by a power-law. We demonstrate this on a large body of music by excluding and including note duration in the definition of the unique alphabet of notes.
Motivation & Objective
- To explain the striking similarity in length distributions between biologically evolved systems (e.g., proteins) and human-designed systems (e.g., software functions), despite vastly different origins and processes.
- To establish a unifying theoretical framework based on Conservation of Hartley-Shannon Information (CoHSI) that applies across heterogeneous and homogeneous discrete systems.
- To demonstrate that the observed power-law behavior in component length distributions is not coincidental but a consequence of fundamental information-theoretic principles.
- To validate the theory across diverse systems, including proteomes, software, music, language, and elemental abundance, using reproducible, open-source methods.
- To show that different alphabets within the same system are related by power laws, as demonstrated in music by including or excluding note duration.
Proposed method
- Embed CoHSI within a classical statistical mechanics framework to derive the distribution of component lengths in discrete systems built from symbolic tokens.
- Distinguish between heterogeneous systems (shared alphabet across components) and homogeneous systems (each component uses a unique token set), each yielding distinct distribution types.
- Apply the CoHSI framework to predict unimodal, power-law-tailed distributions for heterogeneous systems and Zipf’s law for homogeneous systems.
- Use linear regression on complementary cumulative distribution functions (ccdf) to test for power-law behavior, reporting R-squared and p-values for statistical significance.
- Perform reproducibility checks via open-source software packages that reproduce all results, tables, and figures on Linux systems.
- Exclude or include note duration to redefine the unique alphabet in music, demonstrating power-law relationships between different alphabets in the same system.
Experimental results
Research questions
- RQ1Why do the length distributions of proteins and computer functions—despite differing origins, timescales, and accuracy—exhibit nearly identical unimodal, power-law-tailed shapes?
- RQ2Can a single information-theoretic principle explain the emergence of similar length distributions across biologically evolved and human-designed discrete systems?
- RQ3How do heterogeneous systems (shared alphabets) and homogeneous systems (unique token sets per component) differ in their resulting length distribution patterns?
- RQ4To what extent do the observed power-law tails in component length distributions reflect a fundamental conservation law of information, independent of meaning or function?
- RQ5Are different alphabets within the same system (e.g., music with and without duration) related by a power law, as predicted by the theory?
Key findings
- The length distribution of 80 million UniProt proteins and 80 million C-language functions both exhibit a sharp unimodal peak and power-law tails, with a ccdf p-value of 6.576×10⁻¹² and R-squared of 0.9951 for the protein alphabet size tail (21.0–30.0).
- Heterogeneous systems with a shared alphabet produce a CoHSI distribution with a sharp unimodal peak asymptoting to a power-law, while homogeneous systems yield a distribution matching Zipf’s law.
- The theory predicts that different alphabets within the same system must be related by a power law, confirmed in music by comparing distributions with and without note duration.
- The CoHSI framework explains the observed distributions across diverse systems—including proteomes, software, music, language, and elemental abundance—with high statistical significance.
- The reproducibility packages, available at http://leshatton.org/index_RE.html, allow full reconstruction of all results, tables, and figures, including machine environment checks and regression testing.
- The theory is token-agnostic, meaning it depends only on the number of choices (alphabet size) and not on the functional or semantic meaning of the tokens.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.