paper-with-me

홈 › Papers

Scrambled text: training Language Models to correct OCR errors using synthetic data

2024-09-29 · Jonathan Bourne

OCR errors are common in digitised historical archives significantly affecting their usability and value. Generative Language Models (LMs) have shown potential for correcting these errors using the context provided by the corrupted text and the broader socio-cultural context, a process called Context Leveraging OCR Correction (CLOCR-C). However, getting sufficient training data for fine-tuning such models can prove challenging. This paper shows that fine-tuning a language model on synthetic data using an LM and using a character level Markov corruption process can significantly improve the ability to correct OCR errors. Models trained on synthetic data reduce the character error rate by 55% and word error rate by 32% over the base LM and outperform models trained on real data. Key findings include; training on under-corrupted data is better than over-corrupted data; non-uniform character level corruption is better than uniform corruption; More tokens-per-observation outperforms more observations for a fixed token budget. The outputs for this paper are a set of 8 heuristics for training effective CLOCR-C models, a dataset of 11,000 synthetic 19th century newspaper articles and scrambledtext a python library for creating synthetic corrupted data.

📄 PDF Abstract BibTeX arXiv:2409.19735

Code (3)

JonnoB/scrambledtext 공식 구현
JonnoB/scrambledtext_analysis 공식 구현
JonnoB/training_lms_with_synthetic_data 공식 구현

Tasks

ArticlesLanguage ModelingLanguage ModellingOptical Character Recognition (OCR)

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Library 설명 없음
BASE 설명 없음

Similar Papers 제목 키워드 기반

Unnatural Error Correction: GPT-4 Can Almost Perfectly Handle Unnatural Scrambled Text

2023-11-30 · Qi Cao, Takeshi Kojima, Yutaka Matsuo, Yusuke Iwasawa

While Large Language Models (LLMs) have achieved remarkable performance in many tasks, much about their inner workings remains unclear. In this study, we present novel experimental insights into the resilience of LLMs, p…

Scrambled Translation Problem: A Problem of Denoising UNMT

2019-10-30 · MTSummit 2021 8 · Tamali Banerjee, Rudra Murthy V, Pushpak Bhattacharyya

In this paper, we identify an interesting kind of error in the output of Unsupervised Neural Machine Translation (UNMT) systems like \textit{Undreamt}(footnote). We refer to this error type as \textit{Scrambled Translati…

DenoisingMachine TranslationSentenceTranslation

When does word order matter and when doesn't it?

2024-02-29 · Xuanda Chen, Timothy O'Donnell, Siva Reddy

Language models (LMs) may appear insensitive to word order changes in natural language understanding (NLU) tasks. In this paper, we propose that linguistic redundancy can explain this phenomenon, whereby word order and o…

Natural Language UnderstandingRTESST-2

A scaling law of contextual persistence in human language

2026-07-28 · Elan Barenholtz arxiv

Human language exhibits lawful structure at the level of words (frequency, vocabulary growth) and word pairs (co-occurrence across distance). Here we show that the arrangement of words in sequence -- a central determinan…

Cube Bench: A Benchmark for Spatial Visual Reasoning in MLLMs

2025-12-23 · Dhruv Anand, Ehsan Shareghi arxiv

We introduce Cube Bench, a Rubik's-cube benchmark for evaluating spatial and sequential reasoning in multimodal large language models (MLLMs). The benchmark decomposes performance into five skills: (i) reconstructing cub…

Spatial ReasoningVisual Reasoning