Do Androids Know They're Only Dreaming of Electric Sheep?

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: CH-Wang, Sky, Van Durme, Benjamin, Eisner, Jason, Kedzie, Chris
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909219540697088
author CH-Wang, Sky
Van Durme, Benjamin
Eisner, Jason
Kedzie, Chris
author_facet CH-Wang, Sky
Van Durme, Benjamin
Eisner, Jason
Kedzie, Chris
contents We design probes trained on the internal representations of a transformer language model to predict its hallucinatory behavior on three grounded generation tasks. To train the probes, we annotate for span-level hallucination on both sampled (organic) and manually edited (synthetic) reference outputs. Our probes are narrowly trained and we find that they are sensitive to their training domain: they generalize poorly from one task to another or from synthetic to organic hallucinations. However, on in-domain data, they can reliably detect hallucinations at many transformer layers, achieving 95% of their peak performance as early as layer 4. Here, probing proves accurate for evaluating hallucination, outperforming several contemporary baselines and even surpassing an expert human annotator in response-level detection F1. Similarly, on span-level labeling, probes are on par or better than the expert annotator on two out of three generation tasks. Overall, we find that probing is a feasible and efficient alternative to language model hallucination evaluation when model states are available.
format Preprint
id arxiv_https___arxiv_org_abs_2312_17249
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Do Androids Know They're Only Dreaming of Electric Sheep?
CH-Wang, Sky
Van Durme, Benjamin
Eisner, Jason
Kedzie, Chris
Computation and Language
Artificial Intelligence
Machine Learning
We design probes trained on the internal representations of a transformer language model to predict its hallucinatory behavior on three grounded generation tasks. To train the probes, we annotate for span-level hallucination on both sampled (organic) and manually edited (synthetic) reference outputs. Our probes are narrowly trained and we find that they are sensitive to their training domain: they generalize poorly from one task to another or from synthetic to organic hallucinations. However, on in-domain data, they can reliably detect hallucinations at many transformer layers, achieving 95% of their peak performance as early as layer 4. Here, probing proves accurate for evaluating hallucination, outperforming several contemporary baselines and even surpassing an expert human annotator in response-level detection F1. Similarly, on span-level labeling, probes are on par or better than the expert annotator on two out of three generation tasks. Overall, we find that probing is a feasible and efficient alternative to language model hallucination evaluation when model states are available.
title Do Androids Know They're Only Dreaming of Electric Sheep?
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2312.17249