Richard Hoekstra

Collection index

Topological Atlas of Human Language

What happens to a byte sequence when the model can see more of its recent past? This atlas follows that question through 49 Wikipedia extracts. A vertex represents a short byte context. A directed edge represents a possible shift to the next context and carries a smoothed log probability. A numerical fit gives each vertex a value and measures how much of the edge field those value differences explain.

At a byte depth of one, the residual fraction f ranges from 0.9511 to 0.9744. By depth five it ranges from 0.4045 to 0.5979. Across the five depths, all 49 profiles decline. Thirty reach one half within that range. The extracts contain 59,069 to 300,000 bytes each.

Where does the curve cross one half?

These Japanese and Tamil Wikipedia extracts each contain 300,000 bytes. The markers show five measurements per extract, one at each whole-byte depth. The dashed horizontal line marks the threshold of 0.5.

Two declining curves. The Japanese extract crosses the half-energy line between depths 3 and 4. The Tamil extract stays above the line at all five depths.
The diamond marks the estimated Japanese crossing at 3.74 bytes, interpolated between 0.5799 at depth three and 0.4722 at depth four. The Tamil extract still has a residual fraction of 0.5979 at depth five. The measurements end there, so its crossing depth is right-censored. Nineteen of the 49 extracts share that outcome.
View the measurements and source profiles
Byte depthJapaneseTamil
10.97370.9645
20.76120.7804
30.57990.6972
40.47220.6382
50.42680.5979
Compare all 49 extracts

Follow a measurement

  • Change the unit of context. At depth three, Chinese gives 0.5023 with byte contexts and 0.7995 in the separate Unicode-codepoint run. The two graphs also use different edge rules. The change raises a testable question about how much encoding and graph construction each contribute. Chinese profile and methods
  • Keep the labels or just the curve? Fingerprints built from the highest-ranked cycles identified 16 of 49 held-out language extracts by catalogue overlap. Classifying on the three residual fractions alone identified one. The underlying distance uses the selected labels alone. Identification experiment · Catalogue clustering
  • Check what survives a control. The real and shuffled bacterial protein sequences differ by only 0.0060 in residual fraction at depth five. The synthetic speech experiment shows why matching corpus size matters. Protein shuffle · Speech templates
Browse all 81 atlas pages

Harmonic decay f(D)

The curves show the fraction of squared log-transition energy left after fitting vertex differences. Each step increases the maximum context depth by one byte. The archived extractor gives each included edge equal weight in this fit.

f(D) decay curves for 10 selected languages

Running coupling g(D)

g(D) = fharm/(1 − fharm) on a log scale. Grey: all 49 languages. Colored: selected. Dashed red: g = 1 crossover.

Running coupling g(D) for 49 languages

D* by word order

Among samples with an observed crossing, the mean D* estimates are 2.75 character equivalents for SOV (7 samples) and 3.54 for SVO (15). Nineteen of the 49 samples have no crossing through depth five. Word order, script and corpus size vary together.

D* by word order typology

Cross-domain byte-stream profiles

The plot orders the sampled byte streams by f(5). Encoding and sample size both affect that comparison.

Cross-domain byte-stream profiles

PCA of eight graph measurements

The first two axes account for 45% and 26% of the reported variance in eight graph measurements. The colours show script labels. Separation by colour can guide further comparisons with matched encodings and corpora.

PCA scatter plot of 49 languages colored by script

Summary (ranked by D*_chars)

# language code order morph script bpc D*_c D*_b f(3) cycles
1 Chinese zh SVO isolating cjk 2.4 1.2 3.0 0.502 1886
2 Japanese ja SOV agglutinating cjk 2.5 1.5 3.7 0.580 844
3 Hindi hi SOV fusional devanagari 2.5 1.9 4.8 0.638 152
4 Korean ko SOV agglutinating hangul 2.1 2.0 4.2 0.569 721
5 Ukrainian uk SVO fusional cyrillic 1.7 2.2 3.8 0.561 360
6 Russian ru SVO fusional cyrillic 1.7 2.3 3.9 0.570 435
7 Mongolian mn SOV agglutinating cyrillic 1.7 2.3 4.0 0.585 210
8 Greek el SVO fusional other 1.7 2.3 4.0 0.577 382
9 Arabic ar VSO fusional arabic 1.7 2.3 4.1 0.630 140
10 Hebrew he SVO fusional other 1.7 2.4 4.0 0.602 204
11 Bulgarian bg SVO fusional cyrillic 1.7 2.7 4.5 0.593 337
12 Serbian sr free fusional cyrillic 1.5 3.0 4.4 0.582 530
13 Czech cs free fusional latin 1.1 3.3 3.6 0.540 1194
14 Slovak sk free fusional latin 1.1 3.5 3.8 0.548 1006
15 Hungarian hu SOV agglutinating latin 1.1 3.5 3.8 0.549 1122
16 Turkish tr SOV agglutinating latin 1.1 3.8 4.0 0.566 854
17 Polish pl free fusional latin 1.1 3.9 4.0 0.565 867
18 Croatian hr free fusional latin 1.0 3.9 4.0 0.568 873
19 Vietnamese vi SVO isolating latin 1.2 4.0 4.9 0.569 290
20 German de SOV fusional latin 1.0 4.2 4.3 0.580 1111
21 Latvian lv free fusional latin 1.1 4.2 4.5 0.586 807
22 Spanish es SVO fusional latin 1.0 4.2 4.3 0.565 674
23 Lithuanian lt free fusional latin 1.1 4.3 4.6 0.576 713
24 Portuguese pt SVO fusional latin 1.0 4.3 4.4 0.573 765
25 Italian it SVO fusional latin 1.0 4.5 4.5 0.571 858
26 Danish da SVO fusional latin 1.0 4.5 4.6 0.586 881
27 Estonian et SVO agglutinating latin 1.0 4.6 4.7 0.568 918
28 French fr SVO fusional latin 1.0 4.6 4.8 0.597 802
29 Romanian ro SVO fusional latin 1.0 4.6 4.8 0.575 726
30 English en SVO fusional latin 1.0 4.7 4.8 0.588 702
31 Dutch nl SVO fusional latin 1.0 unavailable >5 0.601 667
32 Swedish sv SVO fusional latin 1.0 unavailable >5 0.614 451
33 Norwegian no SVO fusional latin 1.0 unavailable >5 0.593 620
34 Indonesian id SVO agglutinating latin 1.0 unavailable >5 0.613 497
35 Malay ms SVO agglutinating latin 1.0 unavailable >5 0.610 575
36 Thai th SVO isolating other 2.5 unavailable >5 0.644 314
37 Swahili sw SVO agglutinating latin 1.0 unavailable >5 0.621 431
38 Bengali bn SOV fusional other 2.5 unavailable >5 0.629 213
39 Persian fa SOV fusional arabic 1.8 unavailable >5 0.659 136
40 Finnish fi SVO agglutinating latin 1.0 unavailable >5 0.590 908
41 Georgian ka SOV agglutinating other 2.3 unavailable >5 0.672 186
42 Tamil ta SOV agglutinating other 2.6 unavailable >5 0.697 110
43 Telugu te SOV agglutinating other 2.6 unavailable >5 0.672 92
44 Burmese my SOV isolating other 2.6 unavailable >5 0.669 159
45 Uzbek uz SOV agglutinating latin 1.0 unavailable >5 0.599 750
46 Irish ga VSO fusional latin 1.1 unavailable >5 0.587 394
47 Welsh cy VSO fusional latin 1.0 unavailable >5 0.593 782
48 Tagalog tl VSO agglutinating latin 1.0 unavailable >5 0.600 855
49 Latin la free fusional latin 1.0 unavailable >5 0.601 664

D* is the first crossing of f(D)=0.5, interpolated between adjacent byte depths. The character figure divides the byte estimate by the sample’s mean bytes per character. It is an approximation to a byte-based measurement.

D* by word order

D* by morphological type