arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.14880cs.CL
收藏

将Token用量纳入提示策略评估

Incorporating Token Usage into Prompting Strategy Evaluation

University of Edinburgh(爱丁堡大学);Independent Researcher(独立研究者);Brandeis University(布兰迪大学)

Chris Sypherd, Sergei Petrov, Sonny George, Vaishak Belle

AI总结:

该研究提出评估提示策略的效率维度,构建Big-$O_{tok}理论框架与Token Cost实证指标,发现token用量增加会带来性能收益急剧递减,验证了效率感知评估的必要性。

摘要:

近年来,大语言模型在各类任务中展现出卓越性能。然而,其任务效果高度依赖用于生成输出的提示策略,不同策略在性能和token用量上差异显著。尽管任务性能常被用来衡量提示策略的优劣,但我们认为,兼顾性能与token用量的效率是更贴合实际应用的实用指标。为此,我们提出Big-$O_{tok}$——一种描述提示策略token用量增长规律的理论框架,并分析了Token Cost(单位性能对应的token数)这一实证度量指标。我们将这些方法应用于多种常见提示策略,发现token用量增加会导致性能收益急剧递减。研究结果验证了Big-$O_{tok}$分析的有效性,凸显了开展效率感知评估的必要性。

英文摘要:

In recent years, large language models have demonstrated remarkable performance across diverse tasks. However, their task effectiveness is heavily dependent on the prompting strategy used to elicit output, which can vary widely in both performance and token usage. While task performance is often used to determine prompting strategy success, we argue that efficiency--balancing performance and token usage--can be a more practical metric for real-world utility. To enable this, we propose Big-$O_{tok}$, a theoretical framework for describing the token usage growth of prompting strategies, and analyze Token Cost, an empirical measure of tokens per performance. We apply these to several common prompting strategies and find that increased token usage leads to drastically diminishing performance returns. Our results validate the Big-$O_{tok}$ analyses and reinforce the need for efficiency-aware evaluations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