Richard Hoekstra

Manuscript reading edition

Depth profiles in 49 Wikipedia language samples

Depth profiles in 49 Wikipedia language samples

Finite-depth measurements on 49 Wikipedia samples.


Abstract

Define the running coupling of a natural-language byte stream at context depth D as the ratio of harmonic to exact components of its Hodge decomposition,


$$ g(D) \;=\; \frac{f_\text{harm}(D)}{f_\text{exact}(D)} \;=\; \frac{f_\text{harm}(D)}{1-f_\text{harm}(D)}. $$

The corresponding beta function is


$$ \beta(g) \;=\; \frac{d g}{d \log D}. $$

The 49 samples provide four adjacent depth intervals apiece. All 196 finite differences are negative. For the 21 intervals with midpoint g in [0.5,1), the mean and standard deviation are


β(g) =  − 0.668 ± 0.174,

These statistics describe one bin. Overlap between word-order groups leaves independence unresolved. For g below one, −g log g is positive, whereas every measured change is negative.

The shared direction invites comparison with other sources, lengths and encodings.


1. The Hodge decomposition of a byte stream

A byte stream of length N induces a context graph G_D whose vertices are length-D byte contexts and whose edges are the observed D→D transitions. The combinatorial Laplacian L = D - A decomposes every edge field F ∈ ℝ^E orthogonally into three pieces:


F = d0ϕ ⊕ h ⊕ δ1ψ,

where d_0φ is the exact (gradient) part, δ_1ψ the co-exact part, and h the harmonic cycle content. For natural-language byte streams the co-exact fraction is negligible (measured at <0.03% across all 49 languages), so to four significant figures


$$ F \;=\; d_0\phi \;\oplus\; h, \qquad f_\text{harm} \;=\; \frac{\|h\|^2}{\|F\|^2}, \qquad f_\text{exact} \;=\; 1 - f_\text{harm}. $$

The harmonic fraction falls over the measured depths. A sample with a crossover is harmonic-dominated before that point and gradient-dominated afterwards within the two-component description.

2. The running coupling and its beta function

Define


$$ g(D) \;=\; \frac{f_\text{harm}(D)}{1 - f_\text{harm}(D)}. $$

g measures the ratio of harmonic energy to exact energy — a cycles-to-gradients ratio. The crossover depth D*(g=1) is the context length at which the two are in balance.

We measure g(D) for D ∈ {1, 2, 3, 4, 5} on the first 500 KB of Wikipedia in each of 49 languages. From consecutive pairs we compute the discrete beta function


$$ \beta_i \;=\; \frac{g(D_{i+1}) - g(D_i)}{\log D_{i+1} - \log D_i}, \qquad g_\text{mid} \;=\; \tfrac{1}{2}\bigl(g(D_{i+1}) + g(D_i)\bigr). $$

Binning by midpoint gives the following descriptive summary.

g range mean β std β n
[0.5, 1.0) −0.668 0.174 21
[1.0, 2.0) −1.252 0.772 85
[2.0, 5.0) −3.718 0.669 41
[5.0, 50.0) −34.719 7.500 49

The magnitude of the mean slope increases across the four bins. Five sampled depths cannot establish the limit as D grows.

3. Comparison by word order

Split the small-coupling window g ∈ [0.5, 2.0] by Greenberg word order:

word order mean β std β n
SVO −1.132 0.800 52
SOV −1.244 0.603 28
VSO −1.016 0.573 8
free −1.038 0.759 18

Mean slopes for the four word-order groups lie between −1.244 and −1.016 in this window. Within-group spreads overlap, and intervals repeat within languages. The groups alone cannot establish equivalence or identify a causal role for word order.

4. Crossover consistency

Because g=f/(1−f), g=1 and f=½ specify the same crossover. For the 30 in-window samples the original comparison reports Spearman ρ=1.000 and a mean absolute depth difference of 0.014. Linear interpolation in f and in g need not give identical depths. These values check the interpolation procedure using a common input.

5. The numbers

The smallest crossovers live among synthetic, morphologically heavy languages:

Chinese Czech Slovak Japanese Ukrainian Hungarian Russian Greek
3.06 3.65 3.78 3.78 3.80 3.86 3.90 3.96

The largest live among morphologically light, analytic or polysynthetic outliers:

Georgian Tamil Burmese Telugu Latin Uzbek Welsh Tagalog
>5 >5 >5 >5 >5 >5 >5 >5

English lands at D* = 4.76, midway between the synthetic Slavic and the analytic Polynesian clusters. The ladder matches the FSI difficulty ranking at Spearman ρ = 0.61.

6. Interpretation

All 196 depth changes had the same sign. The beta curve summarizes one bounded corpus experiment. Testing whether the grouped patterns generalize requires independently sampled documents and more context depths.

7. Reproducibility

A single command reproduces the entire table:

python3 research/tlc/geometry/running_coupling.py

8. Open questions

Does the negative sign persist on independent genres? How much do sample length, encoding and family structure change the spread within each bin? What happens beyond the depths where the context graphs remain well sampled?

A. Acknowledgements

Only the 49 atlas files (research/tlc/geometry/atlas/*.md) and the running coupling script are needed to check every claim above.

Cite this page

Richard Hoekstra. Depth profiles in 49 Wikipedia language samples (HTML manuscript edition). https://richardhoekstra.nl/papers/universal-beta-paper.html