arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.06073cs.CLcs.AIcs.LGcs.LO
收藏

使用许可预言机遏制语言模型中的幻觉

Stemming Hallucination in Language Models Using a Licensing Oracle

RA Software(RA软件公司);Sofia University “St. Kliment Ohridski”(索非亚大学)

Simeon Emanuilov, Richard Ackermann

AI总结:

本文提出许可预言机(Licensing Oracle),通过在语言模型生成过程中引入基于结构化知识图谱的确定性验证来遏制幻觉,实验表明其可实现完美弃权(不执行)和零错误回答,优于微调与RAG等统计方法。

摘要:

语言模型展现出卓越的自然语言生成能力,但仍然容易产生幻觉,即尽管生成句法连贯的回应,却产生事实不正确的信息。本研究引入了许可预言机(Licensing Oracle),这是一种架构性解决方案,旨在通过对照结构化知识图谱进行形式化验证来强制执行真值约束,从而遏制语言模型中的幻觉。与依赖数据扩展或微调的统计方法不同,许可预言机在模型的生成过程中嵌入了一个确定性验证步骤,确保只生成事实准确的陈述。我们通过实验评估了许可预言机的有效性,并将其与几种最先进的方法进行了比较,包括基线语言模型生成、面向事实回忆的微调、面向弃权(不执行)行为的微调以及检索增强生成(RAG)。我们的结果表明,尽管RAG和微调能提升性能,但它们无法消除幻觉。相比之下,许可预言机实现了完美的弃权(不执行)精确率(AP = 1.0)和零错误回答(FAR-NE = 0.0),确保只生成有效陈述,并在事实性回应中达到89.1%的准确率。这项工作表明,诸如许可预言机之类的架构创新,为具有结构化知识表示的领域中的幻觉问题提供了必要且充分的解决方案,提供了统计方法无法匹敌的保证。尽管许可预言机专门设计用于解决基于事实的领域中的幻觉问题,但其框架为未来人工智能系统中受真值约束的生成奠定了基础,为构建可靠且具有认识论基础的模型提供了一条新路径。

英文摘要:

Language models exhibit remarkable natural language generation capabilities but remain prone to hallucinations, generating factually incorrect information despite producing syntactically coherent responses. This study introduces the Licensing Oracle, an architectural solution designed to stem hallucinations in LMs by enforcing truth constraints through formal validation against structured knowledge graphs. Unlike statistical approaches that rely on data scaling or fine-tuning, the Licensing Oracle embeds a deterministic validation step into the model's generative process, ensuring that only factually accurate claims are made. We evaluated the effectiveness of the Licensing Oracle through experiments comparing it with several state-of-the-art methods, including baseline language model generation, fine-tuning for factual recall, fine-tuning for abstention behavior, and retrieval-augmented generation (RAG). Our results demonstrate that although RAG and fine-tuning improve performance, they fail to eliminate hallucinations. In contrast, the Licensing Oracle achieved perfect abstention precision (AP = 1.0) and zero false answers (FAR-NE = 0.0), ensuring that only valid claims were generated with 89.1% accuracy in factual responses. This work shows that architectural innovations, such as the Licensing Oracle, offer a necessary and sufficient solution for hallucinations in domains with structured knowledge representations, offering guarantees that statistical methods cannot match. Although the Licensing Oracle is specifically designed to address hallucinations in fact-based domains, its framework lays the groundwork for truth-constrained generation in future AI systems, providing a new path toward reliable, epistemically grounded models.

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

↑