arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.00250cs.CVcs.CL
收藏

注意缺口:利用基于Transformer的转录分析文本缺损

Mind the Gap: Analyzing Lacunae with Transformer-Based Transcription

Khoury College of Computer Sciences(Khoury计算机学院);Northeastern University(东北大学)

Jaydeep Borkar, David A. Smith

AI总结:

本文利用在含lacunae合成数据上训练的Transformer OCR模型检测和恢复历史文献中的文本缺损,恢复成功率达65%,并发现转录对数概率可有效识别缺损和错误,为损坏文献分析提供了新方向。

摘要:

历史文献经常遭受损坏和不一致,包括由于孔洞、墨水问题和存储损坏而导致的文本缺失或难以辨认。这些缺失部分或缺口被称为lacunae(文本缺损)。在本研究中,我们采用基于Transformer的光学字符识别(OCR)模型,这些模型以监督方式在包含lacunae的合成数据上进行训练。我们展示了它们在检测和恢复lacunae方面的有效性,成功率达到65%,相比之下,缺乏lacunae知识的基础模型仅能实现5%的恢复率。此外,我们研究了模型的机制特性,例如转录的对数概率,该特性可以在不直接检查图像的情况下识别行图像中的lacunae和其他错误(例如,由于复杂书写或墨水问题导致的错误转录)。这一能力对于希望区分包含lacunae或错误的图像与干净图像的学者可能具有价值。尽管我们探索了注意力机制在标记lacunae和转录错误方面的潜力,但我们的发现表明它不是一个显著因素。我们的工作突出了一个有前景的方向,即利用基于Transformer的OCR模型来恢复或分析损坏的历史文献。

英文摘要:

Historical documents frequently suffer from damage and inconsistencies, including missing or illegible text resulting from issues such as holes, ink problems, and storage damage. These missing portions or gaps are referred to as lacunae. In this study, we employ transformer-based optical character recognition (OCR) models trained on synthetic data containing lacunae in a supervised manner. We demonstrate their effectiveness in detecting and restoring lacunae, achieving a success rate of 65%, compared to a base model lacking knowledge of lacunae, which achieves only 5% restoration. Additionally, we investigate the mechanistic properties of the model, such as the log probability of transcription, which can identify lacunae and other errors (e.g., mistranscriptions due to complex writing or ink issues) in line images without directly inspecting the image. This capability could be valuable for scholars seeking to distinguish images containing lacunae or errors from clean ones. Although we explore the potential of attention mechanisms in flagging lacunae and transcription errors, our findings suggest it is not a significant factor. Our work highlights a promising direction in utilizing transformer-based OCR models for restoring or analyzing damaged historical documents.

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

↑