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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 11 code samples harvested from 1 repository linked to this paper: 8 ran (of which 0 constructed an object rather than computing a result; 7 with no instrument failure: 0 honoured, 0 violated, 7 with no contract checked; 1 where Syntology's instrument failed) · 3 unverified. Where Syntology's instrument failed: 1 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 11 samples from 1 repository, 8 ran (7 with no instrument failure; 1 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-24 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

microsoft/MathOctopus officialmentioned in papermentioned on GitHubpytorchMITSyntology: 11 samples, 8 ran (1 instrument-failed) · 3 unverified report
laihuiyuan/mcot mentioned on GitHubpytorchSyntology: not harvested 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: 8 ran (of which 0 constructed an object rather than computing a result; 7 with no instrument failure: 0 honoured, 0 violated, 7 with no contract checked; 1 where Syntology's instrument failed) · 3 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · our draft was wrong
7ran
3unverified

Licence: 3 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. For 3 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. 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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

microsoft/MathOctopus official repository 11 samples, 8 ran (1 instrument-failed) · 3 unverified
generate in 143 papers
census: 5 implementations from 6 papers, 5 distinct outputs across 4 buckets, one shared input per bucket
step1_supervised_finetuning/prompt_eval.py ran MIT (permissive) here; the stored copy is pointer only · 451c619b9609c3c0 · report fixture: signature model:callable/0/?, tokenizer:MockTokenizer/0/?, inputs:MockInputs/0/?, num_beams:int/0/int, num_beam_groups:int/0/int, do_sample:bool/0/bool, num_return_sequences:int/0/int, max_new_tokens:int/0/int · returned list · level recorded 2026-09-24
generate_constrastive_search in 5 papers step1_supervised_finetuning/prompt_eval.py ran MIT (permissive) here; the stored copy is pointer only · 385922750eb70702 · report fixture: signature model:callable/0/?, tokenizer:StandInTokenizer/0/?, inputs:StandInInputs/0/?, top_k:int/0/int, penalty_alpha:float/0/float, num_return_sequences:int/0/int, max_new_tokens:int/0/int · returned list · level recorded 2026-09-24
get_batch_llama step1_supervised_finetuning/generate_and_eval.py ran MIT (permissive) · 2e064bd50d861c4d · report fixture: returned function · level recorded 2026-09-24
get_eval_ds_config in 20 papers utils/ds_utils.py ran MIT (permissive) · 7f4bdf1898ad0544 · report fixture: signature offload:bool/0/bool, stage:int/0/int · returned dict · level recorded 2026-09-24
get_train_ds_config in 9 papers utils/ds_utils.py ran MIT (permissive) · 311aba0a9b717df8 · report fixture: signature offload:bool/0/bool, stage:int/0/int, enable_hybrid_engine:bool/0/bool, inference_tp_size:int/0/int, release_inference_cache:bool/0/bool, pin_parameters:bool/0/bool, tp_gather_partition_size:int/0/int, max_out_tokens:int/0/int · returned dict · level recorded 2026-09-24
gsm8k_batch_gen step1_supervised_finetuning/generate_and_eval.py ran MIT (permissive) · 52f51e3b99457a09 · report fixture: signature lang_:str/0/str, gsm8k_questions:list/1/str, batch_llm:callable/0/? · returned tuple · level recorded 2026-09-24
only_optimize_lora_parameters in 10 papers utils/module/lora.py ran · our draft was wrong MIT (permissive) here; the stored copy is pointer only · e617041853afd002 · report fixture: signature model:callable/0/? · returned LoRAModel · level recorded 2026-09-24
to_device in 75 papers utils/utils.py ran MIT (permissive) · 387b9e6c4f21dd62 · report fixture: signature batch:dict/0/?, device:str/0/str · returned dict · level recorded 2026-09-26
get_model in 368 papers step1_supervised_finetuning/generate_and_eval.py unverified MIT (permissive) · 016d55f875a4163a · report
get_tokenizer in 156 papers utils/utils.py unverified MIT (permissive) · c791912844fe37e5 · report
load_hf_tokenizer in 10 papers utils/utils.py unverified MIT (permissive) · 4573c4150d38e483 · 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