arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.19283cs.CL
收藏

阿拉伯之夜上的自动动机索引

Automated Motif Indexing on the Arabian Nights

College of Computer Science and Information Systems(计算机科学与信息系统学院);Najran University(纳杰兰大学);Knight Foundation School of Computing and Information Sciences(骑士基金会计算与信息科学学院)

Ibrahim H. Alyami, Mark A. Finlayson

AI总结:

本文提出首个自动动机索引方法,利用《阿拉伯之夜》文本和El-Shamy的动机索引,通过五种方法检测动机表达,最佳系统在F1分数上达到0.85。

摘要:

动机是非常见但反复出现的叙事元素,常见于民间故事。除了对民俗学者感兴趣外,动机也出现在现代新闻、文学、宣传等文化文本中。在原始民俗文本中找到动机表达对民俗分析和理解现代动机使用有帮助。先前工作主要展示了使用自动技术解决这些问题的难度。我们提出了首个计算方法进行动机索引。我们的数据选择是关键:我们使用一个大且广泛可用的文本(《阿拉伯之夜》)配以详细的动机索引(El-Shamy 2006),克服了索引引用文本不可用的常见问题。我们创建了一个人工标注的语料库,识别了2,670种动机表达,涵盖200种动机在58,450句中进行训练和测试。我们测试了五种方法来检测给定动机索引条目的动机表达:(1)使用关键词和微调交叉编码器的经典检索和重排序;(2)现成的嵌入模型;(3)微调的嵌入模型;(4)在N-shot设置中使用现成LLM的生成提示;(5)在LoRA微调的LLM上使用相同生成方法。我们的最佳系统是一个微调的Llama3模型,整体性能达到0.85 F1分数。

英文摘要:

Motifs are non-commonplace, recurring narrative elements, often found originally in folk stories. In addition to being of interest to folklorists, motifs appear as metaphoric devices in modern news, literature, propaganda, and other cultural texts. Finding expressions of motifs in the original folkloristic text is useful for both folkloristic analysis (motif indexing) as well as for understanding the modern usage of motifs (motif detection and interpretation). Prior work has primarily shown how difficult these problems are to tackle using automated techniques. We present the first computational approach to motif indexing. Our choice of data is a key enabler: we use a large, widely available text (the Arabian Nights) paired with a detailed motif index (by El-Shamy in 2006), which overcomes the common problem of inaccessibility of texts referred to by the index. We created a manually annotated corpus that identified 2,670 motif expressions of 200 different motifs across 58,450 sentences for training and testing. We tested five types of approaches for detecting motif expressions given a motif index entry: (1) classic retrieve and re-rank using keywords and a fine-tuned cross-encoder; (2) off-the-shelf embedding models; (3) fine-tuned embedding models; (4) generative prompting of off-the-shelf LLMs in N-shot setups; and (5) the same generative approaches on LLMs fine-tuned with LoRA. Our best performing system is a fine-tuned Llama3 model which achieves an overall performance of 0.85 F1.

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

↑