arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.00997cs.AIcs.CLcs.LG
收藏

误差分类引导的提示优化

Error Taxonomy-Guided Prompt Optimization

University of Arizona(亚利桑那大学)

Mayank Singh, Vikas Yadav, Eduardo Blanco

AI总结:

ETGPO通过自顶向下方法,利用误差分类指导提示优化,提升模型性能并降低计算成本。

摘要:

自动提示优化(APO)是一种从大型语言模型中提取性能的强大方法,无需修改其权重。许多现有方法依赖于试错法,测试不同的提示或上下文示例,直到找到一个好的配置,这通常消耗大量计算资源。最近,从执行日志中获得的自然语言反馈显示出了作为识别如何改进提示的有希望的方法。然而,大多数先前的方法采用自底向上的方式,通过反馈从个别问题迭代调整提示,这可能导致失去全局视角。在本工作中,我们提出了误差分类引导的提示优化(ETGPO),一种采用自顶向下的提示优化算法。ETGPO通过收集模型错误,将其分类为一个分类学,并通过针对最频繁的失败模式的指导来增强提示。在涵盖数学、问答和逻辑推理等多个基准测试中,ETGPO实现的准确性与或优于最先进方法,同时仅需大约三分之一的优化阶段标记使用和评估预算。

英文摘要:

Automatic Prompt Optimization (APO) is a powerful approach for extracting performance from large language models without modifying their weights. Many existing methods rely on trial-and-error, testing different prompts or in-context examples until a good configuration emerges, often consuming substantial compute. Recently, natural language feedback derived from execution logs has shown promise as a way to identify how prompts can be improved. However, most prior approaches operate in a bottom-up manner, iteratively adjusting the prompt based on feedback from individual problems, which can cause them to lose the global perspective. In this work, we propose Error Taxonomy-Guided Prompt Optimization (ETGPO), a prompt optimization algorithm that adopts a top-down approach. ETGPO focuses on the global failure landscape by collecting model errors, categorizing them into a taxonomy, and augmenting the prompt with guidance targeting the most frequent failure modes. Across multiple benchmarks spanning mathematics, question answering, and logical reasoning, ETGPO achieves accuracy that is comparable to or better than state-of-the-art methods, while requiring roughly one third of the optimization-phase token usage and evaluation budget.

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

↑