首次验证大模型幻觉信号在多语言多领域间可迁移
CrossHallu: Do Hallucination Signals Generalize Across Languages and Domains in Large Language Model's Internals?

- 从六种大模型内部表征提取幻觉信号进行跨语言/域检测
- 英语到阿拉伯语迁移效果依赖特征空间的类别可分性与对齐度
- 适合关注多语言AI安全与模型内部机制的研究者
近期大语言模型(LLM)的幻觉检测技术主要通过直接提取模型内部表征并训练分类器来实现,效果显著。然而,现有方法大多集中在英文场景,其内部信号是否能在不同语言和领域间泛化仍不清楚。为此,本文提出CrossHallu,首次系统评估六种大模型在生成式问答任务中,基于内部表示的幻觉检测在跨语言(阿拉伯语↔英语)与跨域间的泛化能力。实验使用TruthfulQA及其阿拉伯语翻译版、HalluScore,在单语言训练测试、跨语言迁移、跨域迁移及联合迁移等设置下展开。结果表明,多数模型的内部幻觉信号具备跨语言与跨域泛化能力;其中跨语言性能高度依赖特征空间中的类别可分性与语言对齐程度;而阿拉伯语内部跨域迁移效果则随训练与测试数据集变化而异。代码已开源。
原文摘要 · Abstract (English)
Recent hallucination detection techniques in large language models (LLMs) focus on directly extracting features from a model's internal representations and training a classifier on these features to detect hallucinations, demonstrating promising results. Notwithstanding this advancement, most internal-state hallucination detection techniques have been explored predominantly in English, raising the question of whether such internal signals generalize across different languages and domains. To address this gap, we present CrossHallu, the first study to evaluate the cross-lingual and cross-domain generalization of hallucination detection using internal representations from six LLMs on the generative question-answering task. We conduct a systematic Arabic <-> English evaluation using TruthfulQA, an Arabic translated version of TruthfulQA, and HalluScore. This evaluation encompasses monolingual training and testing, cross-lingual transfer, cross-domain transfer, and combined cross-lingual and cross-domain transfer. The results reveal that internal-state hallucination signals in LLMs transfer across languages and domains for most models, with cross-lingual performance highly dependent on both class separability and language alignment in the feature space, whereas cross-domain transfer within Arabic varies depending on the training and testing datasets used for the hallucination detector. The code is publicly available at https://github.com/aishaalansari57/CrossHal.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。