SOTAVerified

Investigating OCR-Sensitive Neurons to Improve Entity Recognition in Historical Documents

2024-09-25Code Available0· sign in to hype

Emanuela Boros, Maud Ehrmann

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

This paper investigates the presence of OCR-sensitive neurons within the Transformer architecture and their influence on named entity recognition (NER) performance on historical documents. By analysing neuron activation patterns in response to clean and noisy text inputs, we identify and then neutralise OCR-sensitive neurons to improve model performance. Based on two open access large language models (Llama2 and Mistral), experiments demonstrate the existence of OCR-sensitive regions and show improvements in NER performance on historical newspapers and classical commentaries, highlighting the potential of targeted neuron modulation to improve models' performance on noisy text.

Tasks

Reproductions