cs.CVMar 6, 2026

Contrastive-to-Self-Supervised: A Two-Stage Framework for Script Similarity Learning

Authors: Claire Roman, Philippe Meyer

Organizations: University of Haute Alsace, IRIMAS UR 7499, Mulhouse, France · Université Paris-Saclay, INRAE, AgroParisTech, Micalis Institute, Jouy-en-Josas, France

Abstract

Learning similarity metrics for glyphs and writing systems faces a fundamental challenge: while individual graphemes within invented alphabets can be reliably labeled, the historical relationships between different scripts remain uncertain and contested. We propose a two-stage framework that addresses this epistemological constraint. First, we train an encoder with contrastive loss on labeled invented alphabets, establishing a teacher model with robust discriminative features. Second, we extend to historically attested scripts through teacher-student distillation, where the student learns unsupervised representations guided by the teacher's knowledge but free to discover latent cross-script similarities. The asymmetric setup enables the student to learn deformation-invariant embeddings while inheriting discriminative structure from clean examples. Our approach bridges supervised contrastive learning and unsupervised discovery, enabling both hard boundaries between distinct systems and soft similarities reflecting potential historical influences. Experiments on diverse writing systems demonstrate effective few-shot glyph recognition and meaningful script clustering without requiring ground-truth evolutionary relationships.

Figures & tables

Explore similar work

CardsList
  1. Unsupervised Domain Adaptation for Symbol Spotting in Historical Encrypted Manuscripts

    Sep 7, 2026Giuseppe De Gregorio, Alicia Fornés, Lei Kang +1Domain-Adversarial LearningHistorical Document Analysis

  2. Rethinking Handwritten Character Recognition

    Sep 2, 2026Ranjit Raut, Aarav Subedi, Ashim ShresthaOptical Character Recognition

  3. Learning Diachronic Representations of Ancient Greek Letterforms

    Jun 23, 2026John Pavlopoulos, Spyros Barbakos, Lavinia Ferretti +7Representation LearningVisual Representation Learning