paper-with-me

홈 › Papers

ChatGLM-Math: Improving Math Problem-Solving in Large Language Models with a Self-Critique Pipeline

2024-04-03 · Yifan Xu, Xiao Liu, Xinghan Liu, Zhenyu Hou, Yueyan Li, Xiaohan Zhang, Zihan Wang, Aohan Zeng, Zhengxiao Du, Wenyi Zhao, Jie Tang, Yuxiao Dong

Large language models (LLMs) have shown excellent mastering of human language, but still struggle in real-world applications that require mathematical problem-solving. While many strategies and datasets to enhance LLMs' mathematics are developed, it remains a challenge to simultaneously maintain and improve both language and mathematical capabilities in deployed LLM systems.In this work, we tailor the Self-Critique pipeline, which addresses the challenge in the feedback learning stage of LLM alignment. We first train a general Math-Critique model from the LLM itself to provide feedback signals. Then, we sequentially employ rejective fine-tuning and direct preference optimization over the LLM's own generations for data collection. Based on ChatGLM3-32B, we conduct a series of experiments on both academic and our newly created challenging dataset, MathUserEval. Results show that our pipeline significantly enhances the LLM's mathematical problem-solving while still improving its language ability, outperforming LLMs that could be two times larger. Related techniques have been deployed to ChatGLM\footnote{\url{https://chatglm.cn}}, an online serving LLM. Related evaluation dataset and scripts are released at \url{https://github.com/THUDM/ChatGLM-Math}.

📄 PDF Abstract BibTeX arXiv:2404.02893

Code (3)

thudm/chatglm-math 공식 구현
MS-P3/code5/tree/main/chatglm3 mindspore
MS-P3/code5/tree/main/chatglm4 mindspore

Tasks

MathMathematical Problem-Solving

Similar Papers 제목 키워드 기반

ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools

2024-06-18 · Team GLM, :, Aohan Zeng, Bin Xu 외

We introduce ChatGLM, an evolving family of large language models that we have been developing over time. This report primarily focuses on the GLM-4 language series, which includes GLM-4, GLM-4-Air, and GLM-4-9B. They re…

AllGSM8KHumanEvalInstruction Following+2

SciInstruct: a Self-Reflective Instruction Annotated Dataset for Training Scientific Language Models

2024-01-15 · Dan Zhang, Ziniu Hu, Sining Zhoubian, Zhengxiao Du 외

Large Language Models (LLMs) have shown promise in assisting scientific discovery. However, such applications are currently limited by LLMs' deficiencies in understanding intricate scientific concepts, deriving symbolic …

MathMathematical Reasoningscientific discovery

Measuring Mathematical Problem Solving With the MATH Dataset

2021-03-05 · Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora 외

Many intellectual endeavors require mathematical problem solving, but this skill remains beyond the capabilities of computers. To measure this ability in machine learning models, we introduce MATH, a new dataset of 12,50…

MathMathematical Problem-SolvingMathematical ReasoningMath Word Problem Solving+1

MathAttack: Attacking Large Language Models Towards Math Solving Ability

2023-09-04 · ZiHao Zhou, Qiufeng Wang, Mingyu Jin, Jie Yao 외

With the boom of Large Language Models (LLMs), the research of solving Math Word Problem (MWP) has recently made great progress. However, there are few studies to examine the security of LLMs in math solving ability. Ins…

Adversarial AttackGSM8KMath

MathOdyssey: Benchmarking Mathematical Problem-Solving Skills in Large Language Models Using Odyssey Math Data

2024-06-26 · Meng Fang, Xiangpeng Wan, Fei Lu, Fei Xing 외

Large language models (LLMs) have significantly advanced natural language understanding and demonstrated strong problem-solving abilities. Despite these successes, most LLMs still struggle with solving mathematical probl…

BenchmarkingMathMathematical Problem-SolvingMathematical Reasoning+1