Manuscript Offprint

arXiv:2610.05466

Writing as a Self-Organized Critical Process

Nikolay Mikhaylovskiy

Abstract

We explain autocorrelation decay power laws omnipresent in texts by self-organized criticality. Specifically, we analyze the recently released KLiCKe keystroke dataset and show that not only the final texts' autocorrelations form a manifold that adheres to a power law with a finite-size scaling, but also the text revisions generate revision-size-dependent restoring dynamics toward that manifold. Thus, human writing appears to dynamically regulate semantic correlations in a text toward a critical state.

1 Introduction

Whenever one turns to the statistical properties of human-written texts, power laws are omnipresent. The best known is Zipf’s law, which is a dependency between the frequency rank r of a word and its frequency in a natural corpus f(r)f(r) (Estoup, 1916; Zipf, 1936; Piantadosi, 2014):

f(r)∝r−α,(1)f(r)\propto r^{-\alpha}, \tag{1}

where α≈1.0\alpha \approx 1.0. There are several other related laws, including Heaps' law (Herdan, 1964; Heaps, 1978; Baayen, 2001; Serrano et al., 2009; Font-Clos et al., 2013), Hilberg's law (Hilberg, 1990; Takahira et al., 2016) etc. Zipf's law is sometimes considered "linguistically shallow" (Mandelbrot, 1983; Manin, 2009), and we focus on a different kind of power laws, autocorrelation decay laws.

Long-range correlations in the written language have been reported using a variety of representations and observables. Early studies found slowly decaying correlations in symbolic representations of character sequences (Schenkel et al., 1993; Ebeling and Neiman, 1995), while later work identified long-range dependence in word-frequency and recurrence statistics (Montemurro and Pury, 2002; Altmann et al., 2012). Most directly related to the present work, Alvarez-Lacalle et al. (2006) and Mikhaylovskiy and Churilov (2023) represented texts in a distributional semantic space and found power-law semantic correlations across literary texts.

While the existence of long-range dependence in completed texts is well established, the mechanism responsible for it remains unclear. The hierarchical semantic/discourse organization proposed by Alvarez-Lacalle et al. (2006); Lin and Tegmark (2017); Sainburg et al. (2019, 2022) does not explain fine-grained correlations, and the conjecture of Lin and Tegmark (2017) has recently been specifically refuted at a fine-grained timescale by Nakaishi et al. (2026). Nakaishi et al. (2024) and Mikhaylovskiy (2025) implicitly place human texts in a temperature-dependent continuum of texts generated by LLMs and explain critical phenomena in texts by a phase transition. As a phase transition occurs at one specific temperature, the amazing ubiquity of power law phenomena in texts remains puzzling from this viewpoint.

A hypothesis closely related to ours was proposed by Gromov and Migrina (2017), who argued that natural language may constitute a self-organized critical system and interpreted complete texts as “avalanches” propagating over a word-cooccurrence graph. They reported power-law distributions of text lengths in English and Russian literary works and social-media messages corpora and examined their scaling properties using both Kolmogorov-Smirnov-based power-law fits and data-collapse analysis. While this work provides an important conceptual precedent, its evidence is static: scale-free statistics of completed texts do not establish the dynamical mechanism by which a linguistic system approaches or remains near a critical state. We address this question directly by analyzing the evolution of individual texts during writing and testing whether editing dynamics restores the evolving text toward a finite-size scaling manifold.

In this paper, we propose Self-Organized Criti-cality (SOC) as a mechanism for critical autocorrelations behavior in texts. Specifically, we analyze the KLiCKe keystroke dataset (Tian et al., 2025), and show that not only the final texts' autocorrelations form a manifold that adheres to a power law with finite-size scaling, but also revisions generate revision-size-dependent restoring dynamics toward that manifold. Our approach does not contradict the hierarchical organization explanation, but provides a fine-grained mechanism for the long-range correlations to appear. While phase-transition-based explanation considers texts to be in static equilibria, ours acknowledges the dynamic nature of language and explains the ubiquity of power law autocorrelations in texts.

In the further subsections of this section, we introduce the core concepts. In Section 2, we propose a self-organized criticality mechanism. In Section 3, we describe the experiments and discuss the results.

