# Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents

기록보관소의 문을 열다: 대형 언어 모델을 활용한 손으로 쓴 역사 문서 전사

Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray 외 1명 · arXiv · 2024년 11월 2일

- **연구 문제** 손글씨 역사 문서의 전사는 시간과 비용이 많이 들며, 기존 HTR은 새로운 필체에서 fine-tuning 없이 쓰기 어렵습니다.
- **연구 방법** Transcription Pearl이 상용 멀티모달 LLM에 이미지와 프롬프트를 보내 fine-tuning 없이 전사하고, 초벌 전사를 이미지와 대조해 교정합니다.
- **주요 결과** 테스트 세트에서 Claude Sonnet-3.5는 Transkribus Titan보다 낮은 엄격 오류율을 보였고, 이종 모델 교정은 초벌 전사의 오류를 크게 줄였습니다.

## 역사 문서 전사의 병목

역사학자와 기록관리자가 손글씨 기록을 디지털화할 때 전사(transcription)는 가장 시간이 많이 들고 비용이 큰 단계입니다. 전사가 있어야 키워드 검색이나 의미 검색이 가능하므로, 전사 자동화는 아카이브 접근성의 핵심 문제입니다. 기존 HTR(Handwritten Text Recognition) 도구인 Transkribus는 사용하기 쉬워졌지만, pre-training 모델을 그대로 쓰면 처음 보는 필체에서 단어 정확도가 50~75% 수준에 머무는 경우가 많다고 원문은 보고합니다. 이 때문에 특정 필체에 맞춘 fine-tuning이 필요했고, 많은 역사학자에게는 그 준비 비용이 부담이었습니다. 이 논문은 fine-tuning 없이 상용 멀티모달 LLM을 사용해 같은 문제를 해결할 수 있는지를 묻습니다.

## Transcription Pearl의 LLM 전사 흐름

Transcription Pearl은 이미지를 가져와 필요하면 긴 변이 2048픽셀을 넘지 않도록 크기를 조정한 뒤, 시스템 메시지와 사용자 메시지를 포함한 요청을 OpenAI, Anthropic, Google의 LLM API에 보냅니다. 기본 전사 단계는 zero-shot 프롬프트를 사용하며, 이때 temperature는 0.0, Top-P는 1.0으로 고정됩니다. 여기서 temperature는 가장 확률이 높은 다음 토큰을 고르는 정도를 조절하는 설정이고, Top-P는 선택 가능한 토큰 범위를 제한하는 설정입니다. 저자들은 이 설정을 출력의 일관성을 높이기 위한 기준선으로 사용했으며, 다른 프롬프트 전략이나 설정이 더 나을 가능성은 후속 연구로 남겼습니다.

교정 단계에서는 원본 이미지와 초벌 전사문을 함께 제공하여 LLM이 전사문을 수정하도록 합니다.

![Figure 1: Figure 1: Transcription Pearl Interface](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c/figures/figure-0b6719ce12ec9b693d45fdbcd8ca1b11.png?thumb=512)

**Figure 1** : Figure 1: Transcription Pearl Interface

