Decoding Ancient Oracle Bone Script via Generative Dictionary Retrieval

Yin Wu, Gangjian Zhang, Jiayu Chen, Chang Xu, Yuyu Luo, Nan Tang, Hui XiongarXiv 2026

TL;DR

CipherOBS reframes the challenge of deciphering ancient Oracle Bone Script (OBS) from a traditional image classification problem into a generative dictionary retrieval task. By using diffusion models guided by structural character principles to synthesize ancient variants of modern Chinese characters, the framework achieves a remarkable 86.6% Top-50 accuracy on previously unseen ancient characters, providing paleographers with an interpretable, evidence-based tool for archaeological discovery.

What Problem Does This Paper Address?

Oracle Bone Script (OBS), etched onto turtle shells and animal bones over 3,000 years ago during the Shang dynasty, represents the earliest known form of Chinese writing. Out of roughly 4,600 distinct characters discovered by archaeologists, only about 1,500 have been successfully deciphered.

Deciphering the remaining characters is an extreme open-world problem. Traditional machine learning approaches treat this as a closed-set classification task: given an image of an ancient character, predict its modern Chinese character equivalent. However, these models suffer from a severe data imbalance and fail completely on "unseen" characters—those missing from the training vocabulary. State-of-the-art classification models achieve less than 3% accuracy on these novel glyphs. Because supervised models cannot extrapolate what an unseen ancient character should look like based purely on a massive search space of over 87,000 modern Unicode CJK ideographs, they act as uninterpretable black boxes that force arbitrary guesses without empirical evidence.

Methods

The authors introduce CipherOBS, a framework that flips the problem on its head: instead of mapping ancient characters to modern ones, it uses a generative model to synthesize a comprehensive dictionary of plausible ancient OBS variants from modern Chinese characters, then performs visual retrieval.

The pipeline consists of two main parts:

1. Two-Stage Script Synthesis

  • Stage 1: Font-Augmented Diffusion (FAD): Modern characters are rendered across diverse fonts and passed through a conditional diffusion model (with a denoising U-Net backbone) to generate an initial OBS-style draft. This stage captures the overall morphology and the efficient, incised stroke style of ancient inscriptions.
  • Stage 2: Stroke Refinement (SR): To ensure structural fidelity, the draft is refined using the character's Ideographic Description Sequence (IDS)—a structural blueprint detailing how components relate spatially (e.g., left-to-right, top-to-bottom). This constrains the refinement process to preserve component identity while allowing for historically realistic stroke degradation, merging, and erosion.

2. Dictionary-Based Retrieval

Once the synthetic dictionary is generated, a shared ConvNeXt encoder embeds both the unknown query OBS image and the synthetic dictionary entries into a common feature space. The system calculates the cosine similarity between the embeddings and uses a simple voting rule to output a ranked list of Top-N candidate modern characters alongside their generated visual hypotheses.

An iterative refinement variant can also run for multiple iterations (e.g., 20 iterations), updating the synthesized dictionary entries and their embeddings dynamically to improve matching precision.

Overview of the CipherOBS system for synthesizing and retrieving OBS variants.

Datasets

The framework was trained and evaluated on a composite benchmark derived from the two largest public OBS datasets:

  • HUST-OBS and EVOBC: Together providing 71,698 high-fidelity rubbings across 1,590 deciphered OBS characters.
  • Zero-Shot Split: To simulate real-world archaeological discovery, the authors enforced a strict character-level split where 90% of the characters were used for training and 10% were reserved exclusively for testing, ensuring zero label overlap for the evaluation of unseen characters.
  • Real-World Evaluation: The system was also tested on 14 newly excavated or debated OBS glyphs from post-2022 paleographic studies (stratified into the Qi, Qiang, Lv, and Chu graph groups).

Key Insights and Ideas

  • Inverting the Mapping Direction: Moving from classification to retrieval bypasses the closed-set limitation. New characters can be added to the searchable database instantly without retraining the underlying neural network.
  • Structure Over Pixels: Pure image-to-image translation models (like CycleGAN) struggle to maintain the semantic layout of characters. By conditioning the diffusion process on structural blueprints (IDS), CipherOBS ensures that even if a stroke is eroded or stylized differently, the core topology remains intact.
  • Human-AI Collaboration: Instead of replacing the expert, the system acts as a hypothesis generator. By presenting the top candidates along with the synthesized "evolutionary pathways," it transforms an opaque algorithmic decision into a transparent, auditable visual argument that paleographers can verify.

Key Results

CipherOBS drastically outperforms traditional classification and direct retrieval baselines on unseen characters:

  • Zero-Shot Accuracy: The single-pass model achieved 21.2% Top-1, 54.3% Top-10, and 86.6% Top-50 accuracy.
  • Iterative Refinement: After 20 iterations of dictionary refinement, the performance scaled remarkably to 47.5% Top-1 and 99.9% Top-100 accuracy. In comparison, standard classification baselines like OBSD plateaued at a dismal 3.4% Top-100 accuracy.
  • Robustness to Degradation: The system proved highly resilient against simulated field conditions (blur, noise, erosion, and masking), maintaining stable Top-20 candidate shortlists even under severe stroke occlusion or chipping.
  • Human Study: In a controlled study involving both lay users and OBS-trained graduate students, AI-assisted interpretation boosted overall accuracy by 37.9 percentage points (from 16.5% to 54.4%) while reducing decision times by 16%.
Zero-shot generalization results on newly deciphered script characters.

Limitations and Future Work

Despite its success, the authors note several limitations:

  • Requirement for Structural Isomorphism: The current method assumes a degree of structural continuity between the ancient script and its modern counterpart. It cannot easily resolve cases where an ancient character represents a completely obsolete word or where the graphic form diverged drastically over three millennia.
  • Priors and Bias: The diversity of the generated dictionary depends heavily on the input fonts and the quality of the IDS data, which might bias retrieval toward more common evolutionary paths and miss rare allographs.
  • Scope of Decipherment: Structural matching is only the first step. True paleographic decipherment requires integrating phonological, contextual, and philological evidence, which represents a promising avenue for multi-modal future extensions.

Summary updated

BibTeX
@misc{wu2026decoding,
  author = {Yin Wu and Gangjian Zhang and Jiayu Chen and Chang Xu and Yuyu Luo and Nan Tang and Hui Xiong},
  title = {{Decoding Ancient Oracle Bone Script via Generative Dictionary Retrieval}},
  year = {2026},
  eprint = {2604.09668},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.09668},
}
Figure