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

基于长上下文语言模型的文学证据检索

Literary Evidence Retrieval via Long-Context Language Models

UMass Amherst(马萨诸塞大学阿姆赫斯特分校);University of Maryland, College Park(马里兰大学学院公园分校)

Katherine Thai, Mohit Iyyer

AI总结:

本文通过构建基于RELiC数据集的文学证据检索基准,发现Gemini Pro 2.5等推理模型可超越人类专家表现,而开放权重模型差距显著,揭示了LLM在文学分析中的潜力和挑战。

摘要:

现代长上下文语言模型对文学小说的理解程度如何?我们通过文学证据检索任务来探讨这一问题,重新利用That等人(2022)的RELiC数据集构建了一个基准,其中将一部主要作品(例如《了不起的盖茨比》)的全文与一段缺少该作品引文的文学评论一起提供给LLM。在这种设定下,模型必须生成缺失的引文,这模拟了人类进行文学分析的过程,要求模型同时执行全局叙事推理和细致的文本审视。我们通过大量筛选和人工验证,精心整理了一个包含292个示例的高质量子集。我们的实验表明,近期的推理模型(如Gemini Pro 2.5)可以超越人类专家表现(准确率62.5%对50%)。相比之下,最好的开放权重模型仅达到29.1%的准确率,凸显了开放权重模型与封闭权重模型之间在解释性推理上的巨大差距。尽管速度较快且表面准确率较高,但即使是最强的模型也难以处理微妙的文学信号并存在过度生成的问题,这表明将LLM应用于文学分析仍面临开放性挑战。我们发布了数据集和评估代码,以鼓励未来在这一方向上的研究。

英文摘要:

How well do modern long-context language models understand literary fiction? We explore this question via the task of literary evidence retrieval, repurposing the RELiC dataset of That et al. (2022) to construct a benchmark where the entire text of a primary source (e.g., The Great Gatsby) is provided to an LLM alongside literary criticism with a missing quotation from that work. This setting, in which the model must generate the missing quotation, mirrors the human process of literary analysis by requiring models to perform both global narrative reasoning and close textual examination. We curate a high-quality subset of 292 examples through extensive filtering and human verification. Our experiments show that recent reasoning models, such as Gemini Pro 2.5 can exceed human expert performance (62.5% vs. 50% accuracy). In contrast, the best open-weight model achieves only 29.1% accuracy, highlighting a wide gap in interpretive reasoning between open and closed-weight models. Despite their speed and apparent accuracy, even the strongest models struggle with nuanced literary signals and overgeneration, signaling open challenges for applying LLMs to literary analysis. We release our dataset and evaluation code to encourage future work in this direction.

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

↑