Elamur Research

Post-Correction of Historical Text Transcripts with Large Language Models: An Exploratory Study

Paper · 2024 · Emanuela Boros, Maud Ehrmann, Matteo Romanello et al.

Summary

A damaged word in a historical transcript can make a name disappear from a search, even though it remains legible in the original document. Repairing the transcript poses its own risk. An editor that changes an unfamiliar spelling may remove a genuine feature of the source. Boros and colleagues ask whether large language models can make these repairs reliably from the machine-transcribed text alone. They test fourteen generators on eight benchmarks covering printed documents, handwritten sources, and radio broadcasts. Each benchmark pairs automatic transcriptions with reference transcriptions that serve as the standard for evaluating a repair.

The researchers give the systems lines, sentences, or longer regions and vary what the instructions tell them. Some prompts simply ask for a correction. Others identify the input as a historical transcription, specify where the answer should go, or include demonstrations. The original transcription serves as the baseline. The researchers compare it and the proposed correction with the same reference, using the number of character edits needed to reconcile each version with that reference. A successful correction moves the transcript closer to its reference.

The proposed corrections typically move it farther away. Sentences offer the most useful input unit in the reported comparisons, and instructions that identify the transcription task generally cause less damage than generic editing requests. GPT-3.5 and GPT-4 give the strongest results overall, with some larger open-access systems competitive on particular material. Adding demonstrations usually makes results worse under the paper’s example-selection procedure. The noisiest inputs sometimes improve, while passages that start close to their references are vulnerable to unnecessary changes.

Manual inspection explains why an output can look convincing and still fail. Some systems repair a word and then omit part of the passage, regularize historical spelling, or continue beyond the source. Others translate the input or replace it with invented prose in a similar style. The reviewers also find errors in the references themselves. Taken together, the results show how demanding faithful post-correction is. A system has to recognize when the transcript needs an edit, recover the original wording, and preserve the parts the recognizer already got right.

Deep dive: Post-Correction of Historical Text Transcripts with Large Language Models: An Exploratory Study

An exploratory study tests whether language systems can repair historical transcripts from print, handwriting, and radio while preserving accurate text. · about 32 minutes to read

The problem and its context

Digitization leaves an editing problem

A digitized collection can contain an image of a newspaper or a recording of a broadcast alongside a machine-readable transcript. The transcript makes material accessible to search engines and to researchers who want to process the words across many documents. Its usefulness depends on what the recognition system recovered. A page may be easy to locate in a catalogue yet hard to find through the names and phrases printed on it.

The paper brings together several routes from a historical source to machine-readable text. Optical character recognition, or OCR, reads printed material. Handwritten text recognition, or HTR, handles writing such as that found in manuscripts. Automatic speech recognition, or ASR, produces text from spoken audio. Each route yields a sequence of words that can be compared with a human reference, but the evidence behind the errors differs. For a printed document the recognizer works from a visual page, while a speech recognizer has to recover words from a recording. The post-correction procedure studied here receives the textual result of recognition.

Historical collections make recognition difficult through the variety of their materials. The paper points to scan quality, document design, scripts, typefaces, handwriting, and language as sources of difficulty. A recognizer can serve an institution well on some material and still struggle with another part of the collection. Digitization also leaves a backlog. Older transcripts may remain in use after recognition technology improves because processing an entire collection again costs money.

The consequences reach beyond visible spelling mistakes. The authors cite studies reporting that transcription noise harms search and named entity recognition, the task of identifying references to entities such as people and places. Recognizing an entity and connecting it to a known identity both depend on evidence that a misread name can obscure. The paper also describes effects on natural language processing more generally. A transcript can therefore influence which documents enter a search result and what an analysis finds once those documents have been retrieved.

Post-correction starts after the recognizer has produced the transcript. It seeks a version that more faithfully reflects the historical source. The paper also describes targeted re-transcription, where a workflow identifies weak passages and sends them back through recognition. That option calls for a pipeline that can locate the trouble and reprocess the relevant material. Text-only post-correction asks how much of the remaining damage can be repaired from the transcript and its surrounding words.

Earlier approaches and the role of prompting

The post-correction literature discussed by the authors includes systems that learn to transform a noisy sequence into a clean one. Some treat the work as a form of machine translation at the character level. In this interpretation, the input and target are different renderings of the same passage. Other approaches use recurrent neural networks or the Transformer architecture to produce corrected text. The authors describe progress with these methods alongside continuing difficulties with extremely noisy material, transfer between historical collections, and edits to passages that were already accurate.

The authors also identify work using language generation in more specific roles. One earlier study used language-based scoring to choose among proposed corrections for contemporary documents. Another used fine-tuning, or further training on task-specific data, to adapt BART to OCR errors in historical newspapers. Those approaches already suggested ways to combine linguistic context and transcription repair. The open question for Boros and colleagues was how well broadly capable generators could perform the repair when given instructions at the time of use across several kinds of historical material.

