arXiv:2410.14567cs.CLcs.AI2024-10中稿 · SIGIR'25被引 4

构建数据集提升大模型识别超范围问题能力

ELOQ: Resources for Enhancing LLM Detection of Out-of-Scope Questions

  • 用引导式幻觉法自动生成超范围问题数据
  • 验证多模型在识别超范围问题上表现差异
  • 适合提升对话系统对未知问题的应对能力

检索增强生成(RAG)已成为大语言模型(LLMs)的重要组成部分,尤其在对话AI中,用户问题可能涉及模型训练截止时间之后的知识。然而,许多自然问题缺乏明确答案,或因检索系统返回看似相关但内容无用的文档,导致大模型产生幻觉答案却未发出警告。现有研究主要关注前提错误的问题,而本文聚焦于‘超范围问题’——即检索到的文档在语义上看似相关,但缺乏回答所需信息。为此,我们提出ELOQ方法,基于引导式幻觉从截断后文档中自动生成多样化的超范围问题,并经人工验证确保质量。利用该数据集评估多个大模型在识别超范围问题和生成恰当响应方面的能力,并引入改进检测方法,显著提升基于大模型问答系统处理超范围问题的可靠性。

原文摘要 · Abstract (English)

Retrieval-augmented generation (RAG) has become integral to large language models (LLMs), particularly for conversational AI systems where user questions may reference knowledge beyond the LLMs' training cutoff. However, many natural user questions lack well-defined answers, either due to limited domain knowledge or because the retrieval system returns documents that are relevant in appearance but uninformative in content. In such cases, LLMs often produce hallucinated answers without flagging them. While recent work has largely focused on questions with false premises, we study out-of-scope questions, where the retrieved document appears semantically similar to the question but lacks the necessary information to answer it. In this paper, we propose a guided hallucination-based approach ELOQ to automatically generate a diverse set of out-of-scope questions from post-cutoff documents, followed by human verification to ensure quality. We use this dataset to evaluate several LLMs on their ability to detect out-of-scope questions and generate appropriate responses. Finally, we introduce an improved detection method that enhances the reliability of LLM-based question-answering systems in handling out-of-scope questions.

大模型检测检索增强幻觉识别

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。