Breaking Language Barriers in Multilingual Mathematical Reasoning: Insights and Observations

Nuo Chen, Zinan Zheng, Ning Wu, Ming Gong, Dongmei Zhang +1 more
10/31/2023
81 citations
cs.CLcs.AI

Official code: microsoft/MathOctopus (49 stars, Python, MIT, last commit 2024-07-29). 1 more implementation below.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
microsoft/MathOctopusOfficial49PythonMIT2024-07-29
nuochenpku/MathOctopusCommunity5Python–2023-11-09
MIT

This repository contains resources for accessing the official benchmarks, codes, and checkpoints of the paper: "[**Breaking Language Barriers in Multilingual Mathematical Reasoning: Insights and Observations**]".

496Python, ShellOct 25, 20232 years agoMIT
llm-training

This is the project of the paper: Breaking Language Barriers in Multilingual Mathematical Reasoning: Insights and Observations

50Python, ShellOct 14, 20233 years ago

Similar Papers

Cite this paper

@article{chen2023breaking,
  title  = {Breaking Language Barriers in Multilingual Mathematical Reasoning: Insights and Observations},
  author = {Nuo Chen and Zinan Zheng and Ning Wu and Ming Gong and Dongmei Zhang and Jia Li},
  year   = {2023},
  eprint = {2310.20246},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.20246v5}
}

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/2310.20246.svg)](https://codeofpaper.com/paper/2310.20246)

Discussion