Leveraging External Knowledge for Historical Document Restoration via Retrieval-Augmented Large Language Models

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics, Emerging Technologies & Innovation · Depth: Expert, extended

Summary

The article introduces ARI, a novel Retrieval-Augmented Large Language Model (RAG-LLM) framework designed for historical document restoration, specifically addressing the challenge of restoring named entities that require external knowledge. ARI combines the implicit knowledge of pre-trained LLMs with explicitly retrieved external context. Extensive experiments on Korean historical documents, including the Annals of the Joseon Dynasty (AJD) and the Journal of the Royal Secretariat (JRS), demonstrate that ARI significantly outperforms baseline methods in restoring both general characters and named entities. ARI-32B, fine-tuned on Qwen3 32B, achieved superior performance, particularly for named entities like Person (PER) and Location (LOC), and was preferred by human experts. The framework utilizes chronological metadata, few-shot prompting, and BM25-based retrieval with an 80% deduplication threshold, incurring a computational cost of approximately 1,500 H200 GPU hours.

Key takeaway

For AI Scientists developing historical document restoration systems, you should integrate retrieval-augmented generation (RAG) with fine-tuned LLMs. This approach significantly improves named entity restoration, which traditional masked language models struggle with. Specifically, prioritize BM25 for retrieval and apply an 80% deduplication threshold to external documents. This strategy, exemplified by ARI-32B, enhances accuracy and provides a practical tool for domain experts, reducing manual effort in analyzing ancient archives.

Key insights

Retrieval-augmented LLMs effectively restore damaged historical documents, especially named entities, by integrating external knowledge.

Principles

Method

The ARI framework fine-tunes a Qwen3 LLM with RAG, integrating chronological metadata, few-shot examples, and BM25-retrieved, deduplicated external documents to restore masked Hanja characters.

In practice

Topics

Code references

Best for: AI Scientist, Machine Learning Engineer, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.