In-context learning makes that test possible. A generator receives instructions and sometimes demonstrations as part of the input and uses them to infer the requested behavior. Its learned parameters stay fixed during the task. The study could therefore vary the instructions while holding a system constant. It could also try the same kind of instruction on different systems without building a separate trained corrector for each collection.

The paper takes previous work on grammatical error correction as a reason to try this and as a warning about what might go wrong. The studies it discusses found that GPT systems could correct grammar, particularly with sentences as input. They also observed overcorrection and investigated the influence of prompt wording and example choice. The risk carries over to historical transcription, where the desired changes are narrower. A form that seems unconventional to a present-day reader may carry information about the source or simply reproduce what the writer put on the page.

This difference matters even when an edit leaves the apparent meaning intact. A translation, a paraphrase, or smoother punctuation can be appropriate for another reading task. Faithful transcription asks for the wording of a particular source, as represented by its reference transcription. The question is whether a generator can discriminate between an unusual form worth retaining and a recognition error worth changing. The paper treats its tendency to supply plausible text beyond the available evidence as a direct challenge to that requirement.

What the comparison can establish

The study asks whether correction improves, degrades, or preserves the quality of an existing machine transcript. It also asks how results vary with input material, noise, and instructions, and whether open-access systems compare favorably with commercial GPT versions. These questions are related. An average tells an archive something about the risk of processing its holdings, while results by document and quality band show when that average may be misleading.

The historical sources bring together several kinds of variation at once. A commentary that switches scripts presents a different reading problem from a newspaper in a single language. A transcript from a recording presents a different set of clues from text read off a page. An almost accurate input gives the corrector a different job from an extensively damaged one. The study varies these conditions to see how broadly the approach holds up. The scope also helps explain why the authors examine particular outputs after measuring the aggregate results. A single score can show that a passage has moved away from its reference, while inspection can reveal whether it moved because of missing text, a fluent rewrite, or a more fundamental failure.

The method, step by step

Build paired units of text

For each item, the procedure starts with a machine transcript and a corresponding reference, which the paper calls ground truth. The reference gives the researchers a target for scoring and a way to align text from the two versions. At generation time, the item to be corrected is the machine transcript. In the demonstration setting, examples of the task also accompany it. The evaluation returns to the reference for that item after the generator answers.

The benchmarks arrive with different units already defined. A newspaper dataset might pair lines or regions, while a broadcast dataset might align stretches of speech that span parts of sentences or several sentences. The authors put these sources into a shared structure so that they can pose comparable correction tasks. They establish line, sentence, and region levels. They use available line segmentation outside the ICDAR collections. A region covers the entire text treated as a document by a benchmark, so it may be an article, a page, or a programme, depending on that benchmark.

Preparing sentences requires additional work because none of the datasets already supplies aligned sentence pairs. The authors first use a recursive alignment procedure to match tokens, the text units used by the alignment, between the recognizer’s output and the reference. They then apply sentence splitting. Aligning the versions before deriving sentence units helps associate corresponding passages when recognition errors disturb the text. An incorrect alignment can nevertheless give the system a difficult fragment and complicate the comparison with the assigned reference.

The three levels give the generator different amounts and kinds of context. A line preserves a unit of the source layout and can end in the middle of a thought. A sentence provides a linguistic boundary, subject to the quality of segmentation. A region can include much more context but requires the output to stay faithful across a longer piece of text. The experiment assesses the consequences of changing that unit. It also lets the authors compare materials prepared in different formats at a shared level.

The authors then measure each unit’s starting quality by comparing its original machine transcript with its reference. They group the resulting similarity percentages into 0 − 40, 40 − 60, 60 − 80, 80 − 99 and 99 − 100. The first band contains the least similar input and the last contains the most similar. The bands describe agreement with the benchmark reference prior to any repair. They let the authors ask whether correction helps when there is substantial damage and whether it preserves passages with little apparent damage.

How the study prepares and evaluates a correction

The steps in order.

How the study prepares and evaluates a correctionStep 1: Pair the machine transcript with its reference1. Pair the machine transcript with its referenceStep 2: Align the versions and prepare the text units2. Align the versions and prepare the text unitsStep 3: Assign a starting quality band3. Assign a starting quality bandStep 4: Insert the transcript into the selected prompt4. Insert the transcript into the selected promptStep 5: Generate a single response5. Generate a single responseStep 6: Clean the response for scoring6. Clean the response for scoringStep 7: Compare both transcript versions with the reference7. Compare both transcript versions with the reference

Choose how much the instructions say

The authors create five templates. Each combines the test passage with an instruction, and the designs range from a general request to an explicitly framed transcription task. The comparison tests whether giving the system a more precise account of the job helps it produce a faithful answer.

