Skip to main content
QUICK REVIEW

[Paper Review] Applications of Machine Learning in Document Digitisation

Christian M. Dahl, Torben S. D. Johansen|arXiv (Cornell University)|Feb 5, 2021
Handwritten Text Recognition TechniquesComputer Science42 references4 citations
TL;DR

This paper demonstrates how machine learning can automate data collection from scanned historical documents, using unsupervised layout classification to infer treatment indicators from nurse journals and attention-based neural networks for handwritten text recognition on Danish death certificates. It achieves 83.66% end-to-end accuracy in transcribing birth and death dates, significantly reducing manual transcription costs while enabling scalable analysis of large document collections.

ABSTRACT

Data acquisition forms the primary step in all empirical research. The availability of data directly impacts the quality and extent of conclusions and insights. In particular, larger and more detailed datasets provide convincing answers even to complex research questions. The main problem is that 'large and detailed' usually implies 'costly and difficult', especially when the data medium is paper and books. Human operators and manual transcription have been the traditional approach for collecting historical data. We instead advocate the use of modern machine learning techniques to automate the digitisation process. We give an overview of the potential for applying machine digitisation for data collection through two illustrative applications. The first demonstrates that unsupervised layout classification applied to raw scans of nurse journals can be used to construct a treatment indicator. Moreover, it allows an assessment of assignment compliance. The second application uses attention-based neural networks for handwritten text recognition in order to transcribe age and birth and death dates from a large collection of Danish death certificates. We describe each step in the digitisation pipeline and provide implementation insights.

Motivation & Objective

  • To address the scalability and cost limitations of manual or crowdsourced transcription of scanned historical documents.
  • To demonstrate that machine learning can automate data collection from non-standard, scanned paper documents such as nurse journals and death certificates.
  • To show that ML-based digitization pipelines can be implemented using freely available tools like Python, PyTorch, and OpenCV.
  • To evaluate the performance of end-to-end ML pipelines for layout classification and handwritten text recognition in real-world archival datasets.
  • To highlight the practical benefits of ML in reducing manual labor while maintaining acceptable accuracy for large-scale historical data analysis.

Proposed method

  • Unsupervised layout classification using clustering techniques to identify and segment document regions such as treatment fields in nurse journals.
  • Application of attention-based neural networks for end-to-end handwritten text recognition on pre-segmented fields in scanned documents.
  • Use of Mask R-CNN for improved field-level segmentation to reduce transcription errors, particularly in date fields.
  • Implementation of confidence thresholding to flag low-confidence predictions for manual review, enabling active learning loops.
  • Combination of transcribed age and date fields for cross-verification, improving overall accuracy to 93.56%.
  • Training and evaluation using a small, curated dataset of 11,630 dates and 11,072 ages from scanned Danish death certificates.

Experimental results

Research questions

  • RQ1Can unsupervised layout classification effectively identify treatment-related fields in historical nurse journals without manual annotation?
  • RQ2To what extent can attention-based models achieve high accuracy in transcribing handwritten text from scanned death certificates?
  • RQ3How does end-to-end ML performance compare to crowdsourced transcription when accounting for segmentation and field-level errors?
  • RQ4Can ML pipelines reduce the manual transcription burden for large-scale archival document collections while maintaining acceptable accuracy?
  • RQ5What role does field-level segmentation play in determining the accuracy of handwritten text recognition in historical documents?

Key findings

  • Unsupervised layout classification achieved precision and recall of approximately 1.0 on a 4,000-page evaluation set of nurse journals, revealing non-compliance in treatment assignment that would have been missed without full collection analysis.
  • The end-to-end ML pipeline achieved 83.66% accuracy in transcribing birth and death dates from scanned death certificates, with a significant portion of errors traced to segmentation issues, particularly affecting year components.
  • Year accuracy was notably lower at 89.11% compared to 95.92% for day and 96.98% for month, indicating that segmentation errors disproportionately affect the year field.
  • When transcribed fields were cross-verified (age and dates), end-to-end accuracy improved to 93.56%, demonstrating the value of multi-field consistency checks.
  • The ML model achieved 96% accuracy on a perfectly segmented evaluation set, indicating that segmentation quality is a key bottleneck in real-world performance.
  • The cost of transcribing 2 million documents using ML is negligible compared to manual transcription, highlighting the scalability and cost-efficiency of ML-based digitization pipelines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.