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

面向提示词优化的大型语言模型不确定性基准测试

Benchmarking Large Language Model Uncertainty for Prompt Optimization

National Taiwan University(台湾大学)

Pei-Fu Guo, Yun-Da Tsai, Shou-De Lin

AI总结:

本文针对LLM提示词优化中不确定性估计的缺失,构建基准数据集评估多种不确定性指标,发现现有指标偏向答案不确定性而非正确性不确定性,强调需开发具备优化目标感知能力的新指标。

摘要:

大型语言模型(LLMs)的提示词优化算法在多步推理中表现出色,但仍缺乏有效的不确定性估计。本文引入了一个基准数据集来评估不确定性指标,重点关注答案不确定性、正确性不确定性、偶然不确定性和认知不确定性。通过对GPT-3.5-Turbo和Meta-Llama-3.1-8B-Instruct等模型的分析,我们表明当前指标更多与反映输出置信度和多样性的答案不确定性一致,而非正确性不确定性,这凸显了需要改进具备优化目标感知能力的指标,以更好地指导提示词优化。我们的代码和数据集可在https://github.com/0Frett/PO-Uncertainty-Benchmarking获取。

英文摘要:

Prompt optimization algorithms for Large Language Models (LLMs) excel in multi-step reasoning but still lack effective uncertainty estimation. This paper introduces a benchmark dataset to evaluate uncertainty metrics, focusing on Answer, Correctness, Aleatoric, and Epistemic Uncertainty. Through analysis of models like GPT-3.5-Turbo and Meta-Llama-3.1-8B-Instruct, we show that current metrics align more with Answer Uncertainty, which reflects output confidence and diversity, rather than Correctness Uncertainty, highlighting the need for improved metrics that are optimization-objective-aware to better guide prompt optimization. Our code and dataset are available at https://github.com/0Frett/PO-Uncertainty-Benchmarking.

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

↑