Leveraging External Knowledge for Historical Document Restoration via Retrieval-Augmented Large Language Models
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
- External knowledge is crucial for named entity restoration.
- RAG and fine-tuning combine to enhance LLM restoration.
- Lexical similarity (BM25) is key for Hanja character restoration.
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
- Use BM25 for retrieving Hanja-specific external context.
- Apply an 80% similarity threshold for RAG document deduplication.
- Prioritize named entity masking in 25% of training data.
Topics
- Historical Document Restoration
- Retrieval-Augmented Generation
- Large Language Models
- Hanja Characters
- Named Entity Recognition
- Joseon Dynasty Archives
Code references
Best for: AI Scientist, Machine Learning Engineer, Research Scientist
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.