Prompt Risk Control: A Rigorous Framework for Responsible Deployment of Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zollo, Thomas P., Morrill, Todd, Deng, Zhun, Snell, Jake C., Pitassi, Toniann, Zemel, Richard
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909153404911616
author Zollo, Thomas P.
Morrill, Todd
Deng, Zhun
Snell, Jake C.
Pitassi, Toniann
Zemel, Richard
author_facet Zollo, Thomas P.
Morrill, Todd
Deng, Zhun
Snell, Jake C.
Pitassi, Toniann
Zemel, Richard
contents The recent explosion in the capabilities of large language models has led to a wave of interest in how best to prompt a model to perform a given task. While it may be tempting to simply choose a prompt based on average performance on a validation set, this can lead to a deployment where unexpectedly poor responses are generated, especially for the worst-off users. To mitigate this prospect, we propose Prompt Risk Control, a lightweight framework for selecting a prompt based on rigorous upper bounds on families of informative risk measures. We offer methods for producing bounds on a diverse set of metrics, including quantities that measure worst-case responses and disparities in generation quality across the population of users. In addition, we extend the underlying statistical bounding techniques to accommodate the possibility of distribution shifts in deployment. Experiments on applications such as open-ended chat, medical question summarization, and code generation highlight how such a framework can foster responsible deployment by reducing the risk of the worst outcomes.
format Preprint
id arxiv_https___arxiv_org_abs_2311_13628
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Prompt Risk Control: A Rigorous Framework for Responsible Deployment of Large Language Models
Zollo, Thomas P.
Morrill, Todd
Deng, Zhun
Snell, Jake C.
Pitassi, Toniann
Zemel, Richard
Machine Learning
Artificial Intelligence
Computation and Language
The recent explosion in the capabilities of large language models has led to a wave of interest in how best to prompt a model to perform a given task. While it may be tempting to simply choose a prompt based on average performance on a validation set, this can lead to a deployment where unexpectedly poor responses are generated, especially for the worst-off users. To mitigate this prospect, we propose Prompt Risk Control, a lightweight framework for selecting a prompt based on rigorous upper bounds on families of informative risk measures. We offer methods for producing bounds on a diverse set of metrics, including quantities that measure worst-case responses and disparities in generation quality across the population of users. In addition, we extend the underlying statistical bounding techniques to accommodate the possibility of distribution shifts in deployment. Experiments on applications such as open-ended chat, medical question summarization, and code generation highlight how such a framework can foster responsible deployment by reducing the risk of the worst outcomes.
title Prompt Risk Control: A Rigorous Framework for Responsible Deployment of Large Language Models
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2311.13628