LLMs hallucinate graphs too: a structural perspective - Irisa
Communication Dans Un Congrès Année : 2024

LLMs hallucinate graphs too: a structural perspective

Résumé

It is known that LLMs do hallucinate, that is, they return incorrect information as facts. In this paper, we introduce the possibility to study these hallucinations under a structured form: graphs. Hallucinations in this context are incorrect outputs when prompted for well known graphs from the literature (e.g. Karate club, Les Misérables, graph atlas). These hallucinated graphs have the advantage of being much richer than the factual accuracy -or not-of a fact; this paper thus argues that such rich hallucinations can be used to characterize the outputs of LLMs. Our first contribution observes the diversity of topological hallucinations from major modern LLMs. Our second contribution is the proposal of a metric for the amplitude of such hallucinations: the Graph Atlas Distance, that is the average graph edit distance from several graphs in the graph atlas set. We compare this metric to the Hallucination Leaderboard, a hallucination rank that leverages 10,000 times more prompts to obtain its ranking.
Fichier principal
Vignette du fichier
LLM_graphs.pdf (1.14 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04684742 , version 1 (03-09-2024)

Licence

Identifiants

  • HAL Id : hal-04684742 , version 1

Citer

Erwan Le Merrer, Gilles Trédan. LLMs hallucinate graphs too: a structural perspective. complex networks 2024, Dec 2024, Istanbul, Turkey. ⟨hal-04684742⟩
80 Consultations
25 Téléchargements

Partager

More