Basic-1 asks for a correction with little additional direction. Basic-2 narrows the request to spelling and grammar. Both are recognizable editing requests, but they leave the generator to infer what sort of text it has received. For an historical transcript that distinction can matter. A form that triggers a spelling correction under a generic request might be an authentic reading.

Complex-1 identifies the input as machine-transcribed historical material and gives the system a cue for the corrected text. The experimental description treats the origin of the transcript as OCR, HTR, or ASR as appropriate to the material. This tells the system where the mistakes are expected to have originated. Complex-2 adds stronger response-format requirements. It marks the passage to be corrected and indicates where the correction should appear, directing the system to return the corrected passage by itself. Complex-3 translates that last template into the relevant languages.

Some distinctions between the templates can be tested more closely than others. Complex-2 and its translated counterpart let the authors compare instruction languages within a shared design. Moving from a basic template to a complex one changes several features together, including the description of the task and the framing of the response. The templates therefore compare ways of giving instructions, with the most elaborate prompts supplying both historical context and stronger format guidance.

The study runs prompts in zero-shot and few-shot settings. In zero-shot use, the instructions accompany the test passage without a worked example. In the few-shot condition, three demonstrations show the kind of correction being requested. The authors randomly choose the examples from three of the lowest starting-quality bands for each dataset. This gives the demonstrations examples of substantial damage. It also makes the result sensitive to which examples chance supplied and how well they represent the errors in a particular test item.

The demonstrations are part of the input, so the generator has to infer the task from them at the time it answers. The study leaves its parameters fixed. Differences between a run with examples and a run without them concern the information supplied at generation time. The paper’s few-shot comparison thus deals with a particular way of offering examples for post-correction, where both the number of examples and their source bands are part of the setup.

Generate and clean the response

The fourteen systems come from four series and all generate text autoregressively, which means they produce the response in sequence, using the preceding text to condition what comes next. The authors select systems that differ in accessibility, size, training, and resource requirements. Some can be run with publicly available weights, while most GPT versions in the study are accessed through a commercial interface. That mixture lets the authors examine whether the most accessible alternatives can produce useful corrections under comparable instructions.

The GPT set covers GPT-2, GPT-3, GPT-3.5, and GPT-4. The table gives GPT-2 a size of 1.5B and GPT-3 a size of 175B parameters. It lists the sizes of GPT-3.5 and GPT-4 as unknown. The paper discusses differences in capabilities and training across these generations, including instruction following and larger context windows. A comparison within the series therefore reflects more than an increase in parameter count.

The multilingual BLOOM and BLOOMZ series each contribute versions with 560M, 3B, and 7.1B parameters. In the paper’s account, BLOOMZ extends BLOOM through cross-lingual training on a collection of task prompts. Comparing the tested versions at the same listed sizes helps examine whether that training is associated with a difference in correction behavior. The cross-lingual multitask training study provides the background for this distinction.

The OPT versions have 350M and 6.7B parameters. The paper describes OPT as trained on English text. The selected LLaMA and LLaMA-2 versions both have 7B parameters. The authors describe differences in the amount of training data and available context across the two LLaMA releases. This gives another comparison in which the reported sizes are the same but the training and capacity to accept context differ.

Each run generates one response. The study uses no vote or selection across repeat answers. The appendix reports a default temperature of 0.7 for the GPT experiments conducted through the OpenAI interface and 1.0 for the open-source systems. Temperature affects the variability of generated text. These values belong to the tested configurations, and the paper leaves the search for a suitable correction temperature to later investigation.

The output has to be cleaned because a generator may present a reply as a conversation, echo the instructions, or append material after the passage. The authors remove leading and trailing whitespace and enclosing double quotation marks where applicable. They strip repeated prompt material and certain formulaic messages, including statements that the system found nothing to correct. They also limit the response relative to the input length. The appendix describes trimming the predicted text at 1.5 times the length of the input, while the main procedure describes discarding text beyond that limit.

The cleanup is mechanical. It can remove a prefatory remark from an otherwise accurate correction, and it can cut off some surplus response text. It cannot determine which historical word should stand in a passage or guarantee that a plausible continuation came from the source. The paper compares raw and cleaned answers, then uses cleaned answers in its main comparisons. The authors make the implementation and some of the datasets available through their project repository.

Measure the distance from the reference

The first calculation expresses how similar two strings are. Levenshtein distance counts the minimum number of single-character edits needed to turn one string into the other. The possible edits are insertion, deletion, and substitution. For transcription, this makes the metric sensitive to differences ranging from a missing character inside a word to omitted words across the passage. Normalizing by the longer string allows units of different lengths to be placed on a common scale.

lev_sim = (length − lev_dist(transc, GT)) ÷ length