References (41)

  • Eckmann, and E. Moses
  • Enriching Word Vectors with Subword Information
  • Dialogue 2023
  • Kai Nakaishi, Yoshihiko Nishikawa, and Koji Hukushima. 2024. Critical phase transition in Large Language Models. Preprint, arXiv:2406.05335. (opens arXiv in a new tab)
  • The baseline follows from the expected centered dot product $-v_e/(n_e - 1)$ for distinct covered positions under within-essay permutation
  • For a training fold complement, let $L_{ref}$ be the median training-text length and let $q_{1}, \ldots, q_{m}$ be the configured reference lags
  • Here $\sigma_1$ is the largest singular value
  • The residual coordinates are $u = B^{\top}y$
  • Thus, the scorer's fold-specific exponents are estimated by Equation 21; they are not fixed to the population-collapse estimate $D = 0.435$ in Figure 1
  • If errors have zero conditional means and are uncorrelated with the underlying states, then
  • Centering at the replicate mean estimates covariance; it does not remove a systematic difference between that mean and the original score
  • For complete revisions, covariance is recalibrated at the exact first/last modification boundaries, rather than interpolated from snapshot uncertainty
  • Both the numerator and denominator are adjusted
  • Let $W_e = [Z_e, y_e]$ contain the observed regressors and response $y_e = \Delta x_e$, and let $M_e = I - \mathbf{1}\mathbf{1}^\top / n_e$ remove the mean over the $n_e$ observations in essay $e$
  • Its starting-state column is $u_e^-$ and its response column is $u_e^+ - u_e^-$
  • This construction includes shared endpoints and dependence across observations induced by essay demeaning
  • Otherwise, some linear combination of the variables would have an impossible or degenerate variance, or the coefficients would not be stably estimable
  • The reduced sensitivity model removed only that interaction, retaining starting state, activity, length, and essay effects
  • Each selected essay contributes its full observed and calibrated moment matrices, including repeated copies when selected more than once, and the regression is refitted
  • Similar signatures can arise from hierarchical organization
  • Segmentation stopped at leaves of approximately 64 words
  • This non-semantic hierarchy also retained much of the scaling, although less accurately: median $D^{*}=0.425$, median $I_{\mathrm{coll}}=0.403$, median exponent 1.237, and median log-RMSE 0.388
  • The primary estimator centers embeddings within each essay, pools word pairs by lag, normalizes by the pooled zero-lag variance, and subtracts the exact finite-size shuffled-centering baseline
  • After normalizing each profile by $C(8,L)$, rescaling the lag as $r/L^{D}$ gave $D = 0.435$ and reduced the pairwise log-curve mismatch by 54.5% relative to $D = 0$
  • The exploratory analysis compared pooled and equal-essay burst-size CCDFs, local slope diagnostics, and between-essay variability in connectivity and mean burst size
  • The covariance sensitivity analysis in Appendix A.2 addresses this coupling under the specified uncertainty model
  • Requiring 90% occupancy identified 1,347 of 4,781 essays (28.17%); requiring uninterrupted occupancy identified 1,307 (27.34%)
  • This conditional summary documents ongoing activity among captured essays
  • The uncorrected state coefficient was -0.8073 (95% whole-essay bootstrap interval [-0.8412, -0.7589])
  • At 16-word blocks and full correction, the state-size interaction was -0.11564 (95% interval [-0.13745, -0.08205])
  • Average improvement in squared reference distance was identified for the 101–300-character bin
  • The remaining 45,208 revisions (15.48%) left the normalized token sequence unchanged and contributed zero to $Q = (x^{-})^{2} - (x^{+})^{2}$
  • It does not apply to regression slopes
  • However, four and five of 2,000 bootstrap draws, respectively, failed admissibility in the pooled size-bin regressions
  • We audited their raw keystroke logs, reconstructed text trajectories, saved snapshots, and activity normalization
  • The last modification occurred at 28.645 minutes, leaving a 20.1-minute tail with no lasting change
  • Each advanced the cursor by one character; the median interval between presses was 10.633 seconds
  • Together, the two essays accounted for 45.76% of within-essay squared variation in the state–activity interaction predictor in the whole corpus
  • The descriptive capture analysis retains all 4,781 exactly replayed essays, including these two: their exclusion concerned their influence on the activity regressions, rather than a reconstruction failure
  • The common cohort used for the size-stratified restoration analysis contained 292,009 eligible revisions from 4,241 essays
  • Large episodes include substantive passage revision, planning-text removal, extended production after a correction, and reversible nonlexical activity