[원문](https://arxiv.org/abs/2411.03340v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence · Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

![Figure 2: Transcription Pearl Settings Window](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c/figures/figure-27f3189feb11daa6d6527977ab32207c.png?thumb=512)

**Figure 2** : Transcription Pearl Settings Window

[원문](https://arxiv.org/abs/2411.03340v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence · Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## 이미지와 초벌 전사를 함께 쓰는 교정

교정 단계는 기존 HTR 또는 다른 LLM이 만든 초벌 전사문을 원본 필기 이미지와 대조하는 작업입니다. 원문에 따르면 교정 프롬프트는 철자, 구문, 구두점, 줄바꿈을 원본과 맞추도록 지시하며, 이 입력 구조 때문에 교정 단계는 단순한 텍스트 편집과 구분됩니다. 교정 결과는 같은 모델이 자기 출력을 고칠 때와 다른 모델의 출력을 고칠 때 차이가 있었습니다. 원문은 같은 모델의 자기 교정에서는 통계적으로 유의한 개선이 나타나지 않았다고 보고하며, 이를 이 논문의 대상 모델과 조건에서 관찰된 결과로 읽어야 합니다.

## 테스트 데이터와 오염 점검

테스트 세트는 1761년부터 1827년 사이의 영어 편지, 메모, 일기, 법률 문서 50쪽으로 구성되었고, 33개의 서로 다른 필체와 9,911단어를 포함합니다. 문서는 흑백 마이크로필름 스캔, 중고화질 스캔 또는 사진, 휴대폰 촬영본을 섞어 실제 연구 환경을 모사하도록 설계되었습니다. 저자들은 상용 LLM이 공개 웹 자료로 학습되었을 가능성을 점검하기 위해 Gemini-1.5-Pro-001에서 recitation 중단 사유가 발생하는지 확인했습니다. 이 점검은 학습 데이터 노출을 발견하는 신호로 사용되었고, 그 결과에 따라 테스트 데이터셋은 공개하지 않았습니다. 다만 Gemini-1.5-Pro-002에서는 일부 문서가 특정 웹사이트를 인용하는 거짓 양성도 관찰되었다고 원문은 보고합니다.

## 엄격 지표와 수정 지표

오류율은 대체, 삽입, 삭제의 합을 참조 문서의 전체 문자 수 또는 단어 수로 나누어 계산됩니다. 엄격 CER/WER은 대소문자, 구두점, 철자 차이를 모두 오류로 셉니다. 수정 CER/WER은 대소문자와 구두점 차이를 무시하고, 참조문서에서 잘못 철자된 단어를 전사에서 바로잡은 경우를 대체 오류로 세지 않습니다. 따라서 두 지표는 같은 전사를 서로 다른 기준으로 평가하며, 수정 지표의 낮은 값을 전사 자체가 엄격히 더 정확하다는 뜻으로 읽으면 안 됩니다.

## fine-tuning 없는 전사 결과

Transkribus 기준선은 PyLaia 모델과 Titan Super Model을 사용했으며, PyLaia의 엄격 CER은 10.3%, 엄격 WER은 27.0%였습니다. Titan의 엄격 CER은 8.0%, 엄격 WER은 19.7%였습니다. 같은 엄격 평가에서 Claude Sonnet-3.5는 CER 7.3%, WER 15.9%를 기록해 Titan보다 낮았습니다. 수정 지표에서는 Claude Sonnet-3.5의 CER이 5.7%, WER이 8.9%였습니다. 이 결과는 50쪽 테스트 세트를 각 10회 실행한 평균이며, 같은 조건에서 gpt-4o와 Gemini의 결과는 모델별로 다르게 나타났습니다. 처리 시간은 Transkribus가 50쪽에 약 22분, LLM은 약 30초 안팎으로 보고되었습니다.

![Table 2: Strict Word Error Rates (WER) of Transcriptions by Model](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c/figures/figure-445317e592339490a50f7e24647fa677.png?thumb=512)

**Table 2** : Strict Word Error Rates (WER) of Transcriptions by Model

[원문](https://arxiv.org/abs/2411.03340v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence · Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

![Table 3: Modified Character Error Rates (CER) on Transcriptions by Model](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c/figures/figure-059d25ce15e09a13713ae4e71bd86f92.png?thumb=512)

**Table 3** : Modified Character Error Rates (CER) on Transcriptions by Model

[원문](https://arxiv.org/abs/2411.03340v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence · Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

![Table 4: Modified Word Error Rates (WER) on Transcriptions by Model](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c/figures/figure-19ba67b308d9c4251b0a1956386d752c.png?thumb=512)

**Table 4** : Modified Word Error Rates (WER) on Transcriptions by Model

[원문](https://arxiv.org/abs/2411.03340v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence · Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

![Table 5: Latency (Time to Completion) of Transcription and Cost in USD](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c/figures/figure-ad1ad8148f5185539db7994020290ed2.png?thumb=512)

**Table 5** : Latency (Time to Completion) of Transcription and Cost in USD

[원문](https://arxiv.org/abs/2411.03340v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence · Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

## LLM 교정 결과와 자기 교정의 차이

이종 모델 교정에서 Claude Sonnet-3.5는 Gemini 전사를 교정하여 엄격 CER 0.057을 얻었습니다. 반면 gpt-4o가 자기 전사를 교정한 경우의 엄격 CER은 0.112에서 악화되었습니다. 원문은 같은 모델의 자기 교정이 개선되지 않는 이유를 모델이 자신의 출력을 만든 가중치에 의존하기 때문이라고 설명하지만, 이는 저자들의 해석이며 직접 측정된 원인으로 볼 수 없습니다. Transkribus Titan 전사를 Claude Sonnet-3.5가 교정한 경우 엄격 WER은 0.090, 수정 WER은 0.035로 보고되었으며, PyLaia 출력에서는 엄격 WER 개선폭이 더 컸습니다.

![Table 11: Latency (Time to Completion) for Corrected Transcriptions and Cost in USD](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c/figures/figure-cc73687725082bc6db743d3704721fc2.png?thumb=512)

**Table 11** : Latency (Time to Completion) for Corrected Transcriptions and Cost in USD

[원문](https://arxiv.org/abs/2411.03340v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence · Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

이 결과는 18세기와 19세기 영어 손글씨 문서 50쪽, 33개 필체라는 특정 테스트 세트에서 얻은 것입니다. 저자들은 다른 시기나 언어에서 같은 결과가 나올지는 추가 검증이 필요하다고 밝혔습니다. 비용 비교도 각 모델의 당시 가격과 테스트 조건에 따른 값이므로, 다른 문서나 가격 체계에서는 달라질 수 있습니다. 또한 테스트 데이터셋은 오염을 막기 위해 공개되지 않았기 때문에 외부 재현은 같은 자료로는 어렵습니다. 저자들은 코드와 Transcription Pearl 소프트웨어를 공개했다고 밝힙니다.

## 논문 정보

- **저자**: Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 11월 2일
- **등록일**: 2026년 11월 6일
- **수정일**: 2024년 11월 2일
- **버전**: v1
- **arXiv**: 2411.03340
- **분류**: cs.CV · cs.CL · cs.DL · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2411.03340v1) · [원문 PDF ↗](https://arxiv.org/pdf/2411.03340v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

This study demonstrates that Large Language Models (LLMs) can transcribe historical handwritten documents with significantly higher accuracy than specialized Handwritten Text Recognition (HTR) software, while being faster and more cost-effective. We introduce an open-source software tool called Transcription Pearl that leverages these capabilities to automatically transcribe and correct batches of handwritten documents using commercially available multimodal LLMs from OpenAI, Anthropic, and Google. In tests on a diverse corpus of 18th/19th century English language handwritten documents, LLMs achieved Character Error Rates (CER) of 5.7 to 7% and Word Error Rates (WER) of 8.9 to 15.9%, improvements of 14% and 32% respectively over specialized state-of-the-art HTR software like Transkribus. Most significantly, when LLMs were then used to correct those transcriptions as well as texts generated by conventional HTR software, they achieved near-human levels of accuracy, that is CERs as low as 1.8% and WERs of 3.5%. The LLMs also completed these tasks 50 times faster and at approximately 1/50th the cost of proprietary HTR programs. These results demonstrate that when LLMs are incorporated into software tools like Transcription Pearl, they provide an accessible, fast, and highly accurate method for mass transcription of historical handwritten documents, significantly streamlining the digitization process.

## 원문 인용

Mark Humphries, Lianne C. Leddy, Quinn Downton, Meredith Legace, John McConnell, Isabella Murray, Elizabeth Spence (2024). Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents. arXiv:2411.03340v1. https://arxiv.org/abs/2411.03340v1

**BibTeX**

```
@misc{humphries2024unlocking,
  title = {{Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents}},
  author = {Mark Humphries and Lianne C. Leddy and Quinn Downton and Meredith Legace and John McConnell and Isabella Murray and Elizabeth Spence},
  year = {2024},
  eprint = {2411.03340},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.03340v1}
}
```

## 이 논문의 용어

- [트랜스포머](https://refivu.com/terms/515e8433c447-transformer)
- [미세조정](https://refivu.com/terms/0ac87f78df46-fine-tuning)
- [temperature](https://refivu.com/terms/13dee949c770-temperature)
- [transformer architecture](https://refivu.com/terms/30726b29c2c5-transformer-architecture)
- [Top-P](https://refivu.com/terms/484ea778c563-top-p)

## 다른 논문 해설

- [Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?](https://refivu.com/papers/cfece4bb-1558-4163-9369-9dfea374f585-can-large-language-models-transform-natural-language-intent.md)
- [Evaluating the Ripple Effects of Knowledge Editing in Language Models](https://refivu.com/papers/b5a70e67-045a-47b7-96d8-dbc886057a9e-evaluating-the-ripple-effects-of-knowledge-editing-in.md)
- [Does the Magic of BERT Apply to Medical Code Assignment? A Quantitative Study](https://refivu.com/papers/9db22439-ebb1-4274-82e5-98c07b5b5366-does-the-magic-of-bert-apply-to-medical.md)
- [Knowledge Graphs, Large Language Models, and Hallucinations: An NLP Perspective](https://refivu.com/papers/bfd02873-c02f-410b-8245-d4b6a31c8a37-knowledge-graphs-large-language-models-and-hallucinations-an.md)
- [Safety Guardrails for LLM-Enabled Robots](https://refivu.com/papers/c1fe3394-f384-4a56-aef5-471e70d0ad0d-safety-guardrails-for-llm-enabled-robots.md)
- [mGPT: Few-Shot Learners Go Multilingual](https://refivu.com/papers/deca13d8-8626-4e2a-b8d3-2fa10ef64b1e-mgpt-few-shot-learners-go-multilingual.md)
- [EmoBipedNav: Emotion-aware Social Navigation for Bipedal Robots with Deep Reinforcement Learning](https://refivu.com/papers/4c424d22-aaa0-4159-bc27-985211f3fce5-emobipednav-emotion-aware-social-navigation-for-bipedal.md)
- [Global birdsong embeddings enable superior transfer learning for bioacoustic classification](https://refivu.com/papers/35cfd4f6-ffbc-4629-b2eb-47d83ae30f04-global-birdsong-embeddings-enable-superior-transfer-learning.md)
- [GCNDepth: Self-supervised Monocular Depth Estimation based on Graph Convolutional Network](https://refivu.com/papers/b6ff0b35-b083-47ea-b483-c9e093e7094d-gcndepth-self-supervised-monocular-depth-estimation-based-on.md)
- [MUVINE: Multi-stage Virtual Network Embedding in Cloud Data Centers using Reinforcement Learning based Predictions](https://refivu.com/papers/a0ad3b0c-7094-4464-9f9a-987e033df535-muvine-multi-stage-virtual-network-embedding-in-cloud.md)
- [Physically Interpretable Machine Learning for nuclear masses](https://refivu.com/papers/f2b43f1e-8797-48a7-aeb6-ef6eb98b54e2-physically-interpretable-machine-learning-for-nuclear-masses.md)
- [Toward Multiphysics-Informed Machine Learning for Sustainable Data Center Operations: Intelligence Evolution with Deployable Solutions for Computing Infrastructure](https://refivu.com/papers/f091ac0c-d17e-4a27-bfe6-6754ceeb27fd-toward-multiphysics-informed-machine-learning-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c-unlocking-the-archives-using-large-language-models-to)