Here lev_sim denotes the normalized Levenshtein similarity. transc is the transcription being scored, which can be the original machine transcript or the generated correction. GT is the matching reference. lev_dist(transc, GT) is the minimum character edit count between those strings, and length is the character count of the longer of them. The minus sign subtracts the edit count from the length, the parentheses group that operation, and ÷ divides the remainder by the same length. The equals sign defines the similarity. Its scale runs from 0 to 1, with higher values indicating closer agreement.

The metric compares characters as represented in the evaluation strings. It can therefore penalize a changed accent, a regularized spelling, or other differences in presentation. That is consistent with the paper’s interest in fidelity, even though a consequence of the same rule is that it counts disagreements with imperfect reference text. The evaluation treats the reference as the best available target and examines some of its shortcomings during manual analysis.

The authors calculate this similarity twice for each correction. The first calculation uses the unchanged machine transcript and the second uses the generated response. They express the change relative to the initial similarity and bound the result. They call the result the Post-Correction Improvement Score, or PCIS.

PCIS = ⎧ min(max(llm_sim, −1), 1)                         if orig_sim = 0
       ⎨ min(max((llm_sim − orig_sim) ÷ orig_sim, −1), 1)  otherwise if orig_sim ≠ llm_sim
       ⎩ 0                                               otherwise

PCIS denotes the improvement score. orig_sim is the original transcript’s Levenshtein similarity to the reference, and llm_sim is the corrected transcript’s similarity to that same reference. The brace groups the cases, read from top to bottom. When the original similarity equals 0, the first case uses the corrected similarity without dividing by the original. When the original similarity is non-zero and the values differ, as marked by ≠, the minus sign takes the change from the original to the corrected similarity and ÷ expresses that change relative to the original. In both branches max selects the larger argument to impose the lower bound of −1, and min selects the smaller argument to impose the upper bound of 1. The remaining case assigns 0 to an unchanged similarity.

A positive PCIS identifies a correction nearer to the reference. A negative value identifies a deterioration. The unchanged machine transcript, if evaluated against itself as the candidate using the same reference, represents the zero-change baseline. A score of 0 can also occur when a system changes the transcription but leaves its similarity to the reference exactly where it was. Reading that score as “unchanged quality” therefore makes a narrower and more accurate claim than reading it as “unchanged text.”

The use of starting similarity as a denominator matters when interpreting aggregates. The same kind of edit can affect the relative score differently depending on how much the input already agrees with the reference. Clipping also sets a ceiling and a floor for the reported change. Alongside the scores, the researchers read sampled responses to identify what the metric registered as loss of fidelity. The combination helps distinguish a system that returns an incomplete correction from one that writes a complete passage on a different subject.

Experiments and results

The eight benchmarks

The printed material includes two post-OCR competition benchmarks. The original icdar-2017 collection has 12M characters and includes newspapers and monographs in English and French. The authors use 12% of it. They estimate that its sources range from 17C-20C, drawing on what they know about the underlying collections. The original icdar-2019 benchmark has 22M characters and draws on more kinds of printed material, including receipts. It spans 10 European languages in its original form. The paper uses 20% of it and assumes a broadly similar historical range, although dates are unspecified. These two collections supply transcripts aligned to their references at the character level. The paper notes that some documents may contain up to 50% misrecognized characters.

The overproof sample consists of newspaper articles from the Sydney Morning Herald. The underlying collection comes from Trove, and the articles in the first Overproof dataset cover 1842 to 1945. The authors use a 20% random sample of that dataset. The alignment is at line level. Trove users contributed the reference text, which gives the authors reason to regard completion of those references as variable.

The impresso-nzz benchmark comes from 167 front pages of the Neue Zürcher Zeitung selected from material between 1780 and 1947. The authors use a 50% random sample of the ABBYY transcription version. The newspaper’s black-letter type presented recognition difficulties in that version. Its alignments are available at region, line, and word levels. Together, the two newspaper datasets give the study different examples of OCR error in article or page text, with different routes to building the benchmark references.

The Ajax Multi-Commentary material comes from five 19C scholarly commentaries on Sophocles’ Ajax. The study draws on texts with Latin and polytonic Greek scripts. ajmc-mixed contains material in which languages and scripts are mixed, while ajmc-primary retains Greek text alone. The table marks grc among the languages of the commentary data. The Ancient Greek text and mixed-script passages make these subsets a test of whether a generator can restore unfamiliar forms without translating them or smoothing away changes of language.

The htrec data extend the study to handwritten text. The sources are Byzantine papyri and manuscripts from 10C-16C, with transcriptions in Byzantine Greek. The benchmark aligns the HTR and human versions at line level. The paper uses the test set of 180 lines. The sentence-level preparation records 8 sentences and the dataset overview lists 8 regions. The handwriting benchmark thus has a small number of sentence-level units in the study’s main comparison.

