Can We Afford The Perfect Prompt? Balancing Cost and Accuracy with the Economical Prompting Index

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: McDonald, Tyler, Colosimo, Anthony, Li, Yifeng, Emami, Ali
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916503113170944
author McDonald, Tyler
Colosimo, Anthony
Li, Yifeng
Emami, Ali
author_facet McDonald, Tyler
Colosimo, Anthony
Li, Yifeng
Emami, Ali
contents As prompt engineering research rapidly evolves, evaluations beyond accuracy are crucial for developing cost-effective techniques. We present the Economical Prompting Index (EPI), a novel metric that combines accuracy scores with token consumption, adjusted by a user-specified cost concern level to reflect different resource constraints. Our study examines 6 advanced prompting techniques, including Chain-of-Thought, Self-Consistency, and Tree of Thoughts, across 10 widely-used language models and 4 diverse datasets. We demonstrate that approaches such as Self-Consistency often provide statistically insignificant gains while becoming cost-prohibitive. For example, on high-performing models like Claude 3.5 Sonnet, the EPI of simpler techniques like Chain-of-Thought (0.72) surpasses more complex methods like Self-Consistency (0.64) at slight cost concern levels. Our findings suggest a reevaluation of complex prompting strategies in resource-constrained scenarios, potentially reshaping future research priorities and improving cost-effectiveness for end-users.
format Preprint
id arxiv_https___arxiv_org_abs_2412_01690
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Can We Afford The Perfect Prompt? Balancing Cost and Accuracy with the Economical Prompting Index
McDonald, Tyler
Colosimo, Anthony
Li, Yifeng
Emami, Ali
Computation and Language
As prompt engineering research rapidly evolves, evaluations beyond accuracy are crucial for developing cost-effective techniques. We present the Economical Prompting Index (EPI), a novel metric that combines accuracy scores with token consumption, adjusted by a user-specified cost concern level to reflect different resource constraints. Our study examines 6 advanced prompting techniques, including Chain-of-Thought, Self-Consistency, and Tree of Thoughts, across 10 widely-used language models and 4 diverse datasets. We demonstrate that approaches such as Self-Consistency often provide statistically insignificant gains while becoming cost-prohibitive. For example, on high-performing models like Claude 3.5 Sonnet, the EPI of simpler techniques like Chain-of-Thought (0.72) surpasses more complex methods like Self-Consistency (0.64) at slight cost concern levels. Our findings suggest a reevaluation of complex prompting strategies in resource-constrained scenarios, potentially reshaping future research priorities and improving cost-effectiveness for end-users.
title Can We Afford The Perfect Prompt? Balancing Cost and Accuracy with the Economical Prompting Index
topic Computation and Language
url https://arxiv.org/abs/2412.01690