Research map / Large language models / Agents, code and math
Python is Not Always the Best Choice: Embracing Multilingual Program of Thoughts
Xianzhen Luo, Qingfu Zhu, Zhiming Zhang, Libo Qin, Xuanyu Zhang, Qing Yang, Dongliang Xu, Wanxiang Che
Harbin Institute of Technology · Central South University · Du Xiaoman (Beijing) Science Technology Co
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use MultiPoT (five languages) instead of Python Self-Consistency | ChatGPT · five-task average | accuracy: 72.80 -> 77.35 | Improved |
| use MultiPoT instead of Python Self-Consistency | Starcoder · five-task average | accuracy: 50.18 -> 53.85 | Improved |
| use MultiPoT instead of best monolingual SC | Code Llama · five-task average | accuracy: 66.14 -> 66.24 | Improved |
| use MultiPoT instead of Python SC on Math | Deepseek Coder · Math (SC) | accuracy: 37.64 (Python) vs 37.55 | No clear effect |
| replace Python with R for PoT (greedy) | ChatGPT · Date | accuracy: 46.61 -> 55.01 | Improved |
| replace Python with R for PoT (greedy) | ChatGPT · Math | accuracy: 39.74 -> 34.86 | Hurt |
| replace JavaScript with Java in the three-language MultiPoT (add static type) (ablation) | MultiPoT · five-task average (Starcoder) | accuracy: 50.41 -> 51.87 | Improved |
| change tie-break ordering from cumulative probability to length, random or data amount (ablation) | MultiPoT · five-task average | accuracy: Starcoder 53.85 vs 53.16-53.71 | No clear effect |
| add more programming languages to MultiPoT (ablation) | MultiPoT · Starcoder and Deepseek Coder | accuracy | Improved |
| use Code Llama Python (Python-specific model) in place of base (ablation) | MultiPoT · five-task average | accuracy: 66.24 -> 64.65 | Hurt |
| use MultiPoT instead of CoT Self-Consistency | Deepseek Coder v2 · Tabular | accuracy: 91.28 -> 98.66 | Improved |
| use MultiPoT instead of CoT Self-Consistency | Deepseek Coder v2 · Date | accuracy: 82.38 -> 80.22 | Hurt |
Open problems in mathematical and structural reasoning benchmarks
Which reasoning benchmarks hold up beyond one language, text-only prompts and one judge model?
- Benchmarks cover one language or a few high-resource ones. · 25 papers state it
- Evaluation and inference cost more than the plain baseline. · 12 papers state it
- Tasks are text-only, with no images, audio or other modalities. · 11 papers state it
Closest papers by meaning
- MultiLingPoT: Boosting Mathematical Reasoning in LLMs through Multilingual Program Integration (EMNLP 2025 · similarity 0.89)
- Towards Better Understanding of Program-of-Thought Reasoning in Cross-Lingual and Multilingual Environments (ACL 2025 · similarity 0.89)
- PolyMath: Evaluating Mathematical Reasoning in Multilingual Contexts (NeurIPS 2025 · similarity 0.86)
- Once Upon an Input: Reasoning via Per-Instance Program Synthesis (NeurIPS 2025 · similarity 0.85)
- AdaMCoT: Rethinking Cross-Lingual Factual Reasoning Through Adaptive Multilingual Chain-of-Thought (AAAI 2026 · similarity 0.85)
- Reasoning Transfer for an Extremely Low-Resource and Endangered Language: Bridging Languages Through Sample-Efficient Language Understanding (AAAI 2026 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.