The audio benchmark, ina, contains six French radio programmes. Their dates run from 1930 to 1980, with material from each decade in that span. The recordings include news, fiction, entertainment, and political speech. The French National Audiovisual Institute supplied the audio and machine transcripts, and the authors made the manual transcripts. The alignment uses stretches of broadcast text whose boundaries may cut across sentences and speaker turns. The benchmark contains 290 sentence units after preparation. Background events such as music are left unmarked in the transcripts.

This design gives the authors a test across distinct uses of recognition, and the variation continues within each group. The two ICDAR samples include different types of printed material. The newspaper benchmarks differ in language, typeface, and reference construction. The commentary samples let the authors compare Greek-only and mixed material from the same project. Handwriting and speech extend the range of sources, with each represented by its own benchmark rather than by a series of independent datasets.

What serves as the baseline

The central comparison is the original machine transcript against the proposed replacement. Both strings are scored against the same reference, with their relative change expressed as PCIS. This yields a practical baseline for a collection that already has transcriptions. Any intervention needs to produce a better return than accepting the existing text. The related post-correction systems discussed in the background serve as context for the task. The paper’s headline experiment compares the prompted configurations against the existing transcript.

The main breakdown compares the average PCIS for each system and dataset after a shared choice of settings. The input is at sentence level, generation is zero-shot, the instructions are from Complex-2, and the responses have been cleaned. That selection comes from the paper’s broader comparisons of input units, prompts, and output processing. It gives the reader a view of how the systems differ under a relatively favorable configuration, while the other comparisons show how weaker conditions fare.

Across the tested settings, the authors report a broad pattern of deterioration. Their sentence-level comparison shows many losses, occasional cases with little or no change in similarity, and rare improvements. This remains the pattern even in the configuration used to compare systems and datasets most directly. The most useful distinctions are therefore frequently about the severity of degradation and the circumstances under which some passages escape it.

Where degradation is strongest

The mixed and Greek-only commentary material, along with Byzantine handwritten text, includes some of the most difficult cases. The paper describes severe deterioration on atypical material and languages in those datasets. In the mixed commentary data, larger multilingual versions in the BLOOM and LLaMA families give the authors some grounds for optimism relative to the other systems. On htrec, GPT-4 is the only version the authors identify as apparently able to avoid degradation in the main configuration. That result applies to the benchmark’s tested material and should be read alongside the small number of sentence units.

The ICDAR material, the two newspaper datasets, and French radio generally show less severe deterioration. The authors suggest that these sources have features closer to the language, subjects, or kinds of text represented in the systems’ training. The evaluation observes a difference in performance between the groups. Their proximity to training material is an interpretation, since language, source type, date, noise and passage structure change together across the datasets.

GPT-3.5 and GPT-4 give the strongest results overall. The paper also reports that some larger multilingual open-access versions can compete with commercial GPT systems. The comparison is nuanced because the GPT series includes earlier as well as later versions, and the result depends on the material. Smaller open-access versions from several families frequently perform on a level with GPT-2 and GPT-3. Together, these findings make it possible to separate relative competitiveness from whether correction is good enough to replace the original transcripts.

BLOOMZ tends to fare better than BLOOM outside ajmc-mixed. The pattern is compatible with a benefit from the additional cross-lingual task training used for BLOOMZ, but the mixed commentary exception matters because it is among the cases where multilingual capability seems especially relevant. The paper finds no clear separation by size within those series. System families and training choices explain more of the reported pattern than any simple ordering by parameter count could capture.

What the reviewers counted

The manual analysis covers 2,459 sentence-level correction items in the appendix’s description of the sample. It uses GPT-4, LLaMA-2, and BLOOMZ, the Basic-2 and Complex-2 prompts, and material in English, French, German and Greek. The sample ranges across the datasets and their starting quality bands. The appendix also reports the selected counts and percentages by dataset. The chart compares reported sampling coverage for several benchmark settings. Performance is measured separately by PCIS.

Manual review coverage by dataset in the sentence-level sample

The review covered the full handwritten benchmark at sentence level and smaller shares of the printed benchmarks shown.

Manual review coverage by dataset in the sentence-level sampleicdar-2019: 15icdar-201915icdar-2017: 18icdar-201718ajmc-primary: 51ajmc-primary51htrec (this paper): 100htrec (this paper)100
The numbers
System or settingsentence-level sampling coverage %
icdar-201915
icdar-201718
ajmc-primary51
htrec (this paper)100

The distribution means that an inspected failure from a small benchmark can matter to the whole qualitative picture of that benchmark, whereas the inspection of a larger benchmark covers a smaller share of its prepared items. The chart marks htrec for its review coverage. The chart’s percentages describe which material was inspected, and the main results figures report the relative character-based change after correction.

