Enoki:高效的多层级幻觉检测
研究论文 · 2026/09/07
确保事实性对于在高风险场景中部署LLM仍然是一个关键挑战。现有的幻觉检测器通常在单一层面操作:声明级方法提供可解释的事实单元,而跨度级方法定位不支持的文本。弥合这些视角成本高昂,因为依赖LLM的流水线需要多次分解和验证调用,模块化系统需要额外的声明到跨度对齐。我们提出Enoki,一个用于多级幻觉检测的开放信息抽取框架。Enoki提取文本锚定的关系事实,对照证据进行验证,并将不支持的事实投影回幻觉跨度。这种共享表示使得声明级验证和跨度级定位无需单独对齐即可实现。Enoki支持基于LLM、基于编码器和基于规则的抽取机制,通过通用接口平衡准确性和推理成本。实验表明,Enoki在使用更少资源的情况下与强声明级系统保持竞争力,并在细粒度跨度和实体级定位上实现优越性能。我们还发布了EnokiQA,一个具有对齐的声明级验证和跨度级定位注释的双粒度数据集。
本文提出了一种新颖的多级幻觉检测框架,通过统一声明级和跨度级表示,解决了现有方法需要额外对齐和多次调用的问题,在效率和性能上均有优势,并提供了新的数据集,对幻觉检测领域有实际贡献。
Ensuring factuality remains a critical challenge for deploying LLMs in high-stakes settings. Existing hallucination detectors usually operate at a single level: claim-level methods provide interpretable factual units, while span-level methods localize unsupported text. Bridging these views is costly, as LLM-heavy pipelines require multiple decomposition and verification calls, and modular systems need additional claim-to-span alignment. We propose Enoki, an Open Information Extraction framework for multi-level hallucination detection. Enoki extracts text-anchored relational facts, verifies them against evidence, and projects unsupported facts back to hallucinated spans. This shared representation enables claim-level verification and span-level localization without requiring separate alignment. Enoki supports LLM-based, encoder-based, and rule-based extraction regimes, balancing accuracy and inference cost through a common interface. Experiments show that Enoki remains competitive with strong claim-level systems while using fewer resources and achieves superior performance on fine-grained span- and entity-level localization. We also release EnokiQA, a dual-granularity dataset with aligned claim-level verification and span-level localization annotations.