Papers › Breaking Language Barriers in Multilingual Mathematical Reasoning: Insights and Observations

Breaking Language Barriers in Multilingual Mathematical Reasoning: Insights and Observations

31 Oct 2023arXiv:2310.20246archive 2025-07-28

Nuo Chen, Zinan Zheng, Ning Wu, Ming Gong, Dongmei Zhang, Jia Li

Existing research predominantly focuses on developing powerful language learning models (LLMs) for mathematical reasoning within monolingual languages, with few explorations in preserving efficacy in a multilingual context. To bridge this gap, this paper pioneers exploring and training powerful Multilingual Math Reasoning (xMR) LLMs. Firstly, by utilizing translation, we construct the first multilingual math reasoning instruction dataset, MGSM8KInstruct, encompassing ten distinct languages, thus addressing the issue of training data scarcity in xMR tasks. Based on the collected dataset, we propose different training strategies to build powerful xMR LLMs, named MathOctopus, notably outperform conventional open-source LLMs and exhibit superiority over ChatGPT in few-shot scenarios. Notably, MathOctopus-13B reaches 47.6% accuracy which exceeds ChatGPT 46.3% on MGSM testset. Beyond remarkable results, we unearth several pivotal observations and insights from extensive experiments: (1) When extending the rejection sampling strategy to the multilingual context, it proves effective for model performances, albeit limited. (2) Employing parallel corpora for math Supervised Fine-Tuning (SFT) across multiple languages not only significantly enhances model performance multilingually but also elevates their monolingual performance. This indicates that crafting multilingual corpora can be regarded as a vital strategy for enhancing model performance in a specific language, especially in mathematical reasoning tasks. For instance, MathOctopus-7B improves its counterparts that trained on English from 42.2% to 50.8% on GSM8K testset. Codes are available at https://github.com/microsoft/MathOctopus.

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="2310.20246")

Code

Syntology Ran 7 of 11 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 7 ran with no contract checked.

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

microsoft/MathOctopus officialmentioned in papermentioned on GitHubpytorchMIT report
laihuiyuan/mcot mentioned 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

11 samples harvested; 7 ran; 0 honoured the contract we drafted; 4 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.

7ran
4unverified

Licence: 0 of the 11 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 microsoft/MathOctopus. “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.

generate microsoft/MathOctopus/step1_supervised_finetuning/prompt_eval.py official repository ran MIT (permissive) · 451c619b9609c3c0 · report
generate_constrastive_search microsoft/MathOctopus/step1_supervised_finetuning/prompt_eval.py official repository ran MIT (permissive) · 385922750eb70702 · report
get_batch_llama microsoft/MathOctopus/step1_supervised_finetuning/generate_and_eval.py official repository ran MIT (permissive) · 2e064bd50d861c4d · report
get_eval_ds_config microsoft/MathOctopus/utils/ds_utils.py official repository ran MIT (permissive) · 7f4bdf1898ad0544 · report
get_train_ds_config microsoft/MathOctopus/utils/ds_utils.py official repository ran MIT (permissive) · 311aba0a9b717df8 · report
gsm8k_batch_gen microsoft/MathOctopus/step1_supervised_finetuning/generate_and_eval.py official repository ran MIT (permissive) · 52f51e3b99457a09 · report
only_optimize_lora_parameters microsoft/MathOctopus/utils/module/lora.py official repository ran MIT (permissive) · e617041853afd002 · report
get_model microsoft/MathOctopus/step1_supervised_finetuning/generate_and_eval.py official repository unverified MIT (permissive) · 016d55f875a4163a · report
get_tokenizer microsoft/MathOctopus/utils/utils.py official repository unverified MIT (permissive) · c791912844fe37e5 · report
load_hf_tokenizer microsoft/MathOctopus/utils/utils.py official repository unverified MIT (permissive) · 4573c4150d38e483 · report
to_device microsoft/MathOctopus/utils/utils.py official repository unverified MIT (permissive) · 387b9e6c4f21dd62 · report

Tasks

GSM8KMathMathematical Reasoning

Datasets

Introduced by this paper, per the archive.

MGSM8KInstructMSVAMP

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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