A Quantitative Visual Taxonomy of Worldwide Writing Systems

Philippe Meyer, Claire RomanNeurIPS 2026

TL;DR

Suppose you took every historical writing system humanity ever etched into stone or brushed onto paper, threw away the history books, and asked a neural network to organize them purely by how they look. This paper builds the first global, data-driven visual taxonomy of 125 writing systems—without relying on linguistic assumptions—recovering famous script families while revealing fascinating visual cousins that history books separate. Beyond mapping human cultural history, this tool could help archaeologists narrow down relatives for ancient, undeciphered scripts.

What Problem Does This Paper Address?

Writing systems are frozen fossils of human contact, invention, and adaptation. While machine learning has recently gotten great at translating cuneiform or dating Greek inscriptions, those efforts stay safely inside single writing traditions. Nobody has scaled modern representation learning to ask a much broader question: how do all the world’s writing systems relate to one another visually?

Doing this rigorously is tricky. First, scripts vary wildly—from 20-letter alphabets to thousand-sign logographic systems like Chinese (CJK). Second, visual similarity is not the same as linguistic genealogy: unrelated scripts might look alike because both were carved into wood or pressed into clay, while sibling scripts can diverge dramatically. Finally, there is no complete "ground-truth" global family tree of visual similarity, meaning you cannot easily validate whether your distance metrics or clustering algorithms are actually working or just hallucinating patterns.

Methods

To compare scripts without baking in historical bias, the authors build a three-step pipeline:

  1. Deformation-Invariant Glyph Embeddings: Using a lightweight CNN backbone, they employ a two-stage teacher–student model. First, a teacher network learns to tell characters apart (using supervised contrastive learning) on invented alphabets stretched, rotated, and sheared. Next, via BYOL-style self-distillation (where a student predicts an exponentially moving average of the teacher without negative pairs), the representation adapts to unlabeled historical handwriting.
  2. Principled Metric & Clustering Selection via Synthetic Evolution: Because real ground-truth labels don't exist, the authors simulate script evolution—creating synthetic child scripts with partial glyph inheritance and geometric distortions—to test 10 distance metrics and multiple clustering methods. Symmetric nearest-neighbor mean distance wins out: each glyph in script $A$ finds its closest visual match in script $B$ (and vice versa). This naturally mirrors real evolution, where one ancestral letter (like Greek upsilon) splits into multiple descendants (Latin U, V, Y, W). For massive scripts like CJK or Egyptian Hieroglyphs, they sample $k=100$ representative signs using $k$-medoids.
  3. Global Hierarchy: They apply Ward-linkage hierarchical clustering—the empirical winner on a separate synthetic benchmark—to the pairwise distances of 125 real scripts.

Datasets

  • Omniglot: Handwritten characters (15 modern/invented alphabets for pretraining, 25 historical for self-distillation, 10 held out) used exclusively to train the visual encoder.
  • Worldwide Historical Script Dataset (New): 125 pre-19th-century scripts extracted from Unicode 17.0 and rendered cleanly at $105 \times 105$ pixels using Google Noto Sans fonts.
  • Synthetic Validation Datasets (New): Two disjoint benchmarks (600 synthetic scripts / 300 pairs each) simulating close, distant, and unrelated evolutionary pairs to independently select the distance metric and clustering algorithm.
Figure 1: Examples of real and synthetic scripts. Left: real writing systems from the Unicode dataset. Right: synthetic script pairs with controlled relatedness (close, distant, unrelated) generated from real alphabets.
  • External Real-World Images: Photographed Egyptian hieroglyphs, oracle-bone characters, cursive Japanese Kuzushiji, and handwritten Devanagari used to test out-of-domain transfer.

Key Insights and Ideas

  • Local matches beat global averages: Nearest-neighbor script metrics trounce global averaging. Script relationships live in specific borrowed or inherited characters, not the "average" look of an alphabet.
  • Visual form is a reticulate web, not a strict family tree: The distance matrix is only partially tree-like (ultrametricity $U = 0.85$; dendrogram cophenetic correlation $= 0.71$). Scripts borrow, converge due to writing tools, and undergo top-down reforms—meaning a visual taxonomy captures typological regimes (like sign density) alongside true ancestry.
  • Purely font-rendered spaces understand real-world messy writing: Even though the taxonomy is built from clean digital Noto fonts, dropping raw photographs of carved hieroglyphs or cursive manuscripts into the frozen encoder lands them right next to their digital twins.

Key Results

Applying the pipeline to all 125 scripts cleanly separates dense/pictorial systems (CJK, Tangut, Cuneiform, Hieroglyphs) from alphabetic, Semitic/Aramaic, Greco-Roman, and sprawling North/South Asian Brahmic families.

Global visual taxonomy of 125 historically attested scripts built via Ward-linkage clustering.
  • Agreement with Experts: Comparing against 8 expert macro-families from Daniels & Bright (1996), a script’s closest visual neighbor shares its historical family 77% of the time (chance is 28%), hitting high purity in East Asian (1.00), Brahmic (0.84), Semitic (0.81), and Greco-Roman (0.78) scripts. Cross-family neighbors sensibly reflect visual convergence (e.g., Cuneiform near CJK, or angular Kanbun near Ogham).
  • Real-Image Transfer & Font Robustness: Swapping Sans for Serif fonts keeps script-distance rankings highly stable (Spearman $\rho = 0.86$). Held-out handwritten Omniglot alphabets match their Noto counterparts first in 49 of 50 trials, and photographed Egyptian hieroglyphs, Devanagari, and Kuzushiji always rank their exact counterpart 1st or 2nd.
  • Spatio-Temporal Traces: Combining closest geographic contact and temporal overlap correlates moderately with visual distance ($\rho = 0.333 \pm 0.019$), proving that visual geometry retains genuine footprints of historical transmission across space and time.

Limitations and Future Work

Because the taxonomy relies on standardized Unicode inventories and digital fonts, it misses scripts not yet encoded (like Paleohispanic scripts) and flattens out rich scribal variations, stroke ductus, and physical media constraints (clay vs. papyrus). Furthermore, the spatio-temporal metadata are approximate. Future work aims to build taxonomies directly from raw archaeological inscriptions and manuscripts, model richer allographic variation, and apply the framework to help decipher poorly understood ancient scripts by spotting their closest visual relatives.

Summary updated

Abstract

Quantitatively comparing writing systems at a worldwide scale is challenging because visual similarity must be inferred without relying on predefined linguistic or genealogical assumptions, and only limited ground-truth taxonomy is available for validation. We introduce a fully data-driven framework for comparing scripts based on learned glyph representations. Using a teacher–student model, we obtain deformation-invariant glyph embeddings and aggregate them into script-level distances. To enable principled model selection in the absence of labels, we construct synthetic script datasets that simulate key aspects of script evolution, including partial inheritance, visual distortion, and inventory variation. These benchmarks are used to independently select both the script-level distance metric and the clustering method, showing that nearest-neighbor aggregation and Ward hierarchical clustering best recover controlled relatedness structure. Applying the validated pipeline to 125 historically attested writing systems yields a global visual taxonomy that recovers coherent typological families, in quantitative agreement with expert genealogical classifications, while also revealing visually driven associations beyond strict genealogy. The resulting structure is stable under controlled perturbations, transfers to handwritten and photographed glyphs despite being built from digital-font renderings, and shows a moderate correlation with independent geographic and temporal metadata, indicating that learned representations capture non-trivial traces of historical transmission. More broadly, this approach provides a quantitative tool for exploring relationships between writing systems and has potential applications in historical analysis and the decipherment of ancient scripts by identifying visually related alphabets.
BibTeX
@inproceedings{meyer2026quantitative,
  author = {Philippe Meyer and Claire Roman},
  title = {{A Quantitative Visual Taxonomy of Worldwide Writing Systems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VLPMAYjWxj},
}
Figure