"According to ...": Prompting Language Models Improves Quoting from Pre-Training Data

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Weller, Orion, Marone, Marc, Weir, Nathaniel, Lawrie, Dawn, Khashabi, Daniel, Van Durme, Benjamin
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929257204154368
author Weller, Orion
Marone, Marc
Weir, Nathaniel
Lawrie, Dawn
Khashabi, Daniel
Van Durme, Benjamin
author_facet Weller, Orion
Marone, Marc
Weir, Nathaniel
Lawrie, Dawn
Khashabi, Daniel
Van Durme, Benjamin
contents Large Language Models (LLMs) may hallucinate and generate fake information, despite pre-training on factual data. Inspired by the journalistic device of "according to sources", we propose according-to prompting: directing LLMs to ground responses against previously observed text. To quantify this grounding, we propose a novel evaluation metric (QUIP-Score) that measures the extent to which model-produced answers are directly found in underlying text corpora. We illustrate with experiments on three corpora (Wikipedia, PubMed, and the U.S. legal tax code) that these prompts improve grounding under our metrics, with the additional benefit of often improving end-task performance. Furthermore, prompts that ask the model to decrease grounding (or to ground to other corpora) indeed decrease QUIP-Score, indicating the ability of LLMs to increase or decrease grounded generations on request.
format Preprint
id arxiv_https___arxiv_org_abs_2305_13252
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle "According to ...": Prompting Language Models Improves Quoting from Pre-Training Data
Weller, Orion
Marone, Marc
Weir, Nathaniel
Lawrie, Dawn
Khashabi, Daniel
Van Durme, Benjamin
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) may hallucinate and generate fake information, despite pre-training on factual data. Inspired by the journalistic device of "according to sources", we propose according-to prompting: directing LLMs to ground responses against previously observed text. To quantify this grounding, we propose a novel evaluation metric (QUIP-Score) that measures the extent to which model-produced answers are directly found in underlying text corpora. We illustrate with experiments on three corpora (Wikipedia, PubMed, and the U.S. legal tax code) that these prompts improve grounding under our metrics, with the additional benefit of often improving end-task performance. Furthermore, prompts that ask the model to decrease grounding (or to ground to other corpora) indeed decrease QUIP-Score, indicating the ability of LLMs to increase or decrease grounded generations on request.
title "According to ...": Prompting Language Models Improves Quoting from Pre-Training Data
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2305.13252