TL;DR
Standard supervised fine-tuning (SFT) forces large language models to uniformly memorize every token in a reasoning chain, which inadvertently suppresses alternative valid paths and reduces output diversity. By using counterfactual perturbations to identify and train exclusively on "critical tokens"—the less than 12% of tokens truly indispensable for correctness—Critical Token Fine-tuning (CFT) consistently outperforms standard SFT in accuracy, test-time scaling, and reinforcement learning initialization.
What Problem Does This Paper Address?
When adapting pre-trained LLMs to complex reasoning tasks like mathematics, the standard paradigm is Supervised Fine-Tuning (SFT). SFT optimizes the model using a maximum likelihood objective that uniformly penalizes deviations on all tokens in a training response.
However, the authors argue that this uniform supervision is fundamentally flawed. In any reasoning chain, many tokens are functionally replaceable (e.g., choosing between "calculate" or "determine"), while only a small subset of critical tokens actually dictates the correctness of the final answer. Forcing the model to strictly mimic non-critical tokens causes "mode collapse," eroding the pre-trained model's natural generation diversity and limiting its ability to generalize to out-of-domain problems.
Methods
The authors introduce Critical Token Fine-tuning (CFT), a selective-update framework that isolates and trains only on functionally indispensable tokens.
The core of CFT is a counterfactual perturbation process used to discover these critical tokens:
- Filter Correct Responses: The model generates answers using greedy decoding, and only correctly solved instances ($D_{correct}$) are kept.
- Perturb and Rollout: For each token in a correct sequence, CFT replaces it with its 2nd and 3rd most probable alternative tokens.
- Verify Necessity: The model greedily decodes the remainder of the sequence from that perturbed token. If all alternative paths lead to an incorrect final answer, the original token is marked as critical ($ct = 1$). If any alternative path still yields the correct answer, the token is deemed replaceable ($ct = 0$).
To make this computationally viable, the authors implement a parallel decoding strategy that evaluates all token positions simultaneously, achieving a >25× speedup over sequential rollouts. During fine-tuning, the standard cross-entropy loss is masked so that gradients are only calculated and updated for tokens where $ct = 1$.
Datasets
- Training: The primary training corpus is the GSM8K training set (math word problems).
- Evaluation: The models are evaluated across 11 mathematical benchmarks of varying difficulty: GSM8K, MATH, SVAMP, ASDiv, MAWPS, CARP_En, TabMWP, Minerva Math, Gaokao2023En, OlympiadBench, and College Math.
- Domain Generalization: To test applicability beyond mathematics, the authors also evaluate on MedQA, a multiple-choice dataset from medical board exams.
Key Insights and Ideas
- Reasoning is Sparse: Across all evaluated models (Qwen, LLaMA, OLMo), the proportion of critical tokens remains consistently low, ranging from just 6.7% to 11.6%.
- Numbers Need Context: While numbers dominate the critical token pool (accounting for over 80% in Qwen2.5-7B), training exclusively on numeric tokens (SFT-Number or CFT-Number) degrades performance compared to full CFT. Lexical cues and words provide indispensable structural support in a reasoning chain.
- Preserving Entropy Powers Exploration: Because CFT removes training pressure from replaceable tokens, it preserves the model's natural token-distribution entropy. This prevents the model from converging prematurely during subsequent Reinforcement Learning (RL) stages, providing a superior initialization checkpoint for algorithms like GRPO.
Key Results
- Consistent Accuracy Gains: Despite updating less than 12% of tokens, CFT consistently outperforms standard SFT across five different models from three model families. For instance, CFT achieved a +6.4% average accuracy boost over SFT on Qwen2.5-7B across the 11 benchmarks.
- Enhanced Test-Time Scaling: CFT-trained models exhibit superior Pass@N performance. Because the diversity of non-critical tokens is preserved, sampling multiple outputs at inference time explores the solution space much more effectively than SFT counterparts.
- Cross-Domain Generalization: On the MedQA dataset, CFT achieved a +3.4% improvement under full fine-tuning, proving that the counterfactual perturbation strategy successfully translates to multiple-choice and knowledge-intensive tasks.
Limitations and Future Work
The primary limitation acknowledged by the authors is CFT's current reliance on structured tasks with verifiable outcomes (like math answers or multiple-choice keys). Applying CFT to unstructured, highly creative tasks—such as storytelling or open-ended essay writing—remains an open challenge due to the inherent ambiguity and flexibility of what constitutes a "correct" continuation. Future work will focus on extending critical token identification to these subjective domains.
Summary updated