构建长文本幻觉检测数据集并提出高效检测架构
Towards Long Context Hallucination Detection
- 用分解聚合机制让BERT处理长上下文
- 在长文本上幻觉检测准确率显著提升
- 比大模型更快,适合实际部署
大型语言模型在诸多任务中表现优异,但易产生与上下文不符的幻觉。现有研究多聚焦短文本,长上下文幻觉检测仍属开放问题。本文首次构建专门用于长上下文幻觉检测的数据集,并提出一种新架构,使预训练编码器如BERT能有效处理长上下文,通过分解与聚合机制实现幻觉检测。实验表明,该方法在多种指标上优于同规模模型及基于LLM的模型,且推理速度大幅提升。
原文摘要 · Abstract (English)
Large Language Models (LLMs) have demonstrated remarkable performance across various tasks. However, they are prone to contextual hallucination, generating information that is either unsubstantiated or contradictory to the given context. Although many studies have investigated contextual hallucinations in LLMs, addressing them in long-context inputs remains an open problem. In this work, we take an initial step toward solving this problem by constructing a dataset specifically designed for long-context hallucination detection. Furthermore, we propose a novel architecture that enables pre-trained encoder models, such as BERT, to process long contexts and effectively detect contextual hallucinations through a decomposition and aggregation mechanism. Our experimental results show that the proposed architecture significantly outperforms previous models of similar size as well as LLM-based models across various metrics, while providing substantially faster inference.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。