Skip to main content
QUICK REVIEW

[논문 리뷰] Active Prompting with Chain-of-Thought for Large Language Models

Shizhe Diao, Pengcheng Wang|arXiv (Cornell University)|2023. 02. 23.
Topic ModelingComputer Science인용 수 44
한 줄 요약

이 논문은 Chain-of-Thought 추론을 주석으로 달고 태스크 특화 질문을 불확실성 기반으로 선정하는 Active-Prompt를 소개하여 여덟 개 데이터셋에서 LLM 추론을 개선한다.

ABSTRACT

The increasing scale of large language models (LLMs) brings emergent abilities to various complex tasks requiring reasoning, such as arithmetic and commonsense reasoning. It is known that the effective design of task-specific prompts is critical for LLMs' ability to produce high-quality answers. In particular, an effective approach for complex question-and-answer tasks is example-based prompting with chain-of-thought (CoT) reasoning, which significantly improves the performance of LLMs. However, current CoT methods rely on a fixed set of human-annotated exemplars, which are not necessarily the most effective examples for different tasks. This paper proposes a new method, Active-Prompt, to adapt LLMs to different tasks with task-specific example prompts (annotated with human-designed CoT reasoning). For this purpose, we propose a solution to the key problem of determining which questions are the most important and helpful ones to annotate from a pool of task-specific queries. By borrowing ideas from the related problem of uncertainty-based active learning, we introduce several metrics to characterize the uncertainty so as to select the most uncertain questions for annotation. Experimental results demonstrate the superiority of our proposed method, achieving state-of-the-art on eight complex reasoning tasks. Further analyses of different uncertainty metrics, pool sizes, zero-shot learning, and accuracy-uncertainty relationship demonstrate the effectiveness of our method. Our code will be available at https://github.com/shizhediao/active-prompt.

연구 동기 및 목표

  • CoT prompting에서 주석 달기를 위해 가장 정보가 풍부한 질문을 선택함으로써 인간 노력을 줄이는 것을 목표로 한다.
  • CoT 주석에 대해 높은 가치를 가진 질문을 식별하기 위한 불확실성 기반 지표를 제안한다.
  • 태스크 특화 주석 예제를 사용해 여덟 개의 복잡한 추론 벤치마크에서 최첨단 성능을 보여준다.

제안 방법

  • 질문당 여러 답변을 생성하고 불확실성을 계산하기 위해 k-shot 프롬프트를 사용한다.
  • 새로운 CoT 예시를 사람 주석으로 생성하기 위해 상위-n개의 불확실한 질문을 선택한다(합리와 정답 포함).
  • 새로 주석된 예시를 테스트 프롬프트 앞에 배치하고 추론 중에 자기일관성을 적용한다.
  • 불확실성 지표(불일치, 엔트로피, 분산, 자기확신)를 여러 가지 실험에 사용해 효과를 연구한다.
  • 8개 데이터셋에서 Active-Prompt를 CoT, Self-Consistency, Auto-CoT, Random-CoT 베이스라인과 비교한다.
  • 풀 크기, 제로샷 설정, 주석가의 영향 등을 분석해 강건성을 검증한다.

실험 결과

연구 질문

  • RQ1불확실성 기반 CoT 예시 선택이 주석 비용을 줄이면서 추론 성능을 유지하거나 향상시킬 수 있는가?
  • RQ2CoT 프롬 prompting에서 가장 정보가 풍부한 질문 식별에 가장 적합한 불확실성 지표는 어떤 것인가?
  • RQ3Active-Prompt가 산술, 일반상식, 기호 추론 태스크에서 기존 베이스라인과 비교해 어떤 성능을 보이는가?
  • RQ4풀 사이즈와 주석가 변이가 Active-Prompt의 효과에 어떤 영향을 주는가?

주요 결과

  • Active-Prompt (Disagreement) 및 Active-Prompt (Entropy)가 여덟 개 데이터셋에서 최첨단 성능을 달성한다.
  • 평균적으로 불확실성 기반 선택을 가진 Active-Prompt가 Self-Consistency보다 7.0% (text-davinci-002), 1.8% (code-davinci-002) 우수하다.
  • Disagreement 및 Entropy가 효과적인 불확실성 지표이며, Self-Confidence는 이 설정에서 성능이 떨어진다.
  • 제로샷 Active-Prompt는 몇-shot 변형과 경쟁력이 있어 초기 예시 의존도가 감소함을 시사한다.
  • Random-CoT은 Active-Prompt보다 못하며 불확실성 기반 질문 선택의 가치를 확인한다.
  • 풀 크기 분석은 불확실성 추정에 대해 k가 약 10까지 커지면 정확도가 향상됨을 보인다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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