HieroLM:基于下一词预测语言模型的埃及象形文字恢复
HieroLM: Egyptian Hieroglyph Recovery with Next Word Prediction Language Model
AI总结:
本文提出HieroLM,将埃及象形文字恢复建模为下一词预测任务,采用LSTM语言模型利用上下文语义,在缺失和模糊象形文字恢复上取得超44%准确率,并可辅助CV模型降低识别困惑度。
摘要:
埃及象形文字出现在大量古埃及文物上,但由于侵蚀,它们常常模糊甚至缺失。现有恢复模糊象形文字的工作采用计算机视觉技术(如CNN),并将象形文字恢复建模为图像分类任务,这存在两个主要局限:(i)它们无法处理严重损坏或完全缺失的象形文字;(ii)它们基于单个象形文字进行预测,没有考虑上下文和语法信息。本文提出一种新方法,将象形文字恢复建模为下一词预测任务,并使用语言模型来解决该问题。我们比较了不同SOTA语言模型的性能,并选择LSTM作为HieroLM的架构,因为埃及象形文字文本中的语义具有强局部亲和性。实验表明,HieroLM实现了超过44%的准确率,并在多步预测和稀缺数据上保持了显著性能,这使其成为辅助学者推断缺失象形文字的实用工具。它还可以补充基于CV的模型,以显著降低识别模糊象形文字时的困惑度。我们的代码可在https://github.com/Rick-Cai/HieroLM/获取。
英文摘要:
Egyptian hieroglyphs are found on numerous ancient Egyptian artifacts, but it is common that they are blurry or even missing due to erosion. Existing efforts to restore blurry hieroglyphs adopt computer vision techniques such as CNNs and model hieroglyph recovery as an image classification task, which suffers from two major limitations: (i) They cannot handle severely damaged or completely missing hieroglyphs. (ii) They make predictions based on a single hieroglyph without considering contextual and grammatical information. This paper proposes a novel approach to model hieroglyph recovery as a next word prediction task and use language models to address it. We compare the performance of different SOTA language models and choose LSTM as the architecture of our HieroLM due to the strong local affinity of semantics in Egyptian hieroglyph texts. Experiments show that HieroLM achieves over 44% accuracy and maintains notable performance on multi-shot predictions and scarce data, which makes it a pragmatic tool to assist scholars in inferring missing hieroglyphs. It can also complement CV-based models to significantly reduce perplexity in recognizing blurry hieroglyphs. Our code is available at https://github.com/Rick-Cai/HieroLM/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。