atlas

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

The First Few Tokens Are All You Need: An Efficient and Effective Unsupervised Prefix Fine-Tuning Method for Reasoning Models

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning for reasoning data · 1 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 UPFT, an unsupervised fine-tuning method that trains only on the first few tokens (as few as 8) of single sampled responses, plus a small fraction of full-trace unsupervised SFT, matching supervised RFT at a fraction of the cost.

Problem

Improving LLM reasoning typically requires labeled data or costly sampling-and-filtering (rejection sampling fine-tuning), which is expensive and needs ground-truth verification.

Approach

Observes "prefix self-consistency": solution trajectories for the same question share initial reasoning tokens, and errors concentrate in later steps. Fine-tunes only on short prefixes of one unfiltered sample per question (plus a small share of full unsupervised traces for structure), removing the need for labels or rejection sampling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train on prefixes instead of full generated solutionsQwen2.5-Math-7B-Instruct with U-Hard, unsupervised sampling · Average across benchmarksaccuracy: 51.3 -> 54.5Helped
Train on prefixes instead of full generated solutionsQwen2.5-Math-7B-Instruct with U-Hard, unsupervised sampling · AIME2024accuracy: 16.7 -> 26.6Helped
Train on prefixes instead of full generated solutionsDeepSeek-R1-Distill-Qwen-7B with U-Hard, unsupervised sampling · Average across benchmarksaccuracy: 56.4 -> 61.6Helped
Train on prefixes instead of full generated solutionsDeepSeek-R1-Distill-Qwen-7B with U-Hard, unsupervised sampling · AIME2024accuracy: 36.7 -> 50.0Helped
Train on prefixes rather than RFT-selected full solutionsQwen2.5-Math-7B-Instruct, supervised sampling · Average across benchmarksaccuracy: 52.6 vs. 52.6No clear effect
Train on prefixes rather than RFT-selected full solutionsLlama-3.1-8B-Instruct, supervised sampling · Average across benchmarksaccuracy: 38.3 vs. 38.5No clear effect
Train on prefixes rather than RFT-selected full solutionsDeepSeek-R1-Distill-Qwen-7B, supervised sampling · Average across benchmarksaccuracy: 57.2 -> 58.7Helped
Add label filtering to UPFTLlama-3.1-8B-Instruct · Average across benchmarksaccuracy: 38.3 -> 38.8Helped
Add label filtering to UPFTDeepSeek-R1-Distill-Qwen-7B · Average across benchmarksaccuracy: 58.7 -> 58.8No clear effect
Use an 8-token prefix (ablation)UPFT with Llama-3.1-8B-Instruct · MATH500 test setaccuracy: 52.0%Helped
Vary prefix length from 8 to 32 tokens (ablation)UPFT with Qwen2.5-Math-7B-Instruct · MATH500 test setaccuracy: 8 to 32 tokensNo clear effect
Increase the structure tuning ratio up to 10% (ablation)UPFT with Llama-3.1-8B-Instruct and Qwen2.5-Math-7B-Instruct · MATH500 test setaccuracy: p=10%Helped

Surprising findings

Limitations

Experimental setup

Datasets: PRM800K-derived MATH problems (PRM-12K) OpenMathInstruct2 (OMI2-600K) LIMO U-Hard

Benchmarks: GSM8K MATH500 AIME2024 GPQA Diamond

Metrics: accuracy average accuracy sampling tokens tuning tokens

Baselines: SFT RFT V-STaR Label Filter

Builds on: rejection sampling fine-tuning STaR V-STaR LIMO Omni-MATH

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