Introduction
The Joseon Dynasty (1392–1910) produced an immense historical archive, including the Annals of the Joseon Dynasty (AJD) and the Diaries of the Royal Secretariat (DRS), totaling nearly 300 million characters. Despite their historical value, these records face two primary challenges: a significant language barrier, as they are written in Hanja (ancient Chinese characters adapted for Korean), and physical degradation due to age and historical conflict. Hanja differs significantly from modern Chinese in grammar and usage, rendering general-purpose Chinese translation models ineffective for these records.
Translating these documents manually is a monumental task; at current speeds, the DRS alone would require another 30 to 40 years of expert labor. This research introduces an AI-powered framework to accelerate this process by simultaneously restoring damaged text and translating it into modern Korean.
Methodology: Multi-Task Transformer Architecture
The core of the proposed system is a multi-task learning model based on the Transformer architecture. Unlike traditional pipelines that treat restoration and translation as sequential, independent steps, this model utilizes a shared encoder to capture the deep contextual nuances of Hanja.
Restoration and Translation
The restoration component employs Masked Language Modeling (MLM), similar to BERT, to predict missing or damaged characters. The translation component then converts the restored Hanja into modern Korean. To optimize efficiency, the model incorporates cross-layer parameter sharing, reducing the overall parameter count while maintaining high performance.
Downstream Data Mining
Following translation, the researchers applied Non-negative Matrix Factorization (NMF) for topic modeling. This allowed for the automated discovery of historical trends and astronomical events across centuries of records.
Datasets and Training
The model was trained on two primary corpora from the National Institute of Korean History:
- AJD: Approximately 250,000 documents.
- DRS: Approximately 1.4 million documents.
The training set included 239,226 paired Hanja-Korean sentences for the translation task and a larger set of 1.37 million unpaired Hanja sentences to enhance the restoration capabilities.
Results and Insights
The multi-task approach proved highly effective. The "Full" model achieved a BLEU score of 0.5410, significantly outperforming a translation-only baseline (0.3536). For the restoration task, the model reached a HITS@10 accuracy of 89.09%, indicating that the correct character was among the top 10 predictions nearly 90% of the time.
A key finding was that the restoration task acted as a regularizer, forcing the shared encoder to learn more robust linguistic representations that directly improved translation quality. Furthermore, the model's speed allowed the team to translate the remaining untranslated records in just five days using 20 V100 GPUs.
The practical utility of the system was demonstrated by identifying historical astronomical phenomena, such as the "Maunder Minimum" and "Leonids meteor shower," within the newly translated texts, confirming the model's accuracy for scientific research.
Limitations and Future Work
While the model excels at general translation, it struggles with proper nouns, such as obscure names and locations, achieving only 8.3% accuracy in these cases. This is largely because identifying specific historical figures often requires external knowledge beyond the immediate text. Future research will focus on integrating knowledge graphs to improve entity recognition and expanding the system to support direct translation into languages like English and French.
Summary updated