Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correction

Xiaoyuan Li, Wenjie Wang, Moxin Li, Junrong Guo, Yang Zhang +1 more
6/2/2024
cs.CLcs.AIcs.LG

Official code: LittleCirc1e/EIC (9 stars, last commit 2024-05-24).

Abstract

The rapid advancement of Large Language Models (LLMs) in the realm of mathematical reasoning necessitates comprehensive evaluations to gauge progress and inspire future directions. Existing assessments predominantly focus on problem-solving from the examinee perspective, overlooking a dual perspective of examiner regarding error identification and correction. From the examiner perspective, we define four evaluation tasks for error identification and correction along with a new dataset with annotated error types and steps. We also design diverse prompts to thoroughly evaluate eleven representative LLMs. Our principal findings indicate that GPT-4 outperforms all models, while open-source model LLaMA-2-7B demonstrates comparable abilities to closed-source models GPT-3.5 and Gemini Pro. Notably, calculation error proves the most challenging error type. Moreover, prompting LLMs with the error types can improve the average correction accuracy by 47.9\%. These results reveal potential directions for developing the mathematical reasoning abilities of LLMs. Our code and dataset is available on https://github.com/LittleCirc1e/EIC.

View on arXivView PDF

Code Implementations(1)

LittleCirc1e/EICOfficial100%

This is the repository of Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correction.

91PythonMay 22, 20242 years ago

Cite this paper

@article{li2024evaluating,
  title  = {Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correction},
  author = {Xiaoyuan Li and Wenjie Wang and Moxin Li and Junrong Guo and Yang Zhang and Fuli Feng},
  year   = {2024},
  eprint = {2406.00755},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.00755v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.00755.svg)](https://codeofpaper.com/paper/2406.00755)

Discussion