Prompt Valuation Based on Shapley Values

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Liu, Hanxi, Mao, Xiaokai, Xia, Haocheng, Lou, Jian, Liu, Jinfei, Ren, Kui
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916523925307392
author Liu, Hanxi
Mao, Xiaokai
Xia, Haocheng
Lou, Jian
Liu, Jinfei
Ren, Kui
author_facet Liu, Hanxi
Mao, Xiaokai
Xia, Haocheng
Lou, Jian
Liu, Jinfei
Ren, Kui
contents Large language models (LLMs) excel on new tasks without additional training, simply by providing natural language prompts that demonstrate how the task should be performed. Prompt ensemble methods comprehensively harness the knowledge of LLMs while mitigating individual biases and errors and further enhancing performance. However, more prompts do not necessarily lead to better results, and not all prompts are beneficial. A small number of high-quality prompts often outperform many low-quality prompts. Currently, there is a lack of a suitable method for evaluating the impact of prompts on the results. In this paper, we utilize the Shapley value to fairly quantify the contributions of prompts, helping to identify beneficial or detrimental prompts, and potentially guiding prompt valuation in data markets. Through extensive experiments employing various ensemble methods and utility functions on diverse tasks, we validate the effectiveness of using the Shapley value method for prompts as it effectively distinguishes and quantifies the contributions of each prompt.
format Preprint
id arxiv_https___arxiv_org_abs_2312_15395
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Prompt Valuation Based on Shapley Values
Liu, Hanxi
Mao, Xiaokai
Xia, Haocheng
Lou, Jian
Liu, Jinfei
Ren, Kui
Computation and Language
Databases
Machine Learning
Large language models (LLMs) excel on new tasks without additional training, simply by providing natural language prompts that demonstrate how the task should be performed. Prompt ensemble methods comprehensively harness the knowledge of LLMs while mitigating individual biases and errors and further enhancing performance. However, more prompts do not necessarily lead to better results, and not all prompts are beneficial. A small number of high-quality prompts often outperform many low-quality prompts. Currently, there is a lack of a suitable method for evaluating the impact of prompts on the results. In this paper, we utilize the Shapley value to fairly quantify the contributions of prompts, helping to identify beneficial or detrimental prompts, and potentially guiding prompt valuation in data markets. Through extensive experiments employing various ensemble methods and utility functions on diverse tasks, we validate the effectiveness of using the Shapley value method for prompts as it effectively distinguishes and quantifies the contributions of each prompt.
title Prompt Valuation Based on Shapley Values
topic Computation and Language
Databases
Machine Learning
url https://arxiv.org/abs/2312.15395