The manual results distinguish failed replies, limited departures from the reference, substantial departures, and mistakes in the reference itself. The paper says that slight and strong deviations together constitute two thirds of the sample. In its comparison of those groups, strong deviations are the predominant type, and invented text makes up much of that group. GPT-4 still shows a tendency to paraphrase some inputs. The reviewers also describe partial replies and continuation of passages among the open-access versions. Those observations explain why improving the presentation of a response is different from improving the transcript it contains.

What the ablations show

Cleaning the output helps the comparison

The paper compares generated responses before and after the output heuristics are applied. Cleaning improves results for the tested systems and input levels. This is evidence that some measured damage comes from the generator’s manner of replying. Extra quotation marks, an echoed instruction, or an introductory remark can increase character distance even when the response contains the requested passage. Trimming those elements lets the score reflect the proposed correction more closely.

The need for cleanup varies across systems and prompts. GPT-3.5 and GPT-4 require the least. Complex-2 often requires more cleanup for open systems, in spite of supplying detailed formatting instructions. Those instructions can improve the specification of the task and still lead a generator to copy parts of the prompt into its answer. The study’s favorable comparisons consequently concern a combination of generation and subsequent cleanup.

The raw-versus-cleaned comparison also places the persistent failures in context. The experiment removes some predictable formatting mistakes before measuring its main result, yet broad degradation remains. That pattern fits the manual observations. Cases involving translated prose, a missing clause, or an invented passage cannot be resolved just by stripping a greeting or limiting the length. The evaluation separates a recoverable defect in the response envelope from failures in the transcription itself.

Sentences are the most favorable unit

The experiments at line, sentence, and region level favor sentence-level input. This describes the tested segmentation and prompts taken together. A line can lack the words that make a doubtful spelling interpretable. A longer region can offer those words and many more, but it extends the portion of the source the generator has to reproduce faithfully. A sentence often supplies neighboring words within a manageable scope. That is a plausible reading of the result, while the experiment measures the effect of using the sentence unit as prepared by the authors.

Different levels also depend on different alignment arrangements. The ICDAR datasets lack the line-level input used with the other collections. Sentences have been newly derived across the datasets, and regions have source-specific meanings. The evidence supports the authors’ decision to use sentences for the following comparisons. It leaves room for effects from the quality of segmentation and the distribution of lengths within each unit.

The difference is important when reading the principal figures. A result for the chosen sentence configuration reflects inputs at that level. Treating it as a result for an entire page at once would extend the claim beyond the comparison. The region experiments address longer passages separately, and the material itself supplies examples where even a sentence or a region can be truncated by faulty segmentation.

Specific instructions help within limits

The basic editing prompts produce the strongest deterioration in the across-dataset prompt comparison. Instructions that identify the material as an automatic transcription of a historical source generally fare better. A spelling and grammar instruction gives the generator grounds to regularize an odd-looking form. The historical transcription instruction gives it grounds to consider that an unusual form may be part of the target and that other forms may be artifacts of recognition. The result supports conveying the nature of the task in the prompt.

The complex prompts yield broadly similar levels of degradation. The study uses Complex-2 as the common configuration for its main comparisons and describes it as among the more effective choices. It finds no single complex version that dominates every system and dataset. Since the templates change context, task description, output cues, and sometimes instruction language, the comparison establishes the relative value of the packages the authors tested. It gives weaker evidence for the effect of any particular sentence inside an instruction.

The cleanup result adds another qualification. Complex-2 gives an explicit boundary for the requested answer, but generators sometimes reproduce pieces of that boundary or surrounding instructions. An instruction can help define the desired content without ensuring that the system obeys the desired format. The experiment scores both kinds of behavior and uses the cleaned answer to reduce the formatting contribution.

Demonstrations seldom improve this setup

With Complex-2 and cleaned sentence responses, adding three demonstrations generally worsens the scores. GPT-3.5 and GPT-4 are the exceptions to the broad deterioration associated with this change. The paper’s discussion connects the sensitivity to earlier work on the volatility of few-shot results under different examples and example orders. The observed comparison concerns the addition of randomly selected demonstrations from lower-quality bands.

Selecting demonstrations from such bands exposes a generator to inputs with enough damage to illustrate visible repairs. A test set also contains relatively clean passages, where aggressive editing can be harmful. How well a particular set of demonstrations teaches restraint is a separate question, and the reported comparison does not isolate it. The study’s limitations explicitly acknowledge that curated examples could lead to different results.

The result also puts the zero-shot finding in perspective. A shorter instruction without demonstrations was generally the more favorable of the two tested conditions. Neither condition changes the generators’ parameters. The comparison shows how extra task information can alter performance when presented in the prompt, with the direction of that change depending on the systems and examples used.

The initial quality of the transcript changes the outcome

