arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.00528cs.CLcs.CV

用于同时进行命名实体抽取和拼写纠正的大语言模型

Large Language Models for Simultaneous Named Entity Extraction and Spelling Correction

Best Path Research Inc.(最佳路径研究公司);Money Forward Inc.(Money Forward公司)

Edward Whittaker, Ikuo Kitagishi

AI总结:

本文研究在 OCR 日本店铺收据文本上同时抽取命名实体并纠正拼写错误,微调八个开源 LLM 与两个 BERT 基线,发现最佳 LLM 性能相当且可纠正部分 OCR 错误。

摘要:

诸如 BERT 之类的语言模型(LM)已被证明在识别文本中的命名实体(NE)任务上表现良好。BERT LM 通常用作分类器,对输入文本中的各个 token 进行分类,或对 token 跨度进行分类,将其归入一组可能的 NE 类别之一。在本文中,我们假设仅解码器的大语言模型(LLM)也可以以生成方式使用,既抽取 NE,又有可能恢复 NE 的正确表层形式,从而自动纠正输入文本中存在的任何拼写错误。我们在通过对日本店铺收据图像应用光学字符识别(OCR)获得的文本上,微调了两个 BERT LM 作为基线,以及八个开源 LLM,任务是从文本中生成 NE;在本工作中,我们不尝试寻找或评估 NE 在文本中的位置。我们表明,最佳的微调 LLM 表现与最佳的微调 BERT LM 相当,或略好一些,尽管差异并不显著。然而,正如最初假设的那样,最佳 LLM 还被证明在某些情况下能够纠正 OCR 错误。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