atlas

Research map / Large language models / Instruction and fine-tuning

Longer Context, Deeper Thinking: Uncovering the Role of Long-Context Ability in Reasoning

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning for reasoning data · 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.

Shows that extending a model's long-context capacity (via RoPE theta scaling or model merging with a 1M-context model) before reasoning SFT improves math and cross-domain reasoning accuracy, and proposes a long-context-first recipe for reasoning fine-tuning.

Problem

Whether a model's long-context capacity limits its reasoning ability, and whether improving long-context ability before reasoning SFT improves downstream reasoning performance.

Approach

Treats long-context capacity as a controllable variable: varies RoPE theta scaling or merges a base model with a 1M-context model to obtain models with identical SFT data but different long-context strength, then measures post-SFT reasoning accuracy and proposes extending context before reasoning SFT.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Scale RoPE theta by 16 before SFT (ablation)LLaMA3-8B-Instruct · MATH500accuracy (Avg): 54.80 -> 59.36Helped
Scale RoPE theta by 16 before SFT (ablation)LLaMA3-8B-Instruct · AIME22-24accuracy (Avg): 2.89 -> 5.45Helped
Scale RoPE theta by 16 before SFT (ablation)LLaMA3-8B-Instruct · GSM8Kaccuracy (Avg): 84.73 -> 86.01Helped
Increase RoPE theta scaling from ×16 to ×32 (ablation)LLaMA3-8B-Instruct · MATH500accuracy (Avg): 59.36 -> 57.90Hurt
Increase RoPE theta scaling from ×16 to ×64 (ablation)LLaMA3-8B-Instruct · AIME22-24accuracy (Avg): 5.45 -> 3.89Hurt
Fine-tune on long rather than short reasoning samples (ablation)LLaMA3-8B-Instruct with RoPE theta ×16 · MATH500accuracy: 54.40 -> 64.32Helped
Scale RoPE by 16 before training (ablation)LLaMA3-8B-Instruct · GPQAaccuracy after training: 37.27 -> 41.92Helped
Scale RoPE by 16 before training (ablation)LLaMA3-8B-Instruct · Livecodeaccuracy after training: 25.34 -> 32.27Helped
Scale RoPE by 16 before training (ablation)LLaMA3-8B-Instruct · MMLU-STEMaccuracy after training: 71.06 -> 74.27Helped
Scale RoPE by 16 before training (ablation)Phi-4 · MATH500accuracy after training: 88.62 -> 89.90Helped
Add RoPE theta ×16 before SFT (ablation)Qwen2.5-Math-7B-Instruct · MATH500accuracy (Avg): 85.04 -> 88.20Helped
Add RoPE theta ×16 before SFT (ablation)Qwen2.5-Math-7B-Instruct · AIME22-24accuracy (Avg): 15.00 -> 26.67Helped

Surprising findings

Limitations

Experimental setup

Datasets: OpenR1-Math-220K OpenThoughts3-1.2M NuminaMath-CoT DeepMath-103K

Benchmarks: MATH500 AIME22-24 GSM8K GPQA LiveCodeBench MMLU-STEM Needle-in-a-Haystack LongBench RULER

Metrics: pass@1(5) accuracy needle-in-a-haystack accuracy average output length

Baselines: RoPE theta x1 DeepSeek-R1-Distill-Qwen-7B OpenR1-Qwen-7B OpenThinker-7B

Builds on: YaRN NTK scaling Position Interpolation

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