Skip to main content
QUICK REVIEW

[论文解读] Error Taxonomy-Guided Prompt Optimization

Mayank Singh, Vikas Yadav|arXiv (Cornell University)|Feb 1, 2026
Software System Performance and ReliabilityComputer Science被引用 0
一句话总结

ETGPO 构建全球错误分类,以解决常见错误并增强提示,从而在大约前 APO 方法成本的三分之一左右实现强准确性

ABSTRACT

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.

研究动机与目标

  • 通过利用全球错误景观来推动 Automatic Prompt Optimization (APO) 的计算成本下降。
  • 提出自顶向下的 ETGPO 框架,收集、分类并定位高发错误。
  • 证明错误引导的提示在多样化基准上接近或超越最先进的 APO。
  • 显示与基线相比在优化令牌和评估预算方面的显著降低。

提出的方法

  • 从基础提示在 K 次运行中收集验证集错误以捕捉失败轨迹。
  • 通过使用优化器 LLM 将失败按流行程度统计分组,创建错误分类法。
  • 基于问题和失败计数选择前 G 个高发错误类别以指导提示编辑。
  • 通过优化器 LLM 生成可操作的、类别特定的指导(含示例),并将其附加到基础提示中。
  • 在数学、问答与推理任务上评估最终提示,以比较准确性和令牌效率与基线的差异。

实验结果

研究问题

  • RQ1全局错误分类法在数据集级别的失败上是否能提高 APO 效率而不牺牲准确性?
  • RQ2聚焦于高发错误类别是否比逐例编辑具有更好的泛化能力?
  • RQ3在数学、问答、逻辑推理等多领域相比最先进的 APO 方法,ETGPO 的表现如何?
  • RQ4在保持竞争性能的同时,ETGPO 相对其他 APO 方法的令牌成本是多少?

主要发现

  • ETGPO 在多个基准上实现的准确性与最先进的 APO 方法相当或更优。
  • 与强基线相比,ETGPO 在优化阶段使用的令牌大约只有三分之一左右。
  • 错误分类法使得可针对性指导成为可能,减少高发失败,提升对个别问题之外的泛化能力。
  • 消融研究表明:分类法创建、指导生成与详细指导都对性能提升有贡献。
  • 在跨数据集的表现中,ETGPO 往往获得最佳平均性能,在 FOLIO 与 AIME 等任务上尤有显著提升。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。