Skip to main content
QUICK REVIEW

[논문 리뷰] Error Taxonomy-Guided Prompt Optimization

Mayank Singh, Vikas Yadav|arXiv (Cornell University)|2026. 02. 01.
Software System Performance and ReliabilityComputer Science인용 수 0
한 줄 요약

ETGPO는 백본 LLM 실패로부터 전역 오류 분류를 구축하고, 널리 나타나는 오류에 대한 표적화된 지침을 생성하며, 프롬프트를 보강하여 prior APO 방법들의 약 1/3 수준의 최적화 비용으로 강한 정확도를 달성한다.

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을 통해 실행 가능하고 범주별 지침(예시 포함)을 생성하여 기본 프롬프트에 첨부한다.
  • 수학, QA, 추론 작업 전반에 걸쳐 최종 프롬프트를 평가하여 정확도와 토큰 효율성을 기준선과 비교한다.

실험 결과

연구 질문

  • RQ1데이터셋 수준의 실패에 대한 전역 오류 분류체계가 정확도를 떨어뜨리지 않으면서 APO 효율성을 높일 수 있는가?
  • RQ2유행하는 오류 범주에 집중하는 것이 사례별 편집보다 일반화에 더 나은가?
  • RQ3수학, QA, 논리적 추론 등 다양한 영역에서 ETGPO가 최첨단 APO 방법과 비교하여 어떤 성능을 보이나?
  • RQ4경쟁력 있는 성능을 유지하면서 ETGPO와 다른 APO 방법들의 상대 토큰 비용은 어느 정도인가?

주요 결과

  • ETGPO는 여러 벤치마크에서 최첨단 APO 방법과 동등하거나 그보다 나은 정확도를 달성한다.
  • ETGPO는 강력한 기준선 대비 최적화 단계 토큰을 대략 3분의 1만 사용한다.
  • 오류 분류체계는 널리 나타나는 실패를 줄이는 타깃 지침을 가능하게 하여 개별 문제를 넘어 일반화를 개선한다.
  • 특성 제거 연구에서 분류체계 생성, 지침 생성, 상세 지침이 모두 성능 향상에 기여하는 것으로 나타난다.
  • 데이터세트 전반에 걸쳐 ETGPO가 종종 최상의 평균 성능을 내며 FOLIO 및 AIME와 같은 작업에서 주목할 만한 이점을 보여준다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.