Skip to main content
QUICK REVIEW

[Paper Review] Zipf's law is a consequence of coherent language production

Jake Ryland Williams, James P. Bagrow|arXiv (Cornell University)|Jan 29, 2016
Natural Language Processing TechniquesComputer Science1 references7 citations
TL;DR

This paper proposes that Zipf's law in natural language arises from coherent, topic-homogeneous language production, not random processes. By using informed, expert-annotated phrase segmentation instead of word-level tokenization, the authors show that phrase-based text representations better fit the Simon's stochastic model of language generation, significantly improving the R² fit (up to 0.95) and revealing that topically homogeneous texts—especially non-dictionary works—exhibit stronger adherence to Zipf’s law.

ABSTRACT

The task of text segmentation may be undertaken at many levels in text analysis---paragraphs, sentences, words, or even letters. Here, we focus on a relatively fine scale of segmentation, hypothesizing it to be in accord with a stochastic model of language generation, as the smallest scale where independent units of meaning are produced. Our goals in this letter include the development of methods for the segmentation of these minimal independent units, which produce feature-representations of texts that align with the independence assumption of the bag-of-terms model, commonly used for prediction and classification in computational text analysis. We also propose the measurement of texts' association (with respect to realized segmentations) to the model of language generation. We find (1) that our segmentations of phrases exhibit much better associations to the generation model than words and (2), that texts which are well fit are generally topically homogeneous. Because our generative model produces Zipf's law, our study further suggests that Zipf's law may be a consequence of homogeneity in language production.

Motivation & Objective

  • To investigate whether Zipf’s law in natural language is a consequence of coherent, topic-homogeneous language production rather than random processes.
  • To improve the fit of text representations to the Simon model of language generation by using informed, expert-annotated phrase segmentation instead of word-level tokenization.
  • To develop a method for measuring how well a text’s segmentation aligns with a generative model of language, using R² as a metric for model association.
  • To demonstrate that phrase-based analysis enhances interpretability and adherence to the bag-of-terms model assumptions in computational text analysis.
  • To identify text types—especially heterogeneous or brief works—that fail to fit the model, and link poor fit to lack of topical coherence.

Proposed method

  • Uses a stochastic text partitioning framework that segments text into phrases using bond-breakage probabilities informed by expert-annotated data from Wiktionary and MWE benchmarks.
  • Applies the Simon model (memoryless, frequency-proportional term generation) as the generative model to test how well real texts fit the theoretical distribution.
  • Measures model fit using R² between observed phrase frequencies and the predicted Simon model distribution, with both uniform (q=1/2) and optimized (MLP) partitioning strategies.
  • Employs a machine learning pipeline (MLP) to learn optimal partitioning parameters from training data, improving fit over uniform random partitioning.
  • Analyzes Project Gutenberg eBooks across Library of Congress classifications and subjects to assess variation in model fit (R²) across text types.
  • Develops a publicly available Python package (https://github.com/jakerylandwilliams/partitioner) supporting 11 languages and an interactive online appendix for exploration.

Experimental results

Research questions

  • RQ1Does informed phrase segmentation improve the fit of text frequency distributions to the Simon model compared to word-level tokenization?
  • RQ2Is Zipf’s law in natural language a consequence of topic-homogeneous language production, as suggested by improved model fit in coherent texts?
  • RQ3How does the quality of fit (R²) to the Simon model vary across different text types, such as dictionaries, textbooks, poetry, and fiction?
  • RQ4Can the R² metric of fit to the Simon model serve as an indicator of topical homogeneity or textual coherence?
  • RQ5To what extent do brief, heterogeneous, or mixed-content texts fail to conform to the assumptions of the bag-of-terms model and the Simon generative process?

Key findings

  • Informed phrase segmentation significantly improves the fit of text frequency distributions to the Simon model, with R² values reaching up to 0.95, far exceeding those of word-level analysis.
  • Texts that are topically homogeneous—such as medical, legal, and military science books—exhibit high R² values (median > 0.6), while heterogeneous texts like dictionaries and periodicals show poor fits (R² < 0.6).
  • Poetry, short stories, and science fiction frequently exhibit low R² values due to brevity and non-standard phrase usage, indicating insufficient stabilization of distributional patterns.
  • The model fit (R²) is strongly correlated with textual coherence: texts with clear topical boundaries or consistent themes show better alignment with the Simon model.
  • Dictionaries and spelling books are consistently among the worst-fitting texts, with low R² values, confirming their unsuitability for bag-of-terms-based analysis.
  • The MLP-optimized partitioning method outperforms uniform random partitioning (q=1/2) in nearly all cases, demonstrating the value of data-informed segmentation over heuristic approaches.

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.