Skip to main content
QUICK REVIEW

[논문 리뷰] WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct

Haipeng Luo, Qingfeng Sun|arXiv (Cornell University)|2023. 08. 18.
Topic ModelingComputer Science인용 수 27
한 줄 요약

tldr: WizardMath는 Reinforcement Learning from Evol-Instruct Feedback (RLEIF)로 학습된 오픈 소스 Llama-2–기반 모델로 GSM8k와 MATH에서 최첨단 수학 추론을 달성하여 이 벤치마크에서 많은 오픈 소스 모델과 일부 클로즈 소스 모델들을 능가합니다.

ABSTRACT

Large language models (LLMs), such as GPT-4, have shown remarkable performance in natural language processing (NLP) tasks, including challenging mathematical reasoning. However, most existing open-source models are only pre-trained on large-scale internet data and without math-related optimization. In this paper, we present WizardMath, which enhances the mathematical CoT reasoning abilities of LLMs without using external python tools, by applying our proposed Reinforcement Learning from Evol-Instruct Feedback (RLEIF) method to the domain of math. Through extensive experiments on two mathematical reasoning benchmarks, namely GSM8k and MATH, we reveal the extraordinary capabilities of our model. Remarkably, WizardMath-Mistral 7B surpasses top-tier open-source LLMs by a substantial margin with higher data efficiency. Furthermore, WizardMath 70B even outperforms GPT-3.5-Turbo, Claude 2, Gemini Pro and GPT-4-early-version. Additionally, our preliminary exploration highlights the pivotal role of instruction evolution and process supervision in achieving exceptional math performance. For more details refer to https://github.com/nlpxucan/WizardLM

연구 동기 및 목표

  • LLM에서 더 나은 오픈 소스 수학적 추론의 필요성을 제고합니다.
  • Evol-Instruct, 지시 보상 모델링, 프로세스-감독 보상을 결합한 새로운 학습 프레임워크(RLEIF)를 제안합니다.
  • 오픈 소스 및 일부 클로즈 소스 모델과 비교하여 GSM8k와 MATH에서 최첨단 성능을 시연합니다.

제안 방법

  • 단계별 수학 해법을 포함한 지도 학습 지시 이행 데이터로 Llama-2를 미세 조정합니다.
  • 다양하고 점진적으로 더 어렵거나 쉬운 수학 지시를 생성하는 Evol-Instruct를 개발합니다(하향 진화와 상향 진화).
  • 지시 품질을 위한 지시 보상 모델(IRM)과 각 단계 풀이 피드백을 위한 프로세스-감독 보상 모델(PRM)을 두 개를 훈련합니다.
  • 강화 학습을 수행하기 위해 최종 보상 r = rI × rA를 사용한 Proximal Policy Optimization(PPO)을 Evol-Instruct 데이터로 적용합니다.

실험 결과

연구 질문

  • RQ1RLEIF 및 Evol-Instruct 기반 데이터 증강이 오픈 소스 LLM의 수학적 추론을 향상시켜 기본 오픈 소스 모델을 능가할 수 있는가?
  • RQ2WizardMath가 GSM8k 및 MATH에서 폐쇄 소스 및 다른 오픈 소스 모델과 비교해 어떤 성능을 보이는가?
  • RQ3RLEIF 프레임워크 하에서 모델 크기(7B, 13B, 70B) 확장이 GSM8k 및 MATH 성능에 어떤 영향을 미치는가?

주요 결과

  • WizardMath 70B는 GSM8k에서 81.6 pass@1을 달성했으며, 기본값 56.8에 비해 +24.8만큼 향상되었습니다.
  • WizardMath 70B는 MATH에서 22.7 pass@1을 달성했으며, 기본값 13.5에 비해 +9.2만큼 향상되었습니다.
  • WizardMath 13B는 GSM8k에서 63.9 pass@1을 달성했으며, 기본값 28.7에 비해 +35.2만큼 향상되었습니다.
  • WizardMath 13B는 MATH에서 14.0 pass@1을 달성했으며, 기본값 3.9에 비해 +10.1만큼 향상되었습니다.
  • WizardMath 7B는 GSM8k에서 54.9 pass@1을 달성했으며, 기본값 51.6에 비해 +3.3만큼 향상되었고, MATH에서는 10.7을 달성하여 기본값 2.9에 비해 +7.7만큼 향상되었습니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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