Skip to main content
QUICK REVIEW

[Paper Review] Error Taxonomy-Guided Prompt Optimization

Mayank Singh, Vikas Yadav|arXiv (Cornell University)|Feb 1, 2026
Software System Performance and ReliabilityComputer Science0 citations
TL;DR

ETGPO builds a global error taxonomy from backbone LLM failures, generates targeted guidance for prevalent errors, and augments prompts to achieve strong accuracy with roughly one-third the optimization cost of prior APO methods.

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.

Motivation & Objective

  • Motivate reducing computational cost in Automatic Prompt Optimization (APO) by leveraging a global error landscape.
  • Propose a top-down ETGPO framework that collects, categorizes, and targets prevalent errors.
  • Demonstrate that error-guided prompts approximate or surpass state-of-the-art APO on diverse benchmarks.
  • Show significant reductions in optimization tokens and evaluation budget compared to baselines.

Proposed method

  • Collect validation-set errors from a base prompt across K runs to capture failure traces.
  • Create an error taxonomy by grouping failures into categories with prevalence statistics using an optimizer LLM.
  • Select top-G prevalent error categories based on problem and failure counts to guide prompt edits.
  • Generate actionable, category-specific guidance (with examples) via the optimizer LLM and append it to the base prompt.
  • Evaluate the final prompt across mathematics, QA, and reasoning tasks to compare accuracy and token efficiency against baselines.

Experimental results

Research questions

  • RQ1Can a global error taxonomy over dataset-level failures improve APO efficiency without sacrificing accuracy?
  • RQ2Does focusing on prevalent error categories yield better generalization than per-example edits?
  • RQ3How does ETGPO perform across diverse domains (math, QA, logical reasoning) compared to state-of-the-art APO methods?
  • RQ4What is the relative token cost of ETGPO vs. other APO approaches while maintaining competitive performance?

Key findings

  • ETGPO achieves accuracy comparable to or better than state-of-the-art APO methods across multiple benchmarks.
  • ETGPO uses roughly one third of the optimization-phase tokens compared to strong baselines.
  • The error taxonomy enables targeted guidance that reduces prevalent failures, improving generalization beyond individual problems.
  • Ablation studies show taxonomy creation, guidance generation, and detailed guidance all contribute to performance gains.
  • Across datasets, ETGPO often yields the best average performance, with notable gains on tasks like FOLIO and AIME.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.