跨释义不变性学习用于幻觉检测
Cross Paraphrastic Invariance Learning for Hallucination Detection
AI总结:
提出CPIL框架,通过构建正负样本对进行两阶段对比学习,仅用1%标注数据即在11个任务上超越基线,高效检测LLM幻觉。
摘要:
大型语言模型(LLM)经常生成缺乏源文档支持的幻觉。为避免昂贵的LLM评估流水线和现有分类器的大量标注需求,我们提出CPIL(跨释义不变性学习),一个两阶段孪生框架,最大化利用现有标注数据。具体地,CPIL通过以下方式构建信息丰富的训练对:(i)为每个文档-声明示例生成释义视图作为正样本,并显式对齐其表示以强制对表面形式的不变性;(ii)挖掘同文档、异标签对作为难负样本,以锐化文档敏感的决策边界。然后CPIL进行两阶段模型训练:第一阶段进行对比预训练,学习释义不变、基于事实的嵌入空间;第二阶段附加轻量级分类器进行二元事实性判断。在LLM-AggreFact基准(11个任务)上,CPIL仅用约1%的标注数据即在F1分数上超越强基线,展示了其预测优越性和标签效率。
英文摘要:
Large language models (LLMs) frequently generate hallucinations, which are unsupported by a source document. To avoid costly LLM-as-evaluator pipelines and the heavy annotation demands of existing classifiers, we propose CPIL (Cross Paraphrastic Invariance Learning), a two-stage Siamese framework that maximizes the utility of existing labeled data. Concretely, CPIL constructs informative training pairs by: (i) generating paraphrastic views of each document-claim example as positives, and explicitly aligning their representations to enforce invariance to surface form; and (ii) mining same-document, opposite-label pairs as hard negatives to sharpen document-sensitive decision boundaries. Then CPIL conduct a two-stage model training: Stage 1 performs contrastive pretraining to learn a paraphrase-invariant, grounding-aware embedding space; and Stage 2 attaches a lightweight classifier for binary groundedness. On the LLM-AggreFact benchmark (11 tasks), CPIL surpasses strong baselines concerning F1 scores with only ~1% labeled data, showing its prediction superiority and label efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。