Pith

open record

sign in

arxiv: 2412.12609 · v1 · pith:JDW4Y75R · submitted 2024-12-17 · cs.CL

MultiLingPoT: Enhancing Mathematical Reasoning with Multilingual Program Fine-tuning

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 reserved pith:JDW4Y75Rrecord.jsonopen to challenge →

classification cs.CL
keywords languagemultilingpotprogrammingreasoningdifferentlanguagesmathematicalmultilingual
0
0 comments X
read the original abstract

Program-of-Thought (PoT), which aims to use programming language instead of natural language as an intermediate step in reasoning, is an important way for LLMs to solve mathematical problems. Since different programming languages excel in different areas, it is natural to use the most suitable language for solving specific problems. However, current PoT research only focuses on single language PoT, ignoring the differences between different programming languages. Therefore, this paper proposes an multilingual program reasoning method, MultiLingPoT. This method allows the model to answer questions using multiple programming languages by fine-tuning on multilingual data. Additionally, prior and posterior hybrid methods are used to help the model select the most suitable language for each problem. Our experimental results show that the training of MultiLingPoT improves each program's mathematical reasoning by about 2.5\%. Moreover, with proper mixing, the performance of MultiLingPoT can be further improved, achieving a 6\% increase compared to the single-language PoT with the data augmentation.Resources of this paper can be found at https://github.com/Nianqi-Li/MultiLingPoT.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.