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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Peng, Zhiyuan, Nian, Jinming, Evfimievski, Alexandre, Fang, Yi
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910926908686336
author Peng, Zhiyuan
Nian, Jinming
Evfimievski, Alexandre
Fang, Yi
author_facet Peng, Zhiyuan
Nian, Jinming
Evfimievski, Alexandre
Fang, Yi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_14567
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ELOQ: Resources for Enhancing LLM Detection of Out-of-Scope Questions
Peng, Zhiyuan
Nian, Jinming
Evfimievski, Alexandre
Fang, Yi
Computation and Language
Artificial Intelligence
Information Retrieval
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.
title ELOQ: Resources for Enhancing LLM Detection of Out-of-Scope Questions
topic Computation and Language
Artificial Intelligence
Information Retrieval
url https://arxiv.org/abs/2410.14567