Grouping the inputs by their original similarity reveals a tendency for the noisiest passages to suffer less degradation. Some inputs in those bands improve. The authors interpret this as evidence that the generators sometimes make real repairs in passages where errors are abundant. Toward the clean end of the range, preserving the text becomes a larger part of the task. An unjustified change can erase the benefit of a legitimate repair when few legitimate repairs are available.

Scores by quality band combine this editing behavior with the definition of PCIS. The initial similarity determines the band and also enters the relative-change calculation. High-similarity inputs have little room to move closer to the reference. Lower-similarity inputs have more room for recovery, and a change is expressed relative to their smaller starting value when that value is non-zero. The bands are informative about where the procedure succeeds or fails under the study’s metric. Reading them alongside manual examples helps explain how much of the story is about better correction and how much is about failing to leave accurate text alone.

The analysis points to a practical distinction within the paper’s original question. An ability to recover some damaged words can coexist with poor performance when every passage is submitted for editing. A correction procedure applied indiscriminately must earn back any damage it does to clean material. The paper observes the pattern across starting quality groups, without testing a system that decides which sections should be sent for correction in the first place.

Inspection identifies different routes to the same score

The authors’ tentative taxonomy starts with replies that fail to deliver a correction at all. The C1 group includes empty answers and responses consisting of introductory or echoed prompt text. A response can contain abundant characters and still belong to this group if the characters provide no corrected passage. This is chiefly a failure to carry out the instruction in the expected form.

C2 covers small departures from the reference in a response that has done some corrective work. One kind adds text to a passage that was otherwise repaired. Another supplies a partial correction. In a radio example, the reply preserves the opening statement about the arrest of two men and drops the subsequent material. A third kind changes the rendering of a passage. The paper’s historical example involving Friar Bacon shows a system modernizing written forms and recasting punctuation in material that was already close to the reference. A reader interested in the gist might tolerate some such changes. A transcript intended to preserve the source’s wording is judged by a more demanding standard.

C3 contains larger departures. A response can paraphrase the source, make scattered changes without resolving the important errors, or start with recognizable text and then continue past it. It can also translate the passage, as in the example of a German commentary sentence returned in English. A stronger failure occurs when the system supplies new text with little connection to the source. The paper illustrates this with an accurate Latin input that elicits a different Latin passage. The invented wording can give the impression of stylistic continuity even though it has displaced the original.

In the annotated comparison, invented text is especially prominent for LLaMA-2-7B and BLOOMZ-7.1B. The reviewers describe a mild tendency for the former to continue passages and for the latter to give incomplete replies among the smaller departures. GPT-4 shows a tendency to embellish or paraphrase. These are patterns in the inspected sample. Their value is to explain how recognizable differences in output behavior can lead to the same direction of change in PCIS.

The last group, C4, recognizes that the reference can itself contain an error. This category matters because reference agreement is the basis of the quantitative evaluation. Manual inspection can bring cases to light where a discrepancy calls the reference into question. The taxonomy therefore captures failures of instruction following, errors in the content of generated replies, and an independent weakness of the target used for scoring.

Limitations

Limits identified by the authors

The authors generated one response per run because of constraints on time, computational resources, and budget. Their averages summarize those responses. The procedure leaves open how much an individual answer would vary across repeated generations and whether selecting among several candidates could help. A selection mechanism would have to choose a trustworthy answer without access to the benchmark reference at the point of use.

The study uses default generation temperatures. Searching for an appropriate temperature is among the authors’ proposed extensions, alongside trying instructions more tightly adapted to each document type. They also suggest separating error detection from correction, exploring task-specific training and self-evaluation, and developing the error taxonomy further on a smaller set of datasets. These are proposals arising from the exploratory study. Its results describe the prompt-based setup with the generation conditions it actually used.

The authors warn that text units may have been segmented or aligned incorrectly. A broken boundary can cut off evidence needed to restore a word or introduce text from a neighboring unit. If the machine transcript and the reference span different stretches of the source, character distance reflects that discrepancy as well as the generator’s behavior. The problem is especially relevant to benchmark material assembled under multiple alignment conventions and then standardized for a common comparison.

The authors also do not independently establish the full quality of the references. They use benchmarks built for evaluation, recognize that their reference texts are imperfect, and find examples of reference mistakes in the manual review. This is an uncertainty in the measurement itself. When a reference omits or misrepresents text from the source, a faithful answer can disagree with it. An incorrect answer can also agree with it. The experiment provides broad evidence against the tested correction procedure while leaving individual discrepancies open to inspection.

The few-shot demonstrations were randomly selected. The authors point out that manual curation could change the results. The tested procedure gives a clear comparison for a particular kind of demonstration selection, but other examples might emphasize decisions missing from those demonstrations, such as when a passage ought to be copied as it stands. The study also spans enough settings that the authors identify finer analysis within individual configurations as unfinished work.

Limits visible in the experimental design

