atlas

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

Teaching Language Models to Reason with Tools

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Efficient and adaptive thinking · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CoRT, a post-training framework that teaches large reasoning models to use code interpreters efficiently via hint-engineering data synthesis (30 human-annotated samples), SFT, rejection fine-tuning, and GRPO-based RL with a code-execution penalty.

Problem

Large reasoning models make errors and inefficiencies on complex mathematical computation, and naively integrating code interpreters causes conflicts between internal probabilistic reasoning and external deterministic outputs, leading to unproductive deliberation; training data for such code-integra

Approach

Hint-engineering inserts targeted hints at decision points in reasoning traces (when the model starts manual complex calculation, and to stop distrust of code output) rather than a single generic prompt hint, yielding short, efficient code-integrated trajectories from very few samples; RL is then applied to smaller models with a persistent Jupyter-like environment, output masking, and a code-failu

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply hint-engineering SFT and RFTDeepSeek-R1-Distill-Qwen-32B · five mathematical benchmarksaverage accuracy: 81.3%Helped
Apply prompt-hint SFTDeepSeek-R1-Distill-Qwen-32B · five mathematical benchmarksaverage accuracy: 81.8%Helped
Add RL after SFT1.5B tool-integrated models · five mathematical benchmarksaverage accuracy: approximately 8% absolute gainHelped
Add code execution reward with penalty=0.1 (ablation)Prompt-Hint-1.5B RL · AIME24accuracy: 37.9% versus 43.1%Helped
Add code execution reward with penalty=0.1 (ablation)Hint-Engineering-1.5B RL · AIME24accuracy: 38.3% versus 41.0%Helped
Increase code reward penalty from 0.1 to 0.5 (ablation)1.5B RL models · AIME24accuracy: 41.4%Hurt
Increase RL training data from 1K to 5K or 20K samples (ablation)1.5B RL models · AIME24optimal accuracyNo clear effect
Train on hard queries (avg@8=1/8) instead of easy or uniform queries (ablation)1.5B RL models · AIME24peak accuracyHelped
Change topic distribution from uniform to hard-query topics (ablation)1.5B RL models · AIME24optimal accuracyNo clear effect
Use SFT instead of the base model (ablation)1.5B Prompt-Hint and Hint-Engineering models · AIME24 and MATH500-Level5Pass@k upper boundNo clear effect
Add hint-engineering to guide early computation and trust code resultstool-integrated reasoning models · AIME24token usage: approximately 5000 tokens reductionHelped
Use hint-engineering rather than Prompt-Hint32B tool-integrated models · AIME24token usage: 7K vs 14KHelped

Surprising findings

Limitations

Experimental setup

Datasets: STILL-3 NuminaMath-1.5 AIME (pre-2024)

Benchmarks: AIME24 AIME25 AMC23 MATH500 OlympiadBench

Metrics: pass@1 (avg@16 / avg@4) token usage Pass@k

Baselines: DeepSeek-R1-Distill-Qwen-32B QwQ-32B o3 o4-mini STILL-3-TOOL-32B START-32B ReTool-R1-32B DeepScaleR-1.5B-Preview ToRL-1.5B Prompt-Hint-SFT-32B

Builds on: DeepSeek-R1 GRPO START STILL-3 ToRA

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