---
title: "Alleviating Digitization Errors in Named Entity Recognition for"
description: "How Boros and colleagues improve named entity recognition in digitized historical newspapers by adding Transformer layers above BERT."
canonical: "https://research.elamur.ai/free/en/papers/boros-2020-alleviating-digitization-errors-named-entity/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/boros-2020-alleviating-digitization-errors-named-entity/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / Alleviating Digitization Errors in Named Entity Recognition for Historical Documents

# Alleviating Digitization Errors in Named Entity Recognition for Historical Documents

Paper · 2020 · Emanuela Boros, Ahmed Hamdi, Elvys Linhares Pontes et al.

**Authors:** [Emanuela Boros](https://md.research.elamur.ai/free/en/authors/emanuela-boros/), [Ahmed Hamdi](https://md.research.elamur.ai/free/en/authors/ahmed-hamdi/), Elvys Linhares Pontes, [Luis Adrián Cabrera-Diego](https://md.research.elamur.ai/free/en/authors/luis-adrian-cabrera-diego/), [Jose G. Moreno](https://md.research.elamur.ai/free/en/authors/jose-g-moreno/), Nicolas Sidere and [Antoine Doucet](https://md.research.elamur.ai/free/en/authors/antoine-doucet/) · **Year:** 2020 · **Venue:** Proceedings of the 24th Conference on Computational Natural Language Learning · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 24th Conference on Computational Natural Language Learning · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2020.conll-1.35/)
- [PDF](https://aclanthology.org/2020.conll-1.35.pdf)
- [DOI 10.18653/v1/2020.conll-1.35](https://doi.org/10.18653/v1/2020.conll-1.35)

## Summary

A newspaper archive can contain thousands of mentions of a person or place that are hard to find because the computer misread the print. A misplaced character can make a familiar name look unfamiliar. A misplaced space can divide a name into fragments. Historical spelling adds a different difficulty, since a form unfamiliar to a present-day reader may be faithful to the original. Boros and colleagues study how to recognize names under these conditions. Their task, [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/), involves identifying the boundaries of a mention in the text and assigning it a category such as person, place, or organization.

The authors start with a pretrained [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/) encoder or a language-specific equivalent. They put additional [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) blocks between that encoder and the component that chooses the final labels. The extra blocks give the system another opportunity to combine evidence from a damaged word and its surroundings. The authors also expand the tokenizer’s vocabulary to include unfamiliar forms and train the encoder and the added blocks on labeled examples. The output gives the location and category of each recognized mention in the digitized text. The architecture leaves the underlying transcription as it is.

On the test sets, the added blocks improve both exact-boundary and overlap-based F1 across the French and German portions of the HIPE and NewsEye historical newspaper collections. German NewsEye shows the largest gains among those comparisons. Its overlap-based F1 rises from 63.4 with BERT and the shared decoder to 73.5 with one added block. On French HIPE, exact-boundary F1 rises from 82.1 to 84.2 with one added block. A comparison on contemporary English CoNLL 2003 newswire also finds small gains over the corresponding encoders without extra blocks. The stronger historical setting varies with the corpus and the scoring rule.

The paper looks beyond the overall scores to ask where the improvement comes from. The systems with added blocks recover more complete long mentions on HIPE and produce fewer spurious predictions there. An analysis grouped by transcription similarity gives more mixed evidence, especially in German. The experiments establish that a shallow additional stack can help recover useful entity annotations from imperfect text. They leave open how much of the gain comes from handling OCR damage specifically, how much comes from learning more about entity boundaries, and how the balance would change in other collections.

## Deep dive: Alleviating Digitization Errors in Named Entity Recognition for Historical Documents

How Boros and colleagues improve named entity recognition in digitized historical newspapers by adding Transformer layers above BERT. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Names in the archive and names in the transcription

Historical newspapers are accessible to a text-processing system through a chain of transformations. An archive starts with a printed page, produces a digital image, and uses optical character recognition, or OCR, to turn the image into text. The text then becomes the input for tasks such as [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/). An entity recognizer operates at the end of that chain. Its immediate evidence is the characters the OCR software returned, the words those characters appear to form, and the context in which those words occur.

The authors distinguish several reasons that this evidence can be unreliable. The original paper may have deteriorated. The digital image may contain artifacts. The OCR software may confuse glyphs that are challenging even in a legible image. These problems can affect the words that make up a name and the surrounding words from which a recognizer would ordinarily infer that it is seeing a name. Damage to a contextual cue matters even when the name itself survives. Conversely, an imperfectly transcribed name can still be recognizable if nearby wording makes its role clear.

The problem also involves [historical language change](https://md.research.elamur.ai/free/en/topics/language-change/). A spelling that looks unexpected from the perspective of a contemporary vocabulary may have been normal for the newspaper and its time. Changes in spelling conventions can make multiple forms of a word valid in different contexts. A familiar form may also have had a different meaning in a different period. The paper invokes work on changes in meaning to explain why proximity to contemporary usage is an imperfect guide when processing older text. [Diachronic Word Embeddings Reveal Statistical Laws of Semantic Change](https://md.research.elamur.ai/free/en/papers/hamilton-2016-diachronic-word-embeddings-reveal-statistical/)

One consequence is that a historical corpus can bring several causes of unfamiliarity together. A rare form may reflect the period, a particular name, an OCR error, or a combination of them. A recognizer can exploit recurring patterns without assigning a cause to every unusual form. For the archive task, it can mark the observed span as a place or person even if uncertainty remains about individual characters. The authors test that narrower objective directly.

There are also different ways to make an entity error. A recognizer may miss a mention entirely, label an ordinary phrase as a name, assign the wrong category, or find some of the relevant text while leaving out part of the annotated span. A multiword place name can illustrate the last case. Finding the distinctive final word may give an archive searcher a useful lead. An extraction pipeline that stores the span as written still has reason to prefer the full annotation. The paper uses separate evaluation rules to preserve that distinction.

These choices also distinguish recognition from linking. Recognition identifies and classifies an occurrence in text. Linking is a further task that associates an occurrence with the real-world entity it refers to. The HIPE evaluation encouraged work on both, which helps explain why historical corpora can support several kinds of archive research. Boros and colleagues evaluate recognition and classification. In their experiments, two occurrences can be successfully tagged as places without the system ever having to decide whether they name the same place.

#### What contemporary tagging had made possible

The paper describes early end-to-end neural sequence taggers as combining word and character evidence. A word embedding is a numerical representation of a word, learned so that a downstream system can use it in making predictions. A representation learned from characters can supplement the word representation with evidence about spelling and shape. A convolutional network can find local character patterns. A bidirectional recurrent network can work through the surrounding words in both directions. The decoder then uses the label sequence as a whole when choosing the output. [Word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) · [End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF](https://md.research.elamur.ai/free/en/papers/ma-2016-end-end-sequence-labeling-bi/)

In the approach the paper takes as its conventional baseline, the pretrained word representation supplies the same starting vector whenever a particular word form occurs. The sequence network can still give different predictions in different contexts. The starting vector itself, however, has no information about the particular sentence. That distinction explains the attraction of pretrained contextual representations. When the representation has already incorporated nearby words, the tagger can begin its decision with evidence specific to the occurrence.

The authors describe ELMo, Flair, and BERT as part of this shift. Their discussion places the historical newspaper study in a field where contextual representations had already raised performance on contemporary data. BERT is especially relevant because its pretrained encoder can be adapted to a new task and because it uses pieces of words as input. For historical data, the open question was how much those strengths would help when visible cues had been altered by the transcription process. [Deep Contextualized Word Representations](https://md.research.elamur.ai/free/en/papers/peters-2018-deep-contextualized-word-representations/) · [Contextual String Embeddings for Sequence Labeling](https://md.research.elamur.ai/free/en/papers/akbik-2018-contextual-string-embeddings-sequence-labeling/)

The use of word pieces suggests a route around some spelling variation. If a form is unfamiliar as a whole, its components can still be familiar. The authors also draw attention to the reverse possibility. A few wrong characters may lead the tokenizer to divide the word differently, leaving it with a sequence of short fragments that has little in common with the segmentation of the clean form. The contextual encoder receives the altered pieces. Its ability to recognize the original linguistic role depends on how much evidence those pieces and the rest of the sentence still carry.

#### Earlier approaches to historical documents

Earlier studies cited in the paper found that digitization could substantially reduce recognition scores. Historical text research also had to build reference annotations against which systems could be evaluated. The authors mention a corpus of scanned Czech newspapers and a German dataset drawn from historical biodiversity literature. These resources illustrate why historical recognition had its own data problem. Contemporary newswire was useful as a source of training material and controlled comparisons, while labeled historical documents were needed to see how taggers handled the inputs an archive would actually supply. [BIOfid Dataset](https://md.research.elamur.ai/free/en/papers/ahmed-2019-biofid-dataset-publishing-german-gold/)

The historical taggers discussed in the paper made different decisions about where to introduce information about spelling and grammar. The Latin work used a conditional random field with handcrafted features. Part-of-speech information was attractive in that setting because Latin’s morphology carries cues useful to the tagging task. The Czech work used a character convolution within a bidirectional recurrent tagger to learn representations for variant spellings. That strategy moves some of the burden from manually defined features to the system’s treatment of the input characters. [Latin](https://md.research.elamur.ai/free/en/topics/latin/) · [Part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) · [Morphology](https://md.research.elamur.ai/free/en/concepts/morphology/)

Boros and colleagues similarly put the response to variation inside the recognizer. Their proposal is to take a contextual encoder and add more sentence-level processing before the output decisions. This makes the work a test of architecture as well as a report on a new set of historical annotations. HIPE gives them an existing shared-task resource. NewsEye gives them a separate newspaper collection in the same languages, with its own dates, sources, and entity inventory. The contemporary comparison then lets them observe how the same architectural change behaves where the historical and OCR conditions motivating it are absent.

### The method, step by step

#### From the newspaper text to an entity span

The proposed system starts with a transcription, so its work begins after image recognition. It consumes sentences from the transcription and returns labeled spans within them. The steps between those points transform the evidence in different ways. Preprocessing determines which text appears together. The tokenizer determines how the text is broken into units for the encoder. The encoder supplies contextual representations. The extra Transformer blocks update those representations before the decoder chooses the final sequence of labels.

From historical newspaper transcription to labeled entity spans The steps in order.

For HIPE, the source unit is an article. The researchers reconstruct its running text, including hyphenated words, then use [FreeLing](https://md.research.elamur.ai/free/en/papers/padro-2012-freeling-3-0-wider-multilinguality/) 4.1 to find sentence boundaries. They motivate the shorter input units by the encoder’s context limit of 512 tokens. They give the recurrent baseline the same segmentation. That keeps the comparison from giving either architecture access to a differently divided version of the HIPE text. For the stacked system, the authors group same-sized inputs into batches.

Reconstruction and segmentation affect what evidence remains available to the tagger. In the transcription of a newspaper column, a line break and its hyphen can intervene in a word that belongs together in running text. Recovering that text structure gives the recognizer a better-defined input unit. Sentence segmentation then introduces a boundary around the context each prediction can use. The added blocks can combine information within the resulting unit. Evidence in a different sentence lies outside that unit.

#### What the tokenizer gives the encoder

[Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) divides the input text into units the encoder can represent. In the original BERT procedure described by the authors, a whitespace pass comes before WordPiece, a form of [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/). If the vocabulary lacks a whole word, the tokenizer can represent it as a series of smaller units. Some pieces are marked as continuations, which tells the system that their role in segmentation differs from a piece at the beginning of a word. Sub-words are useful because many words can share a vocabulary of reusable fragments.

The character errors discussed in the paper show why this flexibility has limits. The insertion in `practicaally` leaves much of the spelling of `practically` visible. The paper uses this pair to illustrate how an inserted character can sometimes leave the sub-word analysis mostly intact. A substitution or deletion can remove a piece the tokenizer would normally recognize. In `pr9fessi9nalism`, the substituted digits interrupt the familiar spelling of `professionalism` in separate places. The resulting segmentation includes isolated digits and short fragments. A recognizer has textual evidence to work with, but some pieces are poorer clues to the intended word.

This explains the difference between a tokenizer being able to emit a segmentation and the resulting segmentation being informative. A sequence of fragments can encode the observed text while giving the encoder little evidence for the original lexical identity. It can also introduce fragments that are individually frequent in other contexts and irrelevant to this one. The authors expect that the rest of the sentence can help compensate. Their architectural proposal gives this remaining sentence evidence an additional stage of processing.

The authors also expand the tokenizer vocabulary with unfamiliar tokens. A vocabulary entry gives the system a distinct representation for a form that the pretrained vocabulary did not already cover in the desired way. For the added entries, the representation must be learned during training. The authors allow both the underlying encoder and the additional blocks to adapt to these forms. A learned representation for a recurring unusual form and contextual inference for a fragmented form are related sources of evidence. The reported architecture uses both.

The French system uses [CamemBERT](https://md.research.elamur.ai/free/en/papers/martin-2019-camembert-tasty-french-language-model/), whose preprocessing differs from that of the original BERT. It uses [SentencePiece](https://md.research.elamur.ai/free/en/papers/kudo-2018-sentencepiece-simple-language-independent-subword/) for segmentation. Its pretraining uses whole-word masking, meaning that the masking during pretraining applies to the word as a unit. Consequently, the French experiments test the proposal in a system with different segmentation and pretraining choices from the original BERT. The contrast between French and German results incorporates those differences along with the differences between their corpora.

#### Why stack attention above the encoder

A pretrained encoder produces an ordered series of contextual representations. A representation can contain information about the unit at its own position and about evidence elsewhere in the sentence. Adding Transformer blocks gives the recognizer further opportunities to update each position through its relationship to the others. In the authors’ account, additional processing may help the recognizer find informative words around an entity when the direct evidence in the entity’s spelling is weak.

Multi-head self-attention is central to this stage. Self-attention updates positions using information from the same input sequence. Multiple heads can learn different patterns of interaction among positions. The rest of the block includes a feed-forward operation applied at each position. The attention operation mixes information across the sentence, and the position-wise operation transforms the resulting features. The two operations each have a residual connection and are followed by layer normalization. A residual connection carries the incoming representation forward along with its update. Normalization regulates the scale of the features passed onward.

The architecture needs information about order as well. The original Transformer described in the paper uses sinusoidal position representations. Boros and colleagues choose learned absolute position embeddings for the added blocks. An absolute position embedding supplies a representation associated with a position in the input sequence, and the system learns the values of those embeddings during training. The paper presents their use as an implementation choice and refers to earlier work for the broader architectural design. [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/) · [Convolutional Sequence to Sequence Learning](https://md.research.elamur.ai/free/en/papers/gehring-2017-convolutional-sequence-sequence-learning/)

There are two reasons this processing might matter to an entity recognizer. First, part of a damaged name may still be informative if it is read in conjunction with the surrounding phrase. Second, choosing where a name ends can require evidence from several positions, including words that might be labeled as ordinary context in a different sentence. A deeper representation could help with either case. The architecture changes the capacity available for the tagging task, so the subsequent analyses must establish what sorts of errors actually become less frequent.

#### The architecture and its settings

The authors summarize their architecture with the following notation.

```
BERT + n × Transf
```

`BERT` is the pretrained contextual encoder, including the language-specific equivalent where used. `Transf` is an added Transformer block. `n` is the number of such blocks. The `×` sign means that the block is repeated that many times, and the `+` sign means the resulting stack is attached above the encoder. It describes the order of the components in the network. The conditional random field decoder follows the stack and is shared by the compared systems, so the architectural shorthand leaves it implicit.

```
n ∈ {0, 1, 2}
```

Here `n` still counts the added blocks. The membership symbol `∈` says that its value is selected from the enclosed set. The braces contain the reported depths. With `0`, the encoder’s output goes to the decoder without an added Transformer block. With `1` or `2`, it passes through the corresponding stack before decoding. The paper reports that depths `> 2` yielded weaker results and showed a tendency to overfit. In that expression, `>` means greater than, and `2` is the last depth included in the tabulated comparison.

The pretrained starting point depends on the language. The German experiments use `bert-base-german-europeana`, pretrained on a newspaper collection from the Europeana Library. For French, `camembert-large` supplies the initial encoder weights, learned on a large French corpus. For contemporary English, both `bert-base-cased` and `bert-large-cased` are tested. The German selection is especially pertinent to the historical question. Its starting representation has already been exposed to newspaper material, so the study can ask whether extra blocks still contribute when the pretrained encoder has preparation relevant to the target genre.

The paper uses `L` for the number of Transformer blocks, `H` for hidden size, and `A` for the number of self-attention heads. The hidden size describes the dimension of a layer’s internal representation. For `bert-base-cased`, the listed settings are `L=12`, `H=768`, and `A=12`. For `bert-large-cased` and `camembert-large`, they are `L=24`, `H=1024`, and `A=16`. For the added stack, the paper reports `L=1` or `L=2`, with `H=128` and `A=12` in both cases. The authors chose the added settings empirically. The dimension 512 mentioned in the description of the Transformer refers to the architecture being discussed there, while the paper separately reports the historical tagging stack’s settings.

The final component is a conditional random field, or CRF. It chooses the label sequence using both the scores at individual positions and the compatibility of neighboring labels. In an entity task, that matters because a decision about a word’s category can depend on whether the previous word is part of the same mention. The decoder supplies a way to make those decisions together. Every system in the main result tables uses a CRF. Thus the comparison of encoder depths asks whether altered representations help when the same kind of decoder is used.

#### Adapting the weights to the task

The authors use [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/). Training starts with the pretrained encoder’s weights and updates them on the recognition task. The added layers are trained for the task as well. This lets the pretrained representation adapt to the target annotations and to the new components that consume it. It also lets the architecture learn with the expanded vocabulary. During evaluation, the labels come from the resulting trained system.

The reported learning rate is 2 × 10⁻⁵. The learning rate controls the size of the updates during training. Each training update groups inputs into mini-batches of four for German and English and two for French. The authors report selecting these settings because convergence on the development data was more stable and consistent. The development split is used to assess training choices. The results used for the main comparisons come from the separate test splits.

The recurrent baseline gives the authors a different route to robustness. Its word representations start from pretrained FastText embeddings, and a character convolution learns features of word shape and morphology. A bidirectional long short-term memory network incorporates context on either side. As in the BERT-based system, a CRF emits the final labels. The character component gives this baseline a way to represent unfamiliar and misspelled forms, making it a substantive comparison for a problem that originates partly at the character level. [Learning Word Vectors for 157 Languages](https://md.research.elamur.ai/free/en/papers/grave-2018-learning-word-vectors-157-languages/)

For a further baseline, the authors train the recurrent tagger on a larger contemporary labeled dataset before adapting it to the historical target. French uses fr-WikiNER, extracted from Wikipedia. The paper describes it as having about 500k tokens with around 31k named entities. German uses de-GermEval, drawn from German Wikipedia and news collections. It contains over 31k sentences and over 590k tokens, with around 33k named entities, as reported. The transfer experiment asks how much this additional supervision can help the character-aware baseline. Its source training is consequently different from using the pretrained contextual encoders, even though both procedures carry learned weights into the historical task.

### Experiments and results

#### The historical collections and the contemporary comparison

HIPE includes articles from historical newspapers. Its German subset covers 1790 to 1940, and its French subset covers 1790 to 2010. The articles belong to a larger collection that the paper describes as drawn from Swiss, Luxembourgish, and American newspapers. Native speakers annotated the corpus using instructions derived from the Quaero guide. The coarse entity types tabulated in the paper are location, organization, person, product, and time. The experiments in this study use the French and German subsets.

The NewsEye corpus draws on holdings of the national libraries of France and Austria. The French newspaper material covers 1814-1944, and the German material covers 1845-1945. Native speakers annotated each language using Transkribus and a set of instructions likewise derived from Quaero. The NewsEye instructions omit the time category and several entity subtypes. This shared origin makes the annotation schemes related, while the inventory available for prediction still varies between the two corpora.

The authors report double annotation for several pages in each NewsEye language. They use Cohen’s kappa to quantify agreement between annotation groups with allowance for chance agreement. The reported values are 0.90 for French and 0.91 for German. These scores describe agreement on the pages annotated by both groups. The corpus allocates 80% to training and 20% jointly to validation and testing. Reporting the group of pages used to measure agreement separately from the train and test splits helps distinguish annotation consistency from prediction performance on unseen material.

CoNLL 2003 supplies the contemporary case. It consists of English Reuters newswire, with standard training, development, and test splits. Its categories are location, organization, person, and miscellaneous. The comparison asks whether adding Transformer blocks retains competitive performance in an established contemporary recognition setting. It also offers a way to see whether additional depth can improve tagging when misspellings from historical digitization are absent. [CoNLL-2003 Shared Task](https://md.research.elamur.ai/free/en/papers/sang-2003-introduction-conll-2003-shared-task/)

Performance should be compared within a column of the experimental design, with the corpus, language, and scoring rule held fixed. Different inventories and annotation practices can make one test set more difficult than another. The collection dates also differ, as do the sources and the distribution of names. A lower score on one corpus shows that the tested system performed less well under that corpus’s conditions. It cannot by itself identify the reason.

#### What the scores count

The main evaluation counts entities. Precision asks what share of the predicted entities qualify as correct. Recall asks what share of the reference entities are successfully recovered. F1 combines those measures so that both matter. A system that predicts only very familiar names may achieve good precision while missing many reference entities. A system that labels many uncertain stretches as names can find more reference mentions at the cost of more false detections. Reporting the two quantities alongside F1 shows which pattern lies behind a change in the combined score. [Evaluation & benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/)

The main tables use micro scores. This means the calculation pools decisions over documents, allowing frequent entity types to contribute more cases to the totals. A high micro score can therefore coexist with weaker performance on an infrequent category. The paper uses macro-fuzzy F1 in its later discussion to examine the difference between a pooled result and a result that gives entity categories comparable influence. The distinction is relevant to historical data when personal and place names account for much of the available evidence.

The matching condition is the other important choice. In micro-strict scoring, the predicted span must match the reference boundaries exactly. In micro-fuzzy scoring, an overlap of at least one token is enough for the boundary match. The task includes classification as well as finding the span. Fuzzy scoring gives the recognizer credit for finding the right part of a sentence even if it gives the mention too short or too long a span. Strict scoring requires the output to be ready for a use that depends on the whole annotated mention.

The paper reports a two-tailed t-test. Its historical results table marks comparisons against the recurrent baseline at `p ≤ 0.05` and `p ≤ 0.01`. Here `p` denotes the p-value and `≤` means less than or equal to the stated threshold. Those markers and the differences among the F1 scores answer different questions. In particular, the marked reference system is the recurrent baseline. A comparison between BERT and its deeper variants can be read directly as a test-set score comparison, with the scope of the reported significance indicators kept in view.

#### Historical test results

German NewsEye is the clearest case of a substantial improvement over the encoder and decoder alone. Its overlap-based test F1 is 55.7 for the recurrent baseline and 60.0 with contemporary transfer. BERT with the CRF reaches 63.4. With an added block the score reaches 73.5, while the deeper stacked setting reaches 72.6. Under exact boundaries, the corresponding BERT test scores are 49.4, 56.0, and 56.6. The system that best recovers the vicinity of mentions and the system that best recovers complete spans are therefore different settings within this corpus.

German NewsEye test systems compared by micro-fuzzy F1 The single added Transformer block leads the comparison.

**The numbers**

| System or setting | F1 |
| --- | --- |
| BiLSTM-CNN | 55.7 |
| BiLSTM-CNN with contemporary transfer | 60.0 |
| BERT with CRF | 63.4 |
| BERT with one added Transformer block (this paper) | 73.5 |
| BERT with two added Transformer blocks | 72.6 |

The precision and recall columns make that result more informative. On German NewsEye under fuzzy scoring, the recurrent baseline has precision of 81.2 and recall of 42.4. It tends towards a relatively small set of predicted entities, many of which qualify as correct. The encoder with the CRF has precision of 60.1 and recall of 67.0, a different balance. With one added block, precision is 82.3 and recall is 66.4. This means the gain over BERT in this setting is associated with a marked increase in precision while recall stays close to the unstacked score. The extra processing changes which candidates survive to the output.

French NewsEye has a different starting point. The recurrent baseline’s test F1 is 79.6 with overlap and 63.4 with exact boundaries. Contemporary transfer gives 80.6 and 64.5 under the same rules. BERT reaches 83.9 for overlap and 68.3 for exact matches. One added block gives the strongest reported test F1 for both rules, at 85.3 and 71.5. With two added blocks, the scores are 84.7 and 70.8. The higher starting scores and different precision-recall behavior show why German NewsEye’s response cannot stand in for the whole corpus.

On German HIPE, the recurrent baseline yields overlap-based test F1 of 76.1 and exact-boundary F1 of 63.4. Its transfer version reaches 77.9 and 64.7. BERT with the CRF improves the test scores to 85.8 and 76.2. One extra Transformer block brings the scores to 86.5 and 77.9. The setting with two added blocks has the highest test F1 under both rules, at 87.1 with overlap and 78.7 with exact boundaries. For that setting, exact-boundary precision is 78.6 and recall is 78.7. The near agreement of those two figures contrasts with the asymmetries seen in German NewsEye.

French HIPE follows the pattern of French NewsEye in favoring the shallower stack. Under the fuzzy rule, the conventional baseline has test F1 of 86.8, the transferred baseline reaches 88.3, and BERT reaches 90.7. One added block reaches 92.1. With two added blocks the score is 91.9. The strict result likewise favors one block, and both stacked systems improve on the encoder and CRF alone. This is a useful cell of the comparison because high overlap scores already show that many entities are being located. The strict improvement gives evidence that the extra representations help with the finished span as well.

French HIPE test systems compared by micro-strict F1 Both stacked settings improve exact-span recognition over the encoder and decoder alone.

**The numbers**

| System or setting | F1 |
| --- | --- |
| BiLSTM-CNN | 75.0 |
| BiLSTM-CNN with contemporary transfer | 77.7 |
| BERT with CRF | 82.1 |
| BERT with one added Transformer block (this paper) | 84.2 |
| BERT with two added Transformer blocks | 83.8 |

The French HIPE precision and recall values clarify what the strict gain looks like. The unstacked BERT system has exact-boundary precision of 81.1 and recall of 83.3. With one block they are 83.5 and 84.9. Thus the higher F1 in this setting accompanies improvement on both sides. German NewsEye under fuzzy scoring is a gain with a much stronger contribution from the precision side. Across the historical test sets, the consistent result is the improvement in F1 from stacking. The route to that improvement depends on which predictions are already strong and which errors dominate the starting system.

#### Contemporary English test results

On CoNLL 2003, the paper compares the recurrent baseline without contemporary transfer against both English encoder sizes and their stacked versions. The recurrent approach obtains test F1 of 90.4 with fuzzy matching and 88.5 with strict matching. The `bert-base-cased` encoder with a CRF reaches 92.3 and 90.9. With one added block its F1 scores are 92.8 and 91.4, while with two blocks they are 92.6 and 91.2. The shallower stack performs slightly better for this encoder on both rules.

For `bert-large-cased`, the corresponding test F1 without added blocks is 92.9 under fuzzy matching and 91.6 under strict matching. Each stacked variant reaches 93.1 and 91.8. The equal F1 scores still permit differences in precision and recall, and the table provides those components. The central result for the contemporary check is that both sizes retain or improve their respective F1 levels under the added processing.

The contemporary results serve two roles in interpreting the historical scores. They show that the alteration can be used with a strong starting encoder on another task condition within named entity recognition. They also show that improvements can occur on ordinary contemporary text. That matters for the explanation of the historical gains. Added depth may help make span decisions in general, and the larger gains on some historical sets may reflect where that capacity has more room to help. The contemporary results alone leave the relative importance of OCR and other corpus differences unresolved.

### What the ablations show

#### Depth changes the result, and the best depth depends on the test

The main ablation removes or varies the extra Transformer blocks. The comparison keeps the pretrained encoder family appropriate to the language and uses the same kind of sequence decoder. It tests a concrete question. After a strong pretrained encoder has provided contextual representations, do task-trained Transformer blocks add anything useful before decoding? Across the historical F1 comparisons, the answer is yes. The benefit is apparent under both the overlap rule and the exact-boundary rule.

The comparison between the added depths is more conditional. The French historical test sets favor one added block under both scoring rules. German HIPE favors two. German NewsEye favors one for fuzzy matching and two for strict matching. The strongest setting therefore depends partly on how a correct detection is defined. Someone interested in finding approximately where mentions occur would favor the fuzzy result, while someone extracting complete text spans would care more about the strict comparison.

The paper also says that stacks deeper than the reported configurations performed worse and tended to overfit. Overfitting occurs when training fits the available examples in ways that carry over poorly to held-out data. The authors do not tabulate the deeper runs. The evidence supports a shallow extension for these experiments, with the comparative results available for the specified depths. It gives less information about exactly where performance starts falling or how that point would change with more historical training data.

There is an architectural subtlety in the interpretation. The removal comparison changes the layers that process the encoder’s output and the amount of trainable capacity available for the task. Consequently, it supports the value of the added block as a whole. It supplies weaker evidence about which operation inside the block does the work. The separate discussion of spelling damage, entity length, and spurious predictions helps narrow the plausible explanations by examining the outputs the architecture changes.

#### What contemporary transfer does for the recurrent baseline

The recurrent system is compared with and without preliminary supervised training on more contemporary material. This ablation asks whether the word and character features in that architecture benefit from additional labeled examples before exposure to the historical task. The historical table reports higher F1 after transfer in the displayed comparisons. There are also changes in the individual precision and recall values that matter for understanding the gain.

On German NewsEye, for example, the transferred recurrent tagger’s fuzzy precision is 76.4 and its fuzzy recall is 49.4. The version trained directly on the historical data has precision of 81.2 and recall of 42.4. The transfer setting finds more gold mentions under overlap matching while the share of its predictions that match falls. On French HIPE, the transferred recurrent baseline has fuzzy precision of 87.8 and recall of 88.8. The direct baseline has precision of 89.9 and recall of 83.9. These examples show how extra labeled data can broaden the set of historical mentions the recurrent system discovers while changing the mix of correct and spurious output.

The transferred baseline remains below the stacked systems in the historical F1 results. This matters because the recurrent comparison has both a character encoder and a way to learn from more labeled data. Its results make it harder to explain the entire forward step as a consequence of comparing a well-prepared encoder with a tagger that has never seen additional material. The experiment still compares different architectures and forms of source training. It measures the historical performance of those specific systems.

#### Unfamiliar vocabulary and transcription damage

The authors compare the share of vocabulary words for which token representations had to be learned during training. German NewsEye has a reported share of 8.84%, while German HIPE has 0.14%. These percentages describe the vocabulary under the pretrained encoder and the authors’ expansion procedure. They are counts of unfamiliarity to that setup. A type can fall in that category because it is an unusual name, an older spelling, a transcription problem, or another form missing from the starting vocabulary.

The German NewsEye vocabulary observation is striking alongside the recognition results. That collection has a large fuzzy F1 gain from the added blocks and a particularly high share of words requiring newly trained representations. The authors suggest the two observations may be connected. The idea is that where the initial representations are least prepared for the input, additional interactions among positions may contribute more information. German HIPE supplies a case where fewer vocabulary forms needed such treatment and the gain is smaller. This is a comparison across corpora, so other differences between them remain possible contributors.

HIPE gives the authors a more direct way to examine the transcription. Its annotations include a Levenshtein Ratio comparing the transcription of an entity with its reference form. Levenshtein-based comparison concerns the character edits required to make one string match another. Grouping mentions by that comparison gives a view of recognition across levels of transcription similarity. It connects a property of the text to the number of correctly predicted entities, while leaving the system’s input and the overall experimental setup unchanged.

On French HIPE, the paper reports more correct predictions for the stacked systems at 56.25% of the distinct distance values examined. For German HIPE, it reports that advantage in 18.75% of the cases in the corresponding comparison. These percentages summarize where the charts of correct predictions favor the stacked systems. The French statistic in particular concerns distance values and should be kept separate from a percentage of all damaged entities. Distance groups can contain very different numbers of mentions.

The French passage in the qualitative comparison illustrates how an entity with a visibly corrupted surface form can be recovered by either added-depth setting while the unstacked system misses it. This kind of example links the recognition result to the problem the paper sets out to solve. The aggregate German comparison across distances is more restrained. Improvements in the overall German score have room to come from decisions about a range of mentions, including assigning complete boundaries and avoiding false detections. The distance analysis gives direct evidence about some corrupted cases and a check against extending a successful case to every degree of damage.

#### Long mentions and their boundaries

The analysis by length asks whether the systems can finish an entity once they have found its most recognizable part. A multiword mention can include a common noun, a preposition, a title, an abbreviation, or punctuation. Some of those pieces have weak evidence for being part of an entity in isolation. Context helps determine whether they belong to the same annotated span. This is a different demand from recognizing a single distinctive surname or place name.

On French HIPE, the paper reports 170 entities of at least five tokens. The unstacked BERT system correctly identifies 70% of that group, and each stacked setting identifies 72.94%. The French length analysis also separates mentions with more than 10 tokens. For these, BERT detects 55.54%, one added block detects 57.13%, and two added blocks detect 82.52%. For the French entities sized 1 to 10, the paper reports average detection of 75.04% for BERT and describes the stacked systems as performing slightly better. The benefit of the deeper stack is particularly visible in the longest French group.

French HIPE recognition of entities longer than 10 tokens The deeper stack recovers the largest share of the longest French mentions.

**The numbers**

| System or setting | correct detections % |
| --- | --- |
| BERT with CRF | 55.54 |
| BERT with one added Transformer block | 57.13 |
| BERT with two added Transformer blocks (this paper) | 82.52 |

The authors report 97 German HIPE entities in their group longer than five tokens. BERT identifies 50.51% of that group. One extra block gets 55.67%, and two get 54.63%. The stacked systems again have an advantage on the long mentions, but the German grouping favors the shallower stack. That outcome also shows how an analysis of difficult examples can give a different ranking from overall F1. German HIPE’s overall test scores favor two blocks, while one is stronger for the reported length group.

Individual spans help explain what those percentages represent. In one French example, the unstacked system predicts the place name `Gumbinnen`. The stacked system extends the prediction to the district phrase containing the name, matching the annotated boundaries described in the paper. In another example, the shorter prediction ends after `New York`, while the full annotation includes material that follows it. In both cases the unstacked prediction has useful evidence of the mention’s location. The longer output turns that evidence into a closer match to the annotation.

The authors suggest that added attention blocks can give the system more capacity to use longer-range context. The long-entity analysis supports the observation that the architecture is better at some spans whose decisions involve several positions. It does not measure how far the predictive context reaches or identify the attention connections that cause a particular boundary decision. A system can improve at long entities by learning more regular local boundary cues as well as by combining evidence over a longer interval.

#### False positives and frequent categories

The paper inspects another kind of failure on German HIPE. The example sentence contains recognizable place mentions and noisier surrounding text. The unstacked system emits multiple extra spans, including a prediction on `Zusammenziehung`, which has no corresponding gold entity. The discussion notes that many extra predictions are people or locations, categories that occur frequently in the corpus. A tagger has abundant examples of these categories during training, which can make them likely choices when the evidence for a new span is uncertain.

To examine this behavior systematically, the authors count predictions with no full or partial counterpart in the gold annotations. They compare these spurious cases with micro-fuzzy and macro-fuzzy F1 on HIPE, for each language. The micro score reflects the mix of entity mentions actually present in the corpus. The macro view puts more weight on performance across the range of categories. The authors read the difference between the scores as evidence that the frequent categories have a strong influence on the main result.

The unstacked encoder produces more spurious cases in this analysis than the stacked systems. The authors interpret this as a shift towards more conservative predictions with the added blocks. The count supports that account for the HIPE comparison. It is also compatible with recovering longer correct spans. A system can become more selective about whether to start a new mention while becoming better at carrying an existing mention through to its proper boundary. Precision and completeness can improve together when the changes concern different decisions in the sequence.

Seen together, the diagnostics identify several ways the output changes. More complete long spans can improve strict scores. Fewer unsupported predictions can improve precision. Some corrupted mentions become recognizable, especially in the French examples and distance analysis. The relative weight of these effects varies by language, corpus, and scoring rule. The paper’s strongest explanation for its results comes from the fit between those observed outputs and the quantitative comparisons, with claims about the internal behavior of attention remaining interpretive.

### Limitations

#### Limits the authors identify

The authors describe the architecture as promising for historical newspaper recognition and say that their analysis leaves several contributing factors to investigate. They plan a more detailed examination of architectural variations. The reported depth ablation is useful because it directly removes the added blocks, but the stack contains several interacting choices. Its width, attention settings, learned positions, and relationship to the pretrained encoder could all be varied. The paper supplies the selected configuration and the score comparisons that support it.

The authors also propose generating additional training examples by adding noise to digitally born documents. This is a future direction in the paper. Simulated digitization errors could expand the variety of labeled forms available to a recognizer, particularly where authentic historical annotations are scarce. The experiments reported here use the historical resources and transfer procedures described above. They supply no measured benefit from simulated noise or comparison between artificial and real transcription errors.

The analysis of edit similarity is restricted to HIPE, the collection for which the relevant entity comparison was annotated. The paper’s largest fuzzy F1 improvement occurs in German NewsEye. Its discussion can relate that result to the share of vocabulary needing new representations, but the matched evidence about reference and OCR spellings comes from a different collection. The authors’ suggestion that unknown forms help explain the NewsEye gain should therefore be read as a plausible explanation to test.

The paper also reports the overfitting tendency at greater depth without publishing a full comparison for those configurations. That leaves the observed preference for shallow stacks tied to the sizes and conditions of these experiments. More layers could behave differently with another encoder or amount of training data. The authors’ plans to explore further architectural variants reflect this open question.

#### Limits visible in the experimental setup

Historical date and digitization noise vary together in the main comparison. The contemporary control changes language, source, tag inventory, and document condition at once. The historical corpora differ from one another in sources, collection periods, and annotations. This design establishes that the proposal works across the particular combinations tested. Isolating digitization damage as a cause would require comparisons that hold those other properties fixed while varying the quality of the transcription.

The French and German starting encoders add another source of variation. German begins with a newspaper-pretrained encoder, while French begins with CamemBERT, which has its own vocabulary, segmentation, and pretraining procedure. Language differences in recognition scores can thus reflect the corpora and the chosen encoders as well as the languages themselves. The results support language-specific configurations, with limited evidence for a direct causal account of why the gain differs across languages.

Vocabulary expansion further complicates a mechanistic explanation. The architecture descriptions and comparisons show what happens when the authors train the systems under their chosen setup. They provide no separate comparison measuring vocabulary expansion alone, or testing it against the added-block intervention as an independent factor. The role of the extra stack is demonstrated by the depth comparison. The individual contribution of newly added vocabulary entries remains unquantified.

The statistical reporting has a narrower scope than a statement of significance for every architectural comparison would suggest. The table notes identify the recurrent tagger as the reference for their markers. Higher values for the stacks against BERT establish the ordering of the reported test scores. Establishing significance specifically for adding blocks to BERT would require a test reported with that pair as its reference. The same caution applies when using the modern results to interpret very small score changes.

The entity analyses also have a defined scope. The French and German length statistics refer to the groups the paper describes, and the detailed longest-mention chart concerns French HIPE. A change in that French group can be substantial while the overall effect of the same depth is smaller, because long mentions are only part of the test set. The macro comparison points to the influence of frequent entity types, but it does not supply a detailed breakdown of how every rare type responds to added layers. The paper’s results are strongest at the level of the evaluated corpora and the diagnostic groups it reports.

Finally, the goal is useful entity annotation within imperfect transcriptions. A successful prediction can preserve a corrupted spelling. A successful fuzzy prediction can leave part of the annotated phrase out. A strict prediction establishes the right span and category under the reference scheme. Correcting names, linking them to distinct historical people or places, and recovering documents by those linked identities are further tasks with their own measures of success. The experiments directly address the recognition step on digitized newspapers and the contemporary newswire check.

### What came after

The later citing work encompasses several points in the passage from a historical image to usable entity information. The titles identify work on weak supervision for recognition, evaluation at inference when references are unavailable, and a new manuscript dataset for transcription. They establish the questions taken up in those studies. The citations alone leave reuse of the added Transformer blocks, the historical datasets, or the evaluation protocol unspecified.

[Weakly Supervised Named Entity Recognition for Historical Texts](https://md.research.elamur.ai/free/en/papers/sorbi-2026-weakly-supervised-named-entity-recognition/) focuses on how recognition can be trained with weaker supervision. Boros and colleagues train on manually annotated newspaper data, and they use additional modern annotations in the transfer baseline. The later study’s stated focus moves attention to the source of training signals for historical recognition. The relationship is clearest at the level of the problem: approaches to representing difficult text still need a means of learning which portions of that text to label as entities.

[Reference-free Evaluation at Inference for NER/NEL over OCRed Historical Texts](https://md.research.elamur.ai/free/en/papers/nguyen-2026-reference-free-evaluation-inference-ner/) addresses the assessment of recognition and linking on historical OCR at inference. Boros and colleagues can calculate precision and recall because the experimental documents have reference annotations. The later study takes up the case where a reference is unavailable at the point of assessment and extends the stated scope to linking. The connection is to the problem of measuring performance on OCR-derived entities, including circumstances in which the benchmark procedure used by Boros and colleagues cannot be applied directly.

[A Dataset of Wolof Ajami Manuscripts for HTR and OCR](https://md.research.elamur.ai/free/en/papers/yousuf-2026-dataset-wolof-ajami-manuscripts-htr/) concerns the upstream stage that produces a transcription. HTR stands for handwritten text recognition. The study’s named resource is a collection of Wolof Ajami manuscripts for work on HTR and OCR. Its connection to the newspaper experiments is through the role of digitization in determining what evidence reaches later text-processing stages. It brings a different collection and document form into that research area. The dataset title establishes a transcription contribution, with any downstream evaluation of entity recognition remaining unspecified.

## Cite

Cite as Emanuela Boros, Ahmed Hamdi, Elvys Linhares Pontes, Luis Adrián Cabrera-Diego, Jose G. Moreno, Nicolas Sidere and Antoine Doucet. 2020. Alleviating Digitization Errors in Named Entity Recognition for Historical Documents. Proceedings of the 24th Conference on Computational Natural Language Learning.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2020.conll-1.35](https://doi.org/10.18653/v1/2020.conll-1.35)

```bibtex
@inproceedings{boros2020alleviating,
  title = {{Alleviating Digitization Errors in Named Entity Recognition for Historical Documents}},
  author = {Emanuela Boros, Ahmed Hamdi, Elvys Linhares Pontes, Luis Adrián Cabrera-Diego, Jose G. Moreno, Nicolas Sidere and Antoine Doucet},
  booktitle = {Proceedings of the 24th Conference on Computational Natural Language Learning},
  year = {2020},
  doi = {10.18653/v1/2020.conll-1.35},
  url = {https://doi.org/10.18653/v1/2020.conll-1.35}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
