arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2611.02587cs.CLcs.AI
收藏

它们知道圣训的位置,但不知道其内容:开放型大语言模型圣训召回的双语幻觉基准测试

They Know Where It Is, But Not What It Says: A Bilingual Hallucination Benchmark of Hadith Recall in Open LLMs

Jamia Hamdard(贾米亚·哈姆达德大学);KFUPM(法赫德国王石油和矿产大学);Aligarh Muslim University(阿里格尔穆斯林大学);Macquarie University(麦考瑞大学)

Dayam Nadeem, Safdar Mustafa, Ameen Ur Rehman, Shahab Saquib Sohail, Mohammad Nadeem, Usman Naseem

AI总结:

本研究构建双语圣训召回基准测试,发现5款开放权重大语言模型在3万条圣训响应中无一条完全准确,阿拉伯语表现更差,指出未结合检索增强的此类模型不可靠,需采用检索增强生成用于伊斯兰学术。

摘要:

大型语言模型正越来越多地被用于获取宗教知识,包括对特定圣训(先知穆罕默德的言论和行为记录,愿他平安)的召回。与开放式生成不同,圣训召回是一项高风险、可验证的任务:一个参考项(包括圣训集、章节和圣训编号)仅有一个正确文本,任何偏离该文本的内容都构成可能被误认为是正宗经文的编造。本研究推出了一个双语(英语/阿拉伯语)基准测试,对5款开放权重、可本地部署的语言模型(Mistral-7B、Gemma3-4B、Jais-7B、ALLAM-7B和Phi4-mini-3.8B)在全部6部逊尼派权威圣训集(布哈里圣训实录、穆斯林圣训实录、阿布·达伍德圣训集、提尔米基圣训集、纳萨伊圣训集、伊本·马哲圣训集)上进行测试,每部圣训集采样500段圣训(每种语言每款模型共3000段,总计30000条响应)。每款模型仅被提供文献参考信息,要求重现准确的圣训文本,不使用检索增强技术,评分依据为词汇保真度(BLEU)和语义保真度(多语言余弦相似度),并单独标记弃权(不执行)的情况。在全部5款模型和两种语言的30000条响应中,0%的响应同时达到高词汇保真度和高语义保真度,即与源文本完全、可验证匹配。阿拉伯语响应的表现普遍比英语响应更差。这些发现表明,当前未结合检索增强的开放权重大语言模型,对于准确的宗教文本召回而言是不可靠且潜在危险的来源,将其用于伊斯兰学术研究时,应要求采用基于经验证语料库的检索增强生成,而非依赖参数记忆。完整代码、提示词、评估流程和已评分的响应已公开在该https链接。

英文摘要:

Large language models are increasingly consulted for religious knowledge, including the recall of specific Hadith (recorded sayings and actions of the Prophet Muhammad, peace be upon him). Unlike open-ended generation, Hadith recall is a high-stakes, verifiable task: a reference (collection, chapter, and Hadith number) has exactly one correct text, and any deviation from it constitutes a fabrication that can be mistaken for authentic scripture. This study introduces a bilingual (English/Arabic) benchmark that probes five open-weight, locally-deployable language models (Mistral-7B, Gemma3-4B, Jais-7B, ALLaM-7B, and Phi4-mini-3.8B) across all six canonical Sunni Hadith collections (Sahih al-Bukhari, Sahih Muslim, Sunan Abi Da'ud, Jami' al-Tirmidhi, Sunan an-Nasa'i, Sunan Ibn Majah), sampling 500 Hadith per collection (3,000 per model per language, 30,000 responses total). Each model is given only the bibliographic reference and asked to reproduce the exact Hadith text, with no retrieval augmentation, and is scored on lexical fidelity (BLEU) and semantic fidelity (multilingual cosine similarity), with refusals flagged separately. Across all five models and both languages, 0% of 30,000 responses achieve both high lexical and high semantic fidelity, i.e., an exact, verifiable match to the source text. Arabic responses fare uniformly worse than English. These findings suggest that current open-weight LLMs, used without retrieval grounding, are unreliable and potentially dangerous sources for exact religious-text recall, and that deployment for Islamic scholarship should mandate retrieval-augmented generation over a verified corpus rather than parametric memory. The complete code, prompts, evaluation pipeline, and scored outputs are publicly available at https://github.com/dayam8696/Hadith-Hallucination-Benchmark.

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

↑