Using Knowledge Graphs to Test for the Presence of Hallucinations in Closed RAG-based and Custom GPT-based LLM Systems

Loading...
Thumbnail Image

Contributor

Advisor

Editor

Performer

Department

Instructor

Depositor

Speaker

Researcher

Consultant

Interviewer

Interviewee

Narrator

Transcriber

Annotator

Journal Title

Journal ISSN

Volume Title

Publisher

Journal Name

Volume

Number/Issue

Starting Page

1177

Ending Page

Alternative Title

Abstract

Many companies and government agencies are building large language model (LLM) systems for proprietary or specialized uses with sensitive data. These closed systems are not permitted to access the internet as there are concerns about data leakage. At the same time, the absence of internet access limits the data to data contained in the vector database which is used to implement retrieval augmented generation (RAG) or the ingested data in a Custom Generative Pre-trained Transformer (GPT). These systems wish to present authoritative responses and avoid hallucinations, factually inaccurate responses to various prompts. In sensitive government and enterprise environments, hallucinated responses can lead to serious consequences, including misinformation, policy errors, or breaches of trust, making their detection and prevention a critical priority. Using knowledge graphs, we can graph the data or parts of the data and use patterns to predict the areas to test where prompts may create these hallucinations in closed systems. Given the very large number of possible prompts for such a system, being able to target the testing of these systems is extremely important. Once issues are discovered, these graphs can also help developers fix issues where data is missing, erroneous, or must be enhanced using data curation.

Description

Citation

Extent

10 pages

Format

Type

Conference Paper

Geographic Location

Time Period

Related To

Proceedings of the 59th Hawaii International Conference on System Sciences

Related To (URI)

Table of Contents

Rights

Attribution-NonCommercial-NoDerivatives 4.0 International

Rights Holder

Catalog Record

Local Contexts

Email libraryada-l@lists.hawaii.edu if you need this content in ADA-compliant format.