Investigating OCR-Sensitive Neurons to Improve Entity Recognition in Historical Documents
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.
- Publication:
-
arXiv e-prints
- Pub Date:
- September 2024
- DOI:
- 10.48550/arXiv.2409.16934
- arXiv:
- arXiv:2409.16934
- Bibcode:
- 2024arXiv240916934B
- Keywords:
-
- Computer Science - Computation and Language;
- Computer Science - Artificial Intelligence