The character-based metric defines success in terms of fidelity to a reference transcript. That is appropriate for the paper’s main question. It does not directly measure the value of the corrected text for search, entity processing, or another application. A lightly modernized spelling might support a reader’s keyword search while being undesirable for a researcher studying historical writing. A partial reply might recover a name and lose the surrounding statement. PCIS registers character agreement across the unit and does not assign a special value to the recovery of an important name or to the loss of a particular fact.

Because the generators receive text, the study also limits the evidence available for recovering difficult passages. Surrounding words can help resolve a corrupted spelling. A badly damaged form may admit several plausible reconstructions that could be distinguished by inspecting the page or listening again to the recording. The experiment measures what can be done without that additional evidence at generation time. The targeted re-transcription work discussed in the background addresses a different workflow involving renewed recognition of the source.

The benchmark design supports a broad exploratory comparison, with limits on attribution. Byzantine handwriting differs from newspaper OCR in several respects at once. The recognizer, period, script, language, text structure and amount of available material can all vary. With the single handwriting benchmark and single radio benchmark, the study can describe performance on those sources. A general estimate for either recognition type would need more independent examples of that type. Likewise, the especially poor results for some Greek and mixed-language material cannot identify a single responsible feature.

System comparisons bring their own entanglements. Two versions may differ in size, training material, instruction tuning, generation settings, and context limits. The default temperature differs between the GPT and open-source experiment groups. The relative performance of the available configurations is of direct interest to the paper, but its design does not isolate the effect of every factor. The matched sizes in the BLOOM and BLOOMZ comparison give a closer comparison on parameter count while leaving other differences between those releases in place.

There is a similar issue with the proposed value for archival backlogs. The experiment assesses whether generated replacements improve the transcripts, and the widespread deterioration is already a substantial obstacle. It does not evaluate the cost of operating a collection-wide workflow with human review, triage, or verification against images and recordings. The most defensible conclusion for that practical question comes from the fidelity scores themselves. Replacing existing text automatically under the tested configurations would often lower its measured quality. A selective workflow that processes only particular passages and verifies their output would require its own evaluation.

What came after

The later papers that cite Boros and colleagues return to different parts of the historical text workflow. Their stated subjects extend from assessing recognition quality to evaluating handwritten-text workflows, assembling a newspaper corpus, and identifying a language in historical books. The citation establishes a connection to the post-correction study. The titles establish the scope of each later work. The details of any reuse of the prompts, datasets, or improvement score are unspecified.

Bootstrapping AI (2025) examines OCR quality in English-language historical documents through interdisciplinary approaches. Its topic connects to the starting-quality side of the Boros study. Boros and colleagues need an estimate of the original transcription’s quality before they can assess what a correction changed. The later study puts the assessment of OCR quality itself in the foreground.

To Overfit or Not to Overfit? (2026) evaluates a handwritten-text recognition workflow on a historical French corpus. Its question concerns the workflow that produces the kind of transcript Boros and colleagues receive as input for the handwriting benchmark. The connection is particularly clear at the level of evaluation. Recognition quality determines what a downstream corrector inherits, while the success of the corrected output depends on how much reliable text it preserves and how much missing or damaged text it can recover.

PressMint-AT (2026) addresses the development of an interoperable corpus of Austrian historical newspapers. Its scope is the corpus that has to bring historical newspaper material together in a usable form. The Boros study approaches newspapers as collections with different transcription and alignment conventions. The later work places those kinds of resources in the context of corpus interoperability, where the arrangement and usability of historical text are part of the research problem.

Detecting Latin in Historical Books (2026) presents a multimodal benchmark for identifying Latin in historical books. That task relates to the language variation encountered in the commentary and historical print examples, where systems sometimes mishandled passages in unfamiliar languages or scripts. Language detection and faithful repair answer different questions about the material. The benchmark named in the later work places language identification at the center, while the Boros experiment measures whether a proposed transcription recovers the wording of a particular source.

Cite

Cite as Emanuela Boros, Maud Ehrmann, Matteo Romanello, Sven Najem-Meyer and Frédéric Kaplan. 2024. Post-Correction of Historical Text Transcripts with Large Language Models: An Exploratory Study. Proceedings of the 8th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature (LaTeCH-CLfL 2024).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.latechclfl-1.14

@inproceedings{boros2024post,
  title = {{Post-Correction of Historical Text Transcripts with Large Language Models: An Exploratory Study}},
  author = {Emanuela Boros, Maud Ehrmann, Matteo Romanello, Sven Najem-Meyer and Frédéric Kaplan},
  booktitle = {Proceedings of the 8th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature (LaTeCH-CLfL 2024)},
  year = {2024},
  doi = {10.18653/v1/2024.latechclfl-1.14},
  url = {https://doi.org/10.18653/v1/2024.latechclfl-1.14}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/boros-2024-post-correction-historical-text-transcripts/