scimeatlas

Research map / Large language models / Reasoning and chain of thought

To Code or not to Code? Adaptive Tool Integration for Math Language Models via Expectation-Maximization

Haozhe Wang, Long Li, Chao Qu, Fengming Zhu, Weidi Xu, Wei Chu, Fangzhen Lin

ACL 2025Large language models › Reasoning and chain of thoughtapproach: Efficient and adaptive thinkingopen problems in this approach29 citations (OpenAlex)

Hong Kong University of Science and Technology · INFLY TECH

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
6improved
2no clear effect
2hurt

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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply AutoCode EM training to Qwen-2.5-Base-7BQwen-2.5-Base-7B · MATH500Pass@1 accuracy (%): 60.4 -> 71.4Improved
apply AutoCode EM training to Qwen-2.5-Base-7BQwen-2.5-Base-7B · AIME24Pass@1 accuracy (%): 13.2 -> 22.6Improved
apply AutoCode EM training to Qwen2Math-Base-7BQwen2Math-Base-7B · MATH500Pass@1 accuracy (%): 48.80 -> 61.86Improved
apply AutoCode EM training to DeepseekMath-Instruct-7BDeepseekMath-Instruct-7B · MATH500Pass@1 accuracy (%): 51.00 -> 63.32Improved
apply AutoCode EM training to Qwen-2.5-Base-7BQwen-2.5-Base-7B · OlympiadBenchPass@1 accuracy (%): 30.37 -> 32.6Improved
use RL directly from the base model without SFT (ablation)Qwen-2.5-Base-7B · held-out dev settraining efficiency / code invocation rate: code invocation rate below 5%Hurt
apply standard RL after SFT instead of the EM method (ablation)Qwen-2.5-Base-7B · held-out dev setPass@1 accuracyNo clear effect
SFT alone on public data (ablation)Qwen-2.5-Base-7B · held-out dev setPass@1 accuracyNo clear effect
let models choose code vs CoT themselves instead of explicit code promptDeepseekMath-Instruct-7B · AutoCode mode analysisaccuracy: -11.54%Hurt
let AutoCode4Math-Qwen2.5 choose code vs CoT itself instead of explicit code promptAutoCode4Math-Qwen2.5 · AutoCode mode analysisaccuracy: +7%Improved

Open problems in efficient and adaptive thinking

How long should a reasoning model think, and when should it stop?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy