Large Language Models for Simultaneous Named Entity Extraction and Spelling Correction

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Whittaker, Edward, Kitagishi, Ikuo
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914698238099456
author Whittaker, Edward
Kitagishi, Ikuo
author_facet Whittaker, Edward
Kitagishi, Ikuo
contents Language Models (LMs) such as BERT, have been shown to perform well on the task of identifying Named Entities (NE) in text. A BERT LM is typically used as a classifier to classify individual tokens in the input text, or to classify spans of tokens, as belonging to one of a set of possible NE categories. In this paper, we hypothesise that decoder-only Large Language Models (LLMs) can also be used generatively to extract both the NE, as well as potentially recover the correct surface form of the NE, where any spelling errors that were present in the input text get automatically corrected. We fine-tune two BERT LMs as baselines, as well as eight open-source LLMs, on the task of producing NEs from text that was obtained by applying Optical Character Recognition (OCR) to images of Japanese shop receipts; in this work, we do not attempt to find or evaluate the location of NEs in the text. We show that the best fine-tuned LLM performs as well as, or slightly better than, the best fine-tuned BERT LM, although the differences are not significant. However, the best LLM is also shown to correct OCR errors in some cases, as initially hypothesised.
format Preprint
id arxiv_https___arxiv_org_abs_2403_00528
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models for Simultaneous Named Entity Extraction and Spelling Correction
Whittaker, Edward
Kitagishi, Ikuo
Computation and Language
Computer Vision and Pattern Recognition
H.3.3; H.3.4; I.2.7; I.7.1; I.7.5
Language Models (LMs) such as BERT, have been shown to perform well on the task of identifying Named Entities (NE) in text. A BERT LM is typically used as a classifier to classify individual tokens in the input text, or to classify spans of tokens, as belonging to one of a set of possible NE categories. In this paper, we hypothesise that decoder-only Large Language Models (LLMs) can also be used generatively to extract both the NE, as well as potentially recover the correct surface form of the NE, where any spelling errors that were present in the input text get automatically corrected. We fine-tune two BERT LMs as baselines, as well as eight open-source LLMs, on the task of producing NEs from text that was obtained by applying Optical Character Recognition (OCR) to images of Japanese shop receipts; in this work, we do not attempt to find or evaluate the location of NEs in the text. We show that the best fine-tuned LLM performs as well as, or slightly better than, the best fine-tuned BERT LM, although the differences are not significant. However, the best LLM is also shown to correct OCR errors in some cases, as initially hypothesised.
title Large Language Models for Simultaneous Named Entity Extraction and Spelling Correction
topic Computation and Language
Computer Vision and Pattern Recognition
H.3.3; H.3.4; I.2.7; I.7.1; I.7.5
url https://arxiv.org/abs/2403.00528