Validating ChatGPT Facts through RDF Knowledge Graphs and Sentence Similarity

Michalis Mountantonakis, Yannis Tzitzikas
11/8/2023
cs.DBcs.AI

No confident code implementation found for this paper.

Abstract

Since ChatGPT offers detailed responses without justifications, and erroneous facts even for popular persons, events and places, in this paper we present a novel pipeline that retrieves the response of ChatGPT in RDF and tries to validate the ChatGPT facts using one or more RDF Knowledge Graphs (KGs). To this end we leverage DBpedia and LODsyndesis (an aggregated Knowledge Graph that contains 2 billion triples from 400 RDF KGs of many domains) and short sentence embeddings, and introduce an algorithm that returns the more relevant triple(s) accompanied by their provenance and a confidence score.

Show full abstract

This enables the validation of ChatGPT responses and their enrichment with justifications and provenance. To evaluate this service (such services in general), we create an evaluation benchmark that includes 2,000 ChatGPT facts; specifically 1,000 facts for famous Greek Persons, 500 facts for popular Greek Places, and 500 facts for Events related to Greece. The facts were manually labelled (approximately 73% of ChatGPT facts were correct and 27% of facts were erroneous). The results are promising; indicatively for the whole benchmark, we managed to verify the 85.3% of the correct facts of ChatGPT and to find the correct answer for the 58% of the erroneous ChatGPT facts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mountantonakis2023validating,
  title  = {Validating ChatGPT Facts through RDF Knowledge Graphs and Sentence Similarity},
  author = {Michalis Mountantonakis and Yannis Tzitzikas},
  year   = {2023},
  eprint = {2311.04524},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.04524v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.04524.svg)](https://codeofpaper.com/paper/2311.04524)

Discussion