An open dataset for oracle bone script recognition and decipherment

Pengjie Wang, Kaile Zhang, Yuliang Liu, Jinpeng Wan, Haisu Guan, Zhebin Kuang, Xinyu Wang, Lianwen Jin, Xiang Bai · DOI

TL;DR

This paper introduces HUST-OBC, a large-scale, open-source dataset for Oracle Bone Script (OBC) character recognition and decipherment, aiming to overcome the limitations of existing datasets. By consolidating data from diverse sources and employing a robust annotation pipeline, HUST-OBC provides a valuable resource for advancing AI-driven research into this ancient Chinese writing system.

What Problem Does This Paper Address?

Oracle Bone Script (OBC), dating back over 3,000 years to the Shang Dynasty, is a crucial window into ancient Chinese history and culture. However, deciphering these inscriptions is a significant challenge due to the script's age, damage to the original artifacts, and the evolution of character forms over time. While Artificial Intelligence (AI) offers promising avenues for assisting in this decipherment, progress has been severely hampered by a lack of comprehensive, high-quality datasets. Existing datasets are often limited in size, diversity, and annotation accuracy, making them insufficient for training robust AI models. This paper addresses this critical data gap by creating and releasing the HUST-OBC dataset.

Methods

The creation of the HUST-OBC dataset involved a multi-stage, semi-automated pipeline:

  • Data Acquisition: Images of OBCs were collected from three primary sources:
  • Books: Scanned pages from authoritative compilations of OBCs were processed.
  • Websites: A web crawler was used to gather data from specialized online platforms dedicated to Chinese classical studies and OBCs.
  • Databases: Existing OBC databases, such as HWOBC, were incorporated.
  • Automatic Annotation: For data sourced from books, a pipeline was developed to automatically extract individual character images. This involved edge detection and other computer vision techniques. A key challenge was assigning correct modern Chinese character labels, as off-the-shelf OCR struggled with the script's variations. To address this, the authors trained a "category assigner" model. This model was trained on synthetic Chinese character images and synthesized "Liding" (undeciphered) characters to learn to identify labels from book layouts and context.
  • Data Integration: To handle variations in annotation conventions (e.g., using modern vs. variant Chinese characters), an unsupervised visual representation learning model (MoCo) was employed. This model encoded OBC images into feature vectors, allowing for the merging of similar samples and the reduction of redundant categories.
  • Validation: To ensure data quality, the entire dataset was meticulously reviewed by OBC scholars from Anyang Normal University, using authoritative books and the HWOBC database as reference standards. This step involved discarding erroneous samples and retaining accurate ones.

Datasets

The paper introduces the HUST-OBC dataset, a new benchmark for OBC recognition and decipherment. It comprises:

  • Total Images: 140,053 images.
  • Deciphered Characters: 77,064 images across 1,588 categories.
  • Undeciphered Characters: 62,989 images across 9,411 categories.

This dataset is significantly larger and more diverse than previous efforts like HWOBC, OBI-100, OBI-125, and Oracle-20k, which are also discussed and compared in the paper. The HUST-OBC dataset is organized into three folders: deciphered, undeciphered, and unreliable data from GuoXueDaShi.

Key Insights and Ideas

  • The critical need for large, diverse datasets: The paper strongly emphasizes that the lack of high-quality, comprehensive datasets is the primary bottleneck for advancing AI in OBC decipherment.
  • Leveraging diverse data sources: Combining data from books, websites, and existing databases is crucial for building a robust dataset that captures the variability of OBCs.
  • The challenge of automatic annotation: Accurately labeling ancient scripts with AI is non-trivial, requiring specialized models like the "category assigner" to handle variations and uncoded characters.
  • The importance of expert validation: Even with automated pipelines, human expert review is essential for ensuring the accuracy and reliability of the final dataset.
  • Visual similarity in feature space for redundancy reduction: Using unsupervised learning to embed images in a feature space allows for the identification and merging of redundant categories, a novel approach for dataset integration.

Key Results

The authors demonstrate the quality and utility of the HUST-OBC dataset through technical validation. They trained a ResNet-50 model on the deciphered portion of the dataset, achieving:

  • Classification Accuracy: 94.6%
  • Macro-average F1 Score: 0.914

These results, validated on a test set with stratified sampling, indicate that the HUST-OBC dataset is of high quality and suitable for training effective AI models for OBC recognition. Table 4 provides specific accuracy scores for individual categories, showing high performance across many.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that due to the lack of annotations for undeciphered categories, there might still be duplicates within the 9,411 undeciphered categories, which can only be resolved once these characters are deciphered.
  • The dataset includes a subset of "unreliable data" from GuoXueDaShi, which was not classified as deciphered or undeciphered due to potential labeling issues.
  • Future Work:
    • The authors hope that the HUST-OBC dataset will inspire and assist future research in deciphering unknown OBCs.
  • The dataset is intended to facilitate future AI-assisted tasks in deciphering OBCs, suggesting ongoing research in this area.
  • The availability of the dataset and code on GitHub encourages further development and exploration by the research community.

Summary updated

BibTeX
@inproceedings{wang2024open,
  author = {Pengjie Wang and Kaile Zhang and Yuliang Liu and Jinpeng Wan and Haisu Guan and Zhebin Kuang and Xinyu Wang and Lianwen Jin and Xiang Bai},
  title = {{An open dataset for oracle bone script recognition and decipherment}},
  booktitle = {Scientific},
  year = {2024},
  doi = {10.1038/s41597-024-03807-x},
}
Figure