Papers › WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced...

WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instruct

18 Aug 2023arXiv:2308.09583archive 2025-07-28

Haipeng Luo, Qingfeng Sun, Can Xu, Pu Zhao, JianGuang Lou, Chongyang Tao, Xiubo Geng, QIngwei Lin, Shifeng Chen, Yansong Tang, Dongmei Zhang

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

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.09583")

Code

Syntology Ran 10 of 16 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 8 ran with no contract checked.

By repository: named in the paper: 16 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

nlpxucan/wizardlm mentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 10 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
8ran
6unverified

Licence: 16 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from nlpxucan/WizardLM. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

createBreadthPrompt nlpxucan/WizardLM/Evol_Instruct/breadth.py named in the paper ran fingerprinted no licence file found · pointer only · 410f51b076230435 · report
createConcretizingPrompt nlpxucan/WizardLM/Evol_Instruct/depth.py named in the paper ran fingerprinted no licence file found · pointer only · d28ba5ece582e599 · report
createConstraintsPrompt nlpxucan/WizardLM/Evol_Instruct/depth.py named in the paper ran · our draft was wrong fingerprinted no licence file found · pointer only · e549385d87bbf8ef · report
createDeepenPrompt nlpxucan/WizardLM/Evol_Instruct/depth.py named in the paper ran fingerprinted no licence file found · pointer only · 7a497b34ae3bc6e2 · report
extract_text nlpxucan/WizardLM/WizardCoder/src/mbpp_gen.py named in the paper ran · our draft was wrong fingerprinted no licence file found · pointer only · 7a733b18081436f3 · report
generate_prompt nlpxucan/WizardLM/WizardLM/src/inference_wizardlm.py named in the paper ran fingerprinted no licence file found · pointer only · 0bd14db8e7b2cb18 · report
generate_prompt nlpxucan/WizardLM/WizardCoder/src/humaneval_gen.py named in the paper ran fingerprinted no licence file found · pointer only · e8a51ca7c61c54e2 · report
generate_prompt nlpxucan/WizardLM/WizardCoder/src/inference_wizardcoder.py named in the paper ran fingerprinted no licence file found · pointer only · 0773321052909441 · report
generate_prompt nlpxucan/WizardLM/WizardCoder/src/mbpp_gen.py named in the paper ran fingerprinted no licence file found · pointer only · 13dc99a819a4f615 · report
preprocess nlpxucan/WizardLM/WizardLM/src/train_freeform.py named in the paper ran no licence file found · pointer only · 51c01dd0d033f660 · report
call_chatgpt nlpxucan/WizardLM/Evol_Instruct/openai_access.py named in the paper unverified no licence file found · pointer only · 55025d9bb2011c5a · report
evaluate nlpxucan/WizardLM/WizardLM/src/inference_wizardlm.py named in the paper unverified no licence file found · pointer only · 8f1e18f0c59b59be · report
evaluate nlpxucan/WizardLM/WizardCoder/src/inference_wizardcoder.py named in the paper unverified no licence file found · pointer only · e03723b85938f4f0 · report
get_model nlpxucan/WizardLM/WizardCoder/src/humaneval_gen.py named in the paper unverified no licence file found · pointer only · fcb999210417b348 · report
get_oai_completion nlpxucan/WizardLM/Evol_Instruct/openai_access.py named in the paper unverified no licence file found · pointer only · 9aa01a80f5634d81 · report
main nlpxucan/WizardLM/WizardLM/src/infer_wizardlm13b.py named in the paper unverified no licence file found · pointer only · e7c8e0d548af8b2f · report

Tasks

Arithmetic ReasoningGSM8KMathMath Word Problem SolvingMathematical Reasoning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Arithmetic Reasoning GSM8K WizardMath-7B-V1.1 Accuracy 83.2 #54 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K WizardMath-7B-V1.1 Parameters (Billion) 7 #54 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K WizardMath-70B-V1.0 Accuracy 81.6 #64 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K WizardMath-70B-V1.0 Parameters (Billion) 70 #64 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K WizardMath-13B-V1.0 Accuracy 63.9 #113 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K WizardMath-13B-V1.0 Parameters (Billion) 13 #113 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K WizardMath-7B-V1.0 Accuracy 54.9 #128 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K WizardMath-7B-V1.0 Parameters (Billion) 7 #128 of 164 Archive leaderboard report
Math Word Problem Solving MATH WizardMath-7B-V1.1 Accuracy 33.0 #85 of 135 Archive leaderboard report
Math Word Problem Solving MATH WizardMath-7B-V1.1 Parameters (Billions) 7 #85 of 135 Archive leaderboard report
Math Word Problem Solving MATH WizardMath-70B-V1.0 Accuracy 22.7 #99 of 135 Archive leaderboard report
Math Word Problem Solving MATH WizardMath-70B-V1.0 Parameters (Billions) 70 #99 of 135 Archive leaderboard report
Math Word Problem Solving MATH WizardMath-13B-V1.0 Accuracy 14.0 #110 of 135 Archive leaderboard report
Math Word Problem Solving MATH WizardMath-13B-V1.0 Parameters (Billions) 13 #110 of 135 Archive leaderboard report
Math Word Problem Solving MATH WizardMath-7B-V1.0 Accuracy 10.7 #115 of 135 Archive leaderboard report
Math Word Problem Solving MATH WizardMath-7B-V1.0 Parameters (Billions) 7 #115 of 135 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionAttention DropoutBPECosine AnnealingDense ConnectionsDropoutGPT-3GPT-4Label SmoothingLayer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections