关系线性是幻觉的预测因子
Relational Linearity is a Predictor of Hallucinations
AI总结:
通过合成未知实体基准测试,发现语言模型在回答线性关系问题时更容易产生幻觉,且关系线性度与幻觉率强相关。
摘要:
幻觉是语言模型(LMs)的一个核心失败模式。我们关注对诸如“格伦·古尔德演奏哪种乐器?”这类问题的幻觉,但针对设计为模型未知的合成实体提问。我们发现,像Gemma-7B-IT这样的LM经常产生幻觉,即它们难以识别幻觉事实不属于其知识。基于线性关系嵌入的思想,我们提出以下假设:(i)由于用于表示它们的抽象方案,LM可以轻松地为线性关系的非存在主体生成合理的对象,这可能导致幻觉。(ii)对于非线性关系,这种生成对象的机制不可用,因此更容易避免幻觉。为了验证这一假设,我们创建了SyntHal,一个针对15种关系的合成未知实体基准。我们发现,在四个指令调优模型中,关系线性度是模型为未知主体生成对象(而非拒绝回答)的强预测因子,相关系数$r \in [.58, .84]$。
英文摘要:
Hallucination is a central failure mode of language models (LMs). We focus on hallucinations in response to questions like: "Which instrument did Glenn Gould play?", but we ask these questions for synthetic entities designed to be unknown to the model. We find that LMs like Gemma-7B-IT frequently hallucinate, i.e., they have difficulty recognizing that the hallucinated fact is not part of their knowledge. Based on the idea of linear relational embeddings, we put forward the following hypothesis. (i) Due to the abstract scheme that is used to represent them, LMs can easily produce plausible objects for non-existing subjects of linear relations, which can lead to hallucinations. (ii) For nonlinear relations, this mechanism for producing an object is not available and so a hallucination is easier to avoid. To test this hypothesis, we create SynthHal, a synthetic unknown-entity benchmark for 15 relations. We find that across four instruction-tuned models, relational linearity is a strong predictor of models hallucinating an object for an unknown subject vs refusing to give an answer, with correlations $r \in [.58, .84]$. While this is not direct evidence for the hypothesized causal mechanism, it is suggestive and opens up a new line of inquiry into understanding LM hallucinations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。