Oracle bone heritage data augmentation based on two-stage decomposition GANs

Jiaying Gao, Fausto Giunchiglia, Tongyu Zhao, Xin Zhao, Chuntao Li, Hao XuNpj 2025

Abstract

Oracle bone inscriptions (OBI) constitute a significant part of Chinese civilization, with many mysterious characters remaining undeciphered. Recent advances in deep learning have introduced novel approaches for OBI decipherment. However, OBI samples, often derived from tortoise shells and bones, are prone to corrosion and weathering, degrading dataset quality. This paper proposes an OBI augmentation model based on two-stage decomposition GANs, learning a unidirectional mapping to transform low-quality samples into high-quality ones. Unlike traditional data augmentation approaches that require pre-defined standard samples, our model utilizes a two-stage decomposition framework to augment OBI samples exclusively from existing data, ensuring enhanced realism and diversity, as measured by the Inception Score. Compared to existing augmentation techniques, our approach improves the Inception Score by 6.7% and reduces the Brisque Score by 30.2% on the public dataset. The augmented dataset quality improves recognition accuracy by 2.56%, demonstrating our approach’s effectiveness in real-world OBI decipherment.

The Challenge of Ancient Scripts

Oracle bone inscriptions (OBI) are the bedrock of Chinese writing, dating back to the Shang Dynasty (c. 1500 BC). Of the roughly 4,600 distinct characters unearthed from tortoise shells and animal bones, over 60% remain undeciphered. While deep learning offers a path toward automated decipherment, the data is inherently "dirty." Centuries of burial have left artifacts heavily corroded and weathered, leading to low-quality images that confuse standard recognition models.

Comparison of unearthed cultural relics and rubbings, illustrating the high levels of noise and corrosion that hinder automated recognition.

Existing data augmentation techniques often require "paired data"—a clean version and a noisy version of the same sample—which is impossible to obtain for ancient artifacts. Furthermore, simple Generative Adversarial Networks (GANs) often struggle with training instability and "mode collapse" when dealing with the high-frequency noise and structural complexity of ancient scripts.

Two-Stage Decomposition GAN Architecture

To address these issues, we propose a two-stage decomposition GAN that learns a unidirectional mapping from low-quality "reality" samples to high-quality "standard" samples without requiring paired training data. The core innovation lies in decoupling the character's topology from environmental noise through an intermediate skeletonization phase.

The two-stage decomposition GAN framework: Stage 1 extracts the character skeleton, and Stage 2 refines it into a standard domain sample.
  1. Stage 1: Reality-to-Skeleton ($G_{RS}$): The first generator focuses purely on structure. It transforms noisy, corroded input images into simplified "skeletons." This stage effectively strips away environmental noise (cracks, stains, weathering) to isolate the character's essential geometry.
  2. Stage 2: Skeleton-to-Standard ($G_{SS}$): The second generator takes the skeleton and refines it into a high-quality "standard" domain image. This adds back the appropriate stylistic texture while maintaining the structural integrity established in the first stage.

Technical Innovations for Stability

To ensure training stability and visual fidelity, the model moves beyond simple adversarial loss ($L_{GAN}$). We implemented a weighted combination of Content Loss ($L_C$, measuring L1 distance) and Perceptual Loss ($L_P$, using VGG-16 feature maps). This ensures the generated characters remain visually and structurally faithful to the originals. Additionally, we employed label smoothing and a 3:1 training ratio (training the generator three times for every one discriminator update) to prevent the discriminator from becoming too dominant, which often leads to vanishing gradients in GAN training.

Performance and Impact

The proposed method was evaluated on the OBC306 and RCRN datasets. It outperformed state-of-the-art models like AGTGAN and DualGAN across several key metrics:

  • Perceptual Quality: Reduced the BRISQUE score by 30.2%, indicating significantly clearer images with fewer artifacts.
  • Diversity: Improved the Inception Score (IS) by 6.7%, showing the model generates a wider variety of realistic character forms.
  • Downstream Performance: When the augmented data was used to train standard classification models (like ResNet101), the Top-1 recognition accuracy increased by an average of 2.56%. For the ResNet101 model on the OBC306 dataset specifically, accuracy improved from 69.50% to 74.21%.

Conclusion

By using skeletonization as a denoising bridge, this two-stage approach successfully decouples character topology from artifact noise. While the initial separation of "standard" and "reality" domains currently requires manual effort, the resulting high-quality augmentation provides a superior foundation for future decipherment-specific AI architectures. Future work will explore the applicability of this model to other ancient scripts, such as Cuneiform or Mayan glyphs, which suffer from similar degradation challenges.

Summary updated

BibTeX
@inproceedings{gao2025oracle,
  author = {Jiaying Gao and Fausto Giunchiglia and Tongyu Zhao and Xin Zhao and Chuntao Li and Hao Xu},
  title = {{Oracle bone heritage data augmentation based on two-stage decomposition GANs}},
  booktitle = {Npj},
  year = {2025},
  doi = {10.1038/s40494-025-01774-z},
}
Figure