[논문 리뷰] Mathify: Evaluating Large Language Models on Mathematical Problem Solving Tasks
이 논문은 NCERT에서 나온 MathQuest를 소개하고 NCERT 스타일 문제에 대해 미세조정된 LLM들(MAmmoTH, LLaMA-2, WizardMath)을 벤치마크하며, 실험 모델들 중에서 MAmmoTH-13B가 최고의 성능을 보인다.
The rapid progress in the field of natural language processing (NLP) systems and the expansion of large language models (LLMs) have opened up numerous opportunities in the field of education and instructional methods. These advancements offer the potential for tailored learning experiences and immediate feedback, all delivered through accessible and cost-effective services. One notable application area for this technological advancement is in the realm of solving mathematical problems. Mathematical problem-solving not only requires the ability to decipher complex problem statements but also the skill to perform precise arithmetic calculations at each step of the problem-solving process. However, the evaluation of the arithmetic capabilities of large language models remains an area that has received relatively little attention. In response, we introduce an extensive mathematics dataset called "MathQuest" sourced from the 11th and 12th standard Mathematics NCERT textbooks. This dataset encompasses mathematical challenges of varying complexity and covers a wide range of mathematical concepts. Utilizing this dataset, we conduct fine-tuning experiments with three prominent LLMs: LLaMA-2, WizardMath, and MAmmoTH. These fine-tuned models serve as benchmarks for evaluating their performance on our dataset. Our experiments reveal that among the three models, MAmmoTH-13B emerges as the most proficient, achieving the highest level of competence in solving the presented mathematical problems. Consequently, MAmmoTH-13B establishes itself as a robust and dependable benchmark for addressing NCERT mathematics problems.
연구 동기 및 목표
- 고등학생 수학에서 LLM의 산술 및 다단계 추론 평가 개선 동기를 부여한다.
- 다양한 도메인을 포괄하는 NCERT 파생 수학 문제 데이터셋 MathQuest를 만든다.
- 데이터 확장 Math-401 데이터를 통한 LLM 미세조정이 다른 데이터셋의 성능에 미치는 영향을 평가한다.
- MathQuest 및 다른 벤치마크에서 LLaMA-2, WizardMath, MAmmoTH 등의 모델에 대한 기준선 설정과 비교를 한다.
제안 방법
- 14개 도메인과 223개 샘플을 갖춘 NCERT 기반 수학 문제 코퍼스인 MathQuest를 구성한다.
- 추가 산술 문제를 SymPy를 통해 기존 Math-401 데이터셋에 보강하여 다양성을 증가시킨다.
- QLora를 사용한 4비트 양자화와 LoRA 어댑터를 이용해 LLaMA-2, WizardMath, MAmmoTH 세 가지 LLM 패밀리를 미세조정한다.
- AdamW로 10 에폭 학습하고 학습률 3e-4로 train/val/test 분할(241,600 / 30,200 / 30,200)로 훈련한다.
- 미세조정 전후 GSM-8K, DeepMind, NumGLUE, SimulEq, Math-401* 및 MathQuest에서 정확도(정확일치)를 평가한다.
- 규모 효과를 평가하기 위해 7B와 13B 변형을 비교한다.

실험 결과
연구 질문
- RQ1NCERT 파생 수학 문제가 현재의 오픈 소스 LLM(7B/13B)을 어떻게 도전하는가?
- RQ2증강 수학 데이터셋(Math-401)으로 LLM을 미세조정하면 NCERT 스타일 문제에서 어떤 이득이 있는가?
- RQ3어떤 모델과 크기가 MathQuest 및 다른 벤치마크에서 고등학교 수준의 수학 문제 해결에 가장 잘 대응하는가?
주요 결과
- MAmmoTH-13B가 미세조정 후 MathQuest에서 테스트된 모델 중 가장 높은 정확도(24.0%)를 달성.
- 13B 모델이 일반적으로 미세조정 후 벤치마크 전반에서 7B 대비 우수.
- MathQuest는 다른 데이터셋보다 더 큰 도전을 제시하여 미세조정 후 전반적인 정확도가 낮게 나타남.
- 모든 모델이 미세조정 후 상당한 정확도 향상을 보이며, 미세조정 전 대비 결과가 개선.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.