Skip to main content
QUICK REVIEW

[논문 리뷰] ExpertPrompting: Instructing Large Language Models to be Distinguished Experts

Benfeng Xu, Yang An|arXiv (Cornell University)|2023. 05. 24.
Topic ModelingComputer Science인용 수 51
한 줄 요약

이 논문은 ExpertPrompting을 도입하여 프롬프트에 자동으로 생성된 전문가 정체성을 더해 LLM으로부터 더 높은 품질의 전문가 스타일 응답을 이끌어내고, 전문가 강화 대화형 에이전트인 ExpertLLaMA를 학습시켜 ChatGPT의 능력의 약 96%에 도달한다.

ABSTRACT

The answering quality of an aligned large language model (LLM) can be drastically improved if treated with proper crafting of prompts. In this paper, we propose ExpertPrompting to elicit the potential of LLMs to answer as distinguished experts. We first utilize In-Context Learning to automatically synthesize detailed and customized descriptions of the expert identity for each specific instruction, and then ask LLMs to provide answer conditioned on such agent background. Based on this augmented prompting strategy, we produce a new set of instruction-following data using GPT-3.5, and train a competitive open-source chat assistant called ExpertLLaMA. We employ GPT4-based evaluation to show that 1) the expert data is of significantly higher quality than vanilla answers, and 2) ExpertLLaMA outperforms existing open-source opponents and achieves 96\% of the original ChatGPT's capability. All data and the ExpertLLaMA model will be made publicly available at \url{https://github.com/OFA-Sys/ExpertLLaMA}.

연구 동기 및 목표

  • 전문가형 프롬프트를 통한 지시 준수 품질 향상을 촉진한다.
  • 문맥 학습(in-context learning)을 통해 각 지시에 대한 상세한 전문가 정체성을 자동으로 생성하는 방법을 개발한다.
  • 전문가 보강 데이터를 학습한 오픈소스 전문가 강화 채팅 모델(ExpertLLaMA)을 만들고 공개한다.

제안 방법

  • 각 지시 q에 대해 k 개의 예시를 사용한 맥락 학습(in-context learning)으로 전문화된 전문가 정체성 e_q를 생성한다.
  • 전문가 정체성에 LLM을 조건화: a_q = LLM(e_q, q)로 더 높은 품질의 답변 ~ã를 생성한다.
  • 전문가 보강 데이터 ã를 사용하여 오픈 LLM(LLaMA 7B)으로 ExpertLLaMA 채팅 어시스턴트를 학습시킨다.
  • ã 대 a를 비교하는 GPT-4 기반 자동 평가로 데이터 품질을 평가한다.
  • GPT-4 기반 판단으로 오픈소스 베이스라인 및 ChatGPT와의 ExpertLLaMA를 비교한다.
  • 재현성을 위해 데이터와 모델을 공개한다.

실험 결과

연구 질문

  • RQ1ExpertPrompting이 일반 프롬프트보다 더 높은 품질의 전문가-강화 답변을 생성하는가?
  • RQ2전문가-강화 데이터로 학습된 오픈소스 모델이 ChatGPT와 같은 폐쇄형 시스템의 성능에 근접할 수 있는가?
  • RQ3GPT-4 기반 평가에서 ExpertLLaMA가 다른 오픈소스 채팅 어시스턴트와 비교하여 어떤가?

주요 결과

  • ExpertPrompting은 일반 프롬프트보다 더 길고 더 포괄적인 답변을 산출한다(평균 답변 길이로 확인).
  • GPT-4 기반 평가에서 전문-강화 답변이 일반 답변보다 48.5%의 샘플에서 선호되며 일반은 23%로, 품질이 더 높음을 시사한다.
  • ExpertLLaMA는 Alpaca, Vicuna 및 LLaMA-GPT4 기반 베이스라인을 능가하며 평가에서 ChatGPT의 약 96%의 능력을 달